Who Else Wants to Track Marketing Campaigns Using Word Press Blog Landing Pages?

Keep reading and I’ll share with you 3 solutions you can use right now to add your Prosper202 or other JavaScript tracking code to an individual page or post…


If you struggle to put ad tracking code on your word press blog…  You’re not alone.  It can be time consuming and annoying.

Were going to cover the two most popular ways to add your tracking code to your word press blogs first and then get into a new easier solution.

The downside to the two tried and true popular solutions is they’re theme specific… What that means is you can do all the work to get your tracking solution in place… but if you change your theme you’ll need to go back in and fix it again.

If you forget to go back and fix your ad tracking…  When you go to check your stats you got nothing…  That Sucks!


Custom Page Templates

There are a couple of ways to insert your ad tracking code within an individual page.  Custom page templates make sense depending on the code you need to insert, not all tracking code is JavaScript…

You can create a custom page template and add your tracking code to it.  It’s easier then is sounds.

You’ll open up your favorite text editor and paste this code in at the top:

<?php
/*
Template Name: Page Name - Tracking
*/
?>

Make sure you name the template something that makes sense to you in case you decide to make multiple custom theme pages for different word press pages.

Next you copy and paste all the code from your default page theme, typically page.php…  Here are the steps:

  1. Log into your word press dashboard and go to appearance and then editor.
  2. Once in editor find your page.php file and open it up.
  3. Copy all the code from the page.php file.
  4. Paste it into your open text file.
  5. Make sure you save it as a .php file.  You can name it whatever you like, something you’ll remember.
  6. Then upload your new theme template to you’re your existing theme folder.
  7. Edit your landing page in the dashboard and you can select the custom theme with your ad tracking code inserted.

This works well but is time consuming, especially if you have multiple landing pages you want to track.

And by the way, it’s theme specific…  Change your theme and you’ll need to move all your custom page templates to the new theme or they won’t work and you lose all your tracking info.


Using Theme Specific PHP Code…

Another option which works for both pages and posts is to use PHP code in the footer template within your blog theme.  You’ll paste the PHP code above the </body> tag in your footer file.  You can do that in the editor under Appearance.

You’ll need to figure out what your post or page id is…  You do that by editing the page or post and looking at the URL in your browser window…  The id number will be at the end.

Then you can use this PHP code to add your JavaScript tracking code to that page or post:

<?php if(is_single("18")){echo "<script src=\'http://prosper202URL.com/tracking202/
static/landing.php?lpip=XXX\' type=\'text/javascript\'></script>";} ?>

Now this particular JavaScript code is for Propser202, but you can use any JavaScript tracking code.  The number 18 needs to be changed to your page or post id number.

Within the double quotes “ “ you’ll need to paste in your JavaScript tracking code.

Once you add this PHP code to your footer file test your landing page and tracking system to make sure everything works…

The above PHP code originally came from Nicky Cakes blog and was modified slightly by Michael Smith from MetaFever.  Credit where credit is due…

These were pretty much your best options until now…  Not such a bad thing for people that are ok dealing with code… but if your new and not a programmer or not used to dealing with PHP code it can be intimidating.


Copy and Paste Easy…

The Ad Trackr Code Manager plugin allows you to copy and paste your tracking code either globally such is the case with web analytics code or within an individual page or post using Propser202 or other link tracking software.

And a really cool feature is the ability to add Affiliate Prophet Quick Test Code to an individual page or post…

You simply install the plugin like normal…  Upload it via FTP or use the auto-install feature within word press and then activate it.

Here’s a Demonstration of how easy it is to add multiple ad tracking code to your word press blog both globally and within a single page using 3 different tracking solutions:


http://ww2.ad-trackr.com/AdTrackrCodeManager-WP-Plugin.mp4


As you can see, setting up your tracking solution on word press blogs doesn’t get any easier than this.

And the best part is it’s not ad tracking software specific…  You can use most any ad tracking solution with the Ad Trackr Code Manager plugin.


For More Info on the Ad Trackr Code Manager WP pluginClick here

Bookmark and Share