TV202 Prosper202 Tracking202 Export202 WorldProxy202 Meetup202 | Blog Forum Newsletter Twitter | Advertise
Login · Register
Home About Docs Scripts Blog Forums Hosting Donate Download
Before Posting, Have You Read the FAQ? And Have You Searched? If Not Please Do!

Attn: The 202 Support Forum will now be revised
Within the next few weeks the Tracking202 Support Forum will be revised. Some threads will be shut down or reorganized. New rules will be put in place to accommodate those who need help. The 202 team wants to make the forum a more user friendly place for new and old affiliates. We want to make this forum a place for affiliates to help each other be successful.

landing page script

Post new topic Reply to topic Prosper202 Forum Index » Tracking202 Pro General Discussions
New Posts Search Forum
Author Message
justtrack


Joined: Oct 25th, 2009
Posts: 11

Post Posted: Nov 1st, 2009 at 12:00pm Post subject: landing page script Reply with quote

Hi,

I placed the following code before the body in my landing page (index.html):

<script src="//sp1.tracking202.com/lp/uilw821798x2r1v" type="text/javascript"></script>

I'd like to prevent tracking202 from placing a new cookie in case the user reloads the index page, or in case the user goes to another page in my site and then comes back to the index page. The reason is that otherwise I cannot tracking the KW and ad from which the user arrived to my site.

What is the best way to achieve my goal?

One alternative I considered is having a copy of index.html, called index2.html, which does not contain the above script. Then I can direct all current links to index.html to index2.html instead, besides the destination URL. Is that a good solution?

Thanks

Back to top
SteveG
Website


[ Moderator ]

Joined: Jun 13th, 2008
Posts: 118

Post Posted: Nov 2nd, 2009 at 3:23am Post subject: Re: landing page script Reply with quote

Are you sure it's dropping a new cookie?

Back to top
justtrack


Joined: Oct 25th, 2009
Posts: 11

Post Posted: Nov 2nd, 2009 at 5:51am Post subject: Re: landing page script Reply with quote

Once I refresh there is a different number value for the cookie called t202proSubid

Back to top
T202Lex
AIM


Joined: Mar 30th, 2009
Posts: 265

Post Posted: Nov 2nd, 2009 at 8:23pm Post subject: Re: landing page script Reply with quote

Hi Justtrack,

Go ahead and try this as your Java script code, it should make it so your t202cookie doesn't get placed more than once.

<? if (empty($_COOKIE['t202proSubid'])) { ?><!-- 202pro JS here --><? } ?>

Thanks SteveG for checking it out.

Hope this helps,

Alex

Back to top
justtrack


Joined: Oct 25th, 2009
Posts: 11

Post Posted: Nov 4th, 2009 at 8:59am Post subject: Re: landing page script Reply with quote

It works, thanks!

Back to top
T202Lex
AIM


Joined: Mar 30th, 2009
Posts: 265

Post Posted: Nov 4th, 2009 at 3:41pm Post subject: Re: landing page script Reply with quote

No problem!

Back to top
Post new topic Reply to topic Page 1 of 1

Creative Commons License This work (Prosper202, Tracking202 and Export202) is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.