I give out an embed html code so others can post parts of my website as an iframe. I want to be able to track who has my embed code posted. Is there a way to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Each time you generate the embed-able code, give each person a new GUID.
Embed the GUID inside the embed-able code so that the GUID is passed to your content. You can then log each hit from each GUID for tracking.
UPDATE
Since you’re going to be spreading the embed code virally, I would suggest checking the HTTP_REFERER field in the HTTP header. It should (I believe) contain the URL of the page loading your content.