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!

JS Tracking Code On Wordpress Blog with Multiple Posts

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


Joined: Jan 2nd, 2009
Posts: 11

Post Posted: Oct 17th, 2009 at 2:52am Post subject: JS Tracking Code On Wordpress Blog with Multiple Posts Reply with quote

Hi

I have a blog that get its traffic both from PPC and SEO.

I have used the "if cookie..." code to make the JS code fire once.

The code is located on the bottom of the page near the body tag.

The problem is that from some reason the code is fired at least twice for each visitor.

Google Analytics shows a number that is half from the number prosper displays.

How can I solve it ?

Back to top
Erio
Website Twitter AIM


[ Moderator ]

Joined: Jan 23rd, 2009
Posts: 55

Post Posted: Oct 17th, 2009 at 11:01pm Post subject: Re: JS Tracking Code On Wordpress Blog with Multiple Posts Reply with quote

do you have some kind of refresh thing going on with your blog?

Also, could you possibly have the code twice, like in your footer and in the bottom of your page.php file too? I've never heard of this problem, but that'd be my best guesses.

Back to top
T202Lex


Joined: Mar 30th, 2009
Posts: 352

Post Posted: Oct 22nd, 2009 at 12:52pm Post subject: Re: JS Tracking Code On Wordpress Blog with Multiple Posts Reply with quote

The code is fired automatically so using an "if cookie" will cause the code to fire twice resulting in your problem. It is important to just place the js code as is on your footer, this should resolve the issue.

Thanks,

Alex

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.