People using wordpress how are you adding the adwords tracking conversion code ?

by 16 replies
22
I need to add the tracking conversion for adwords to his site, and as i never use word press, can any one enlighten me how to place some tracking script to a page please

It needs to be placed between the body tags of the page, i know it can also go into a script edit / footer box as well as this runs before the end body tag.

We seem to have found a global footer but thats more for the footer text links.

Any Heads Up would be great
Thanks
Pete
#search engine optimization #adding #adwords #code #conversion #people #tracking #wordpress
  • Edit your template, go to Footer.php, and you should see a < /body > tag. Put your code above that.
    • [ 2 ] Thanks
    • [1] reply
    • This is the footer php doesn't appear to have a body tag?

      <div id="footer"><?php _e('Located at','InterPhase'); ?> <a href="http://www. mymemphislawyer.com/location">119 South Main Street Suite 500, Memphis, TN 38103</a> | <?php _e('I am a','InterPhase'); ?> <a href="http://www. mymemphislawyer.com/bankruptcy">debt relief agency I help people file for relief under the bankruptcy code.</a></div>
      <div style="clear: both;"></div>
      </div>

      <?php include(TEMPLATEPATH . '/includes/scripts.php'); ?>
      <?php wp_footer(); ?>
      • [1] reply
  • Anybody know how to put this code on just one page in WP? Tried the method above, and it worked, but now of course it is tracking every page of my site, which is muddying up the results. Thanks in advance!
  • there are widgets that allow you to put code in them
    • [1] reply
    • Do you happen to know of one, and if so, will it allow it to be only on one page? Couldn't find much when googling today. Thanks!
    • [ 1 ] Thanks
    • [1] reply
  • Why complicated and limited if it also works easy and with many features? Why not try Google analyticator plugin?
    • [1] reply
    • Hi Georg,

      Correct me if I am wrong, but the GA plugin is only for Analytics code and not the Adwords conversion tracking code.

  • Actually, I found something that works even better than the above suggestions for anyone with the same question. You can check it out here - Embed Any Video Or HTML Code Into Your Wordpress Blog Site: EmbedIt Plugin
  • I know this is an old thread, but the best way I found to inject code into the head or body is HiFi.

    it is a free wordpress plugin: Head Injection and Foot Injection. The best part is that it is page specific. No need to make new templates or mess with php files.

    This program has been useful for me as I do a/b and adwords testing.
    • [ 4 ] Thanks
    • [3] replies
    • This is exactly what I'm looking for! Awesome =)

      Thank you very much!
    • Cant get much easier than that. I've been building WordPress sites professionally for a couple years now...looks like I've been doing things the hard way with custom page specific code (custom page.php files).

      Thanks for the share!
    • This is an old thread, but this is exactly what I was looking for !!
      THANKS
      • [1] reply
  • [DELETED]

Next Topics on Trending Feed