Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Question about where to add Google tags snippet


  #1  
Old Jan 24, 2013, 04:33 PM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
I'm trying to avoid using another plugin to do this. I want to add the Google tag snippet and of course it says to add in each page. Can I just add it to the body top under HTML/CSS inserts?
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"
  #2  
Old Jan 24, 2013, 08:15 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
What is the snippet and where do they say it should go.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jan 24, 2013, 10:53 PM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
Google says to place it immediately after the opening <body> tag.



<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-SZ3X"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:''; j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-SZ3X');</script>
<!-- End Google Tag Manager --
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"
  #4  
Old Jan 25, 2013, 05:02 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
Can I just add it to the body top under HTML/CSS inserts?
Quote:
Google says to place it immediately after the opening <body> tag.
Did you try it?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 25, 2013, 06:49 PM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
I did put it in the Body tag, i guess but I guess what I'm asking is whether this covers it for all pages since google says to add it for all pages. This does that, right?
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"
  #6  
Old Jan 25, 2013, 09:26 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Yes it does. Did you put it 'in' the body tag or just after it?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jan 26, 2013 at 04:54 AM.
  #7  
Old Jan 31, 2013, 03:33 AM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
Sorry, I did miss this response. I put it in the Body Tag. I've got no problems so far so I assume i did it right?
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"
  #8  
Old Jan 31, 2013, 05:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you put it in 'HTML Inserts: Body Tag' then it will be part of the <body....> statement and I'd expect you to get an error on the page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Jan 31, 2013, 08:03 AM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
I've actually had it there for several days with no problem. Should it be in Body Top?
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"
  #10  
Old Jan 31, 2013, 10:10 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Jan 31, 2013, 10:53 PM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
It's Hoffbrau Steaks. Thanks
__________________
Sleenie
"Plan your work for today and everyday...then work your plan"
  #12  
Old Feb 1, 2013, 04:35 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Well I see it in the body and am surprised you don't see errors espically in IE. Non the less, I would move it to the 'HTML Inserts: Body Top' option
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 1, 2013 at 04:39 AM.

Bookmarks

Tags
google tags



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Google Analytics Code Snippet Not Being Recognized seo coach New Versions, & Updating 4 Jan 21, 2011 05:28 PM
Where to post code snippet for Google Analytics with this theme? sjolyjuly Atahualpa 3 Wordpress theme 17 Oct 28, 2010 10:15 PM
Meta tags for Google searches cmagwood Atahualpa 3 Wordpress theme 0 Feb 2, 2010 12:40 PM
Quick question regarding shortcode/snippet in header chirop Plugins & Atahualpa 0 Mar 24, 2009 12:16 PM


All times are GMT -6. The time now is 09:42 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.