forum

Home / DeveloperSection / Forums / Find Out the URL of the webpage that image resides on

Find Out the URL of the webpage that image resides on

Anonymous User 1789 08-Dec-2014

I would like to make a 1 pixel image that will reside on the html page to track page activity I have a page http:/domain.com/mypage.htm and I want to add <img src='http://www.test.com/myimage.aspx' /> somewhere in its body

 

When page is triggered I render an one pixel transparent image. I'm having an issue finding out the URL of the page that image is on. HTTP_REFERER header carrier the true referer of the page, and HTTP_HOST carries the URL of the image itself.

 

Is there a way to find out the HTML page URL that the image is on?


Updated on 08-Dec-2014
I am a content writter !

Can you answer this question?


Answer

2 Answers

Liked By