Tracking202 and Wordpress

Status
Not open for further replies.

El-Plaga

New member
May 9, 2007
92
1
0
I have searched the forum and also tried what nickycakes blog said do with no luck at all

can someone please help me out with this. really need to figure this out. i will pay for your time.

Thanks in advance
 


What exactly do you need to figure out?

I generally just consider a WordPress page an Advanced Landing Page. I generate Advanced Landing Page JavaScript in T202, place it in the footer of my WP template, then create PHP files with the Advanced Landing Page hoplink code on the WP site and link to those in my posts. (This way I can put them in a subdirectory and block it with robots.txt so as not to send link value on to the affiliate page.)

The WordPress page will get linked to with some T202 parameters on the URL line, but that's okay -- WordPress will ignore them, and the Advanced Landing Page JavaScript will pick them up just fine.

So... what part do you need to figure out? Setting up T202? Editing your WP template? Creating the PHP link files? Creating the links to WP in your PPC ad provider?
 
I want to set different tracking codes for each page, just putting it in the footer will trigger it on every page
 
there are custom fields right in the wordpress posts.

Name it something, plug the code into the bigger box... then call it in the template

$p202 = get_post_meta($post->ID, 'prosper202code', $single = true);

then

<?php echo $p202; ?>
 
That's true. But you can actually stick the tracking JS anywhere you want; if you want a different one for each post/page, then place the code in the actual post/page code instead of the footer. While T202 recommends putting the JS right before the </body> tag, it's not actually required; it'll work anywhere in the body of the page.

The only issue you'll run into is if someone comes onto a page with the tracking code and then begins to bounce around within your WP site to different pages that have different tracking codes. However, when using WP just for landing pages I usually find this is a small enough percentage of viewers that I don't care enough to code around it.
 
omg i am so damn stupid. i put that code in the single post page like 10 times and got errors.

Thanks guys. Im WF's Idiot of the day
 
Status
Not open for further replies.