Amplify Interactive - Portland, Oregon Search Engine Marketing Firm
Connect with Amplify
  • Home
  • Services
    • Pay-Per-Click (PPC)
    • Search Engine Optimization (SEO)
    • Social Media Marketing
    • Web Analytics
  • SEM Resources
    • Whitepapers
    • Presentations
  • Clients
    • Case Studies
    • Testimonials
  • About Us
    • Our Team
    • News
    • Partners
    • Careers
  • Contact
  • Blog

Home / The Search & Social Blog From Amplify Interactive / Tracking Code Placement

Tracking Code Placement

Posted on: 01-19-2009 Posted in: Amplify-Interactive, PPC Posted by: Blu | Email the Author

This post may be a little “101″ for some but it seems inevitable that whenever it comes time to apply multiple tracking codes to a website, something always goes wrong. So, I thought it best to try and shed some light on the subject. If a website has an analytical solution such as Webtrends, Google Analytics, Clicktracks, etc… and is tracking conversions through a pay per click dashboard like Google AdWords and Yahoo Marketing, then some pages are going to need tracking code snippets for each. Not every page but some. Let me explain.

PPC CODE PLACEMENT
Google AdWords and Yahoo Marketing require the snippet of pay per click tracking code to be placed within a different section of a web page. For Google AdWords it is anywhere within the <BODY> section of the conversion web page and for Yahoo Marketing it is anywhere within the <HEAD> section of the conversion web page.

Each engine only requires the pay per click tracking code to be placed on the pre-defined conversion page NOT every page of the Web site. You may have multiple conversions throughout your site, so the code will need to be placed on each conversion page. For example, if the conversion action that you want to track is a form submission, then the conversion page would be the thank_you page users are directed to AFTER they have submitted the form. This is the page (thank_you) that should contain the PPC tracking code NOT the form page.

ANALYTICAL CODE PLACEMENT
Unlike the PPC tracking code, analytical code must be placed on every web page of your site (or at least, every page of your site that you want to track). Now there are many solutions out there however most, if not all, require the code to be placed anywhere within the <BODY> section of the web page. At Amplify we strongly recommend placing the analytical tracking code towards the very bottom of the <BODY> section so the code does not interfere with organic search placement results. The same holds true for any PPC code that is required to exist within the <BODY> section of a Web page.

The only disadvantage of placing the code towards the bottom of the <BODY> section is that if a web page is slow to load and the user backs out before the tracking code is initiated, then that user’s session will not be accounted for. However in most cases this is not a problem and usually only accounts for a small percentage of the total user sessions.

RECAP
Analytical Code = Every Page
PPC Code = Conversion Page(s) Only

*Conversion pages should contain both, the analytical and PPC tracking codes.
Need help with building and managing your PPC campaigns? Talk to us about our PPC  management services.

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered right to you!

About the Author

Blu

Leave a Reply

Click here to cancel reply.

  • @joekerschbaum Definitely, we'd love for you to stop by!
-@AmplifySEM
© 2011 Amplify Interactive | 107 SE Washington St., Suite 305 | Portland, OR 97214 | 503-972-8825
  • About Amplify Interactive
  • Search Engine Marketing Resources
  • Search Engine Marketing Services
  • Contact Amplify Interactive
  • The Search & Social Blog From Amplify Interactive
TwitterStumbleUponRedditDiggdel.icio.usFacebookLinkedIn