lavilla
08-20-2006, 07:20 PM
Don't know if this is possible in HTML or if I would need to use javascript but here goes:
Im looking to track affiliate links. I can use click references so effectively the link will look like:
http://www.awin1.com/tclick.php?id=USER-ID&mid=314&clickref=TRACKING-ID
However, I need an automated way of adding the page URL as the tracking-id, for example if I was on:
http://www.mysite.com/page1.htm
I would want the tracking id to say either clickref=http://www.mysite.com/page1.htm or just clickref=page1.htm.
Is there any way I can do this so it automatically changes depending on the page url?
Im looking to track affiliate links. I can use click references so effectively the link will look like:
http://www.awin1.com/tclick.php?id=USER-ID&mid=314&clickref=TRACKING-ID
However, I need an automated way of adding the page URL as the tracking-id, for example if I was on:
http://www.mysite.com/page1.htm
I would want the tracking id to say either clickref=http://www.mysite.com/page1.htm or just clickref=page1.htm.
Is there any way I can do this so it automatically changes depending on the page url?