2

Is there a way (either client side or server side) to see who is viewing your website's source code that is generated in the their browser?

3
  • Out of curiosity, why do you want to know?
    – John Conde
    May 27, 2011 at 18:54
  • Curiosity. I want to see who is admiring my work.
    – Jeremy
    May 27, 2011 at 18:55
  • That would be interesting to know.
    – John Conde
    May 27, 2011 at 18:56

2 Answers 2

6

No. This is not currently possible.

1
  • Thought so, but worth a shot.
    – Jeremy
    May 27, 2011 at 18:56
1

I know this is an old uestion, but as John said, it's not possible, because you could (for example) write an app that fetches the page like a browser would, but just displays the results instead of parsing it. To a server, there's no difference between getting a page and viewing the source, as they all make GET calls in the end.

You might not be able to see who is doing it, but you could give someone an incentive to "check in". For example, putting a goo.gl link in the source as a comment, or writing the link to the console. That way if you get hits to that link, you know that someone might be clicking the link (if it's not a crawler).

To add on to that, you could make the link go to a form with a textbox, and tell people in the console or comment to type a specific word in with the promise of showing them something cool or giving them a discount on something.

Not a guarantee, but a fun way for people to let you know that they're looking at your work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.