![]() | | ||||||||
| |||||||
![]() |
| | LinkBack | Thread Tools |
| | #1 |
| Pete Young War Room Member Join Date: Aug 2009 Location: downunder
Posts: 2,163
Blog Entries: 1 Thanks: 367
Thanked 518 Times in 354 Posts
|
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 |
|
• - just chillin.
| |
| | |
| | #2 |
| Father of the Gods War Room Member Join Date: Apr 2008 Location: Valhalla
Posts: 373
Blog Entries: 2 Thanks: 25
Thanked 24 Times in 18 Posts
|
Edit your template, go to Footer.php, and you should see a < /body > tag. Put your code above that.
|
| | |
| | |
| | #3 |
| HyperActive Warrior War Room Member Join Date: Sep 2009
Posts: 168
Thanks: 32
Thanked 25 Times in 22 Posts
|
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(); ?> |
| | |
| | #4 |
| Father of the Gods War Room Member Join Date: Apr 2008 Location: Valhalla
Posts: 373
Blog Entries: 2 Thanks: 25
Thanked 24 Times in 18 Posts
|
I'd put it in between the last </div> and the <?php include(TEMPLATEPATH . '/includes/scripts.php'); ?> It shouldn't affect the appearance of the site, if it does, try somewhere else. There's a plugin that can add it in too, I'm sure. |
| | |
| | |
| | #5 |
| WSOReportCard.com War Room Member Join Date: Jul 2010 Location: Oklahoma, US
Posts: 977
Thanks: 378
Thanked 134 Times in 97 Posts
|
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!
|
| | |
| | |
| | #6 |
| affiliateprogramindex.com Join Date: Jan 2011
Posts: 45
Thanks: 7
Thanked 4 Times in 4 Posts
|
there are widgets that allow you to put code in them
|
| | |
| | #7 |
| WSOReportCard.com War Room Member Join Date: Jul 2010 Location: Oklahoma, US
Posts: 977
Thanks: 378
Thanked 134 Times in 97 Posts
| |
| | |
| | |
| | #8 |
| affiliateprogramindex.com Join Date: Jan 2011
Posts: 45
Thanks: 7
Thanked 4 Times in 4 Posts
| |
| | |
| | #9 |
| WSOReportCard.com War Room Member Join Date: Jul 2010 Location: Oklahoma, US
Posts: 977
Thanks: 378
Thanked 134 Times in 97 Posts
|
Perfect. Thanks!
|
| | |
| | |
| | #10 |
| Senior Warrior Member War Room Member Join Date: Jun 2007 Location: Earth
Posts: 6,061
Blog Entries: 16 Thanks: 72
Thanked 915 Times in 602 Posts
|
Why complicated and limited if it also works easy and with many features? Why not try Google analyticator plugin?
|
| *** Affiliate Site Quick --> The Fastest & Easiest Way to Make Affiliate Sites!<-- -> VISIT www.1UP-SEO.com *** <- Internet Marketing, SEO Tips, Reviews & More!! *** ARTICLE SPINNING SERVICE - Custom Hand-Made QUALITY Spun Articles! - Thread Here * * BEAT the PENGUIN with High Quality Manually Spun Articles - Don't Settle for Less! * | |
| | |
| | #11 |
| WSOReportCard.com War Room Member Join Date: Jul 2010 Location: Oklahoma, US
Posts: 977
Thanks: 378
Thanked 134 Times in 97 Posts
| |
| | |
| | |
| | #12 |
| WSOReportCard.com War Room Member Join Date: Jul 2010 Location: Oklahoma, US
Posts: 977
Thanks: 378
Thanked 134 Times in 97 Posts
|
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 |
| | |
| | |
| | #13 |
| Warrior Member Join Date: Jul 2011
Posts: 16
Thanks: 0
Thanked 4 Times in 4 Posts
|
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. |
| | |
![]() |
|
| Tags |
| adding, adwords, code, conversion, people, tracking, wordpress |
| Thread Tools | |
| |
![]() |