Bookmark and Share

Author Topic: tracker not working with google analytics  (Read 840 times)

0 Members and 1 Guest are viewing this topic.

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
tracker not working with google analytics
« on: July 27, 2011, 12:46:54 PM »
do any of you guys know anything about building a web page and then having google index it?... i made a site at http://phillipsmusclecarpartsinventory.weebly.com i went to google analytics and used their tracking html in the footer section where it goes on my site and went to google webmaster page and used their meta html in the header section of my page where it goes. the problem is when i go to google analytics to look at my page info it is saying that the tracking is not installed which im fairly sure i put it in the right place. also how long does it take for google to index my site. and if anyone is knowledgable about weg page design ill be more than willing to share the necessary info for you to log into my page and check all the stuff out for yourself. i dont know if this is necessary but my web property id is UA-24794233-1...as always any help is greatly appreciated.

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,779
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: tracker not working with google analytics
« Reply #1 on: July 27, 2011, 12:58:33 PM »
I think it is because you have 2 different ones in there. Get rid of the extra :wink:

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24794233-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-7870337-1']);
  _gaq.push(['_setDomainName', 'none']);
  _gaq.push(['_setAllowLinker', true]);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com


Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
Re: tracker not working with google analytics
« Reply #2 on: July 27, 2011, 01:16:41 PM »
i fixed that issue but it didnt clear up the tracking issue... do you know how to make google analytics recheck the tracker status because i cant figure it out...unless it automatically updates in which case the problem is still there.

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,779
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: tracker not working with google analytics
« Reply #3 on: July 27, 2011, 01:35:47 PM »
You have it in the wrong spot. Need to go right before the </head>

View the source of any of my pages and you'll see how mine is :wink:

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
Re: tracker not working with google analytics
« Reply #4 on: July 27, 2011, 01:41:15 PM »
the problem with that is i am using a sire that gives you a free site and you just design it and they have that tracker there and i dont know how to get into it and move it that was why there were 2 of them because i was putting it where it goes and they had there automated one there. do you know how to fix it ...if you want ill gladly give you my login info and let you have a look.

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,779
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: tracker not working with google analytics
« Reply #5 on: July 27, 2011, 01:49:33 PM »
Since you cant put the code before the head you will need to use their other tracking, which goes at the end before </body>

http://code.google.com/apis/analytics/docs/tracking/gaTrackingOverview.html

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
Re: tracker not working with google analytics
« Reply #6 on: July 27, 2011, 02:04:15 PM »
did that ....still saying tracker not installed on google analytics... i refresh the page everytime to see if it fixes it but not sure if there is some other process to reset GA to get it to recheck the site or if just reloading the page is good enough ...either way its still not working what do you think?

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,779
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: tracker not working with google analytics
« Reply #7 on: July 27, 2011, 02:05:46 PM »
You need to click edit in analytics, when you do you will see a check status on the top right.

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
Re: tracker not working with google analytics
« Reply #8 on: July 27, 2011, 02:11:14 PM »
sweet i see a little green check mark now thanks a lot bud.... also is it true it takes google a long time to index my site ....need potential customers to be able to look up product codes on it asap and to be able to find them via google ya know?

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,779
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: tracker not working with google analytics
« Reply #9 on: July 27, 2011, 02:12:46 PM »
It can take time, but if you setup a sitemap (xml) and use the webmaster tools you can submit the sitemap to google :wink:

But it does take time.

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
Re: tracker not working with google analytics
« Reply #10 on: July 27, 2011, 02:20:05 PM »
lol i dont know the first thing about a sitemap xml or whatever id love to get it done if its a quick fairly easy explaination shoot it my way i did something with the webmaster tools earlier but i think because my tracker wasnt working correctly but now that it is i think it might work better...i had a thought earlier that if you set up a nerd school you could potentially make a lot of money

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,779
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: tracker not working with google analytics
« Reply #11 on: July 27, 2011, 02:25:19 PM »
Just do this for now so the google crawler knows your site is there :wink:

http://www.google.com/addurl/?continue=/addurl

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
Re: tracker not working with google analytics
« Reply #12 on: July 27, 2011, 02:37:55 PM »
did that already so hopefully soon google will get around to my site then ill be in business

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,779
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: tracker not working with google analytics
« Reply #13 on: July 27, 2011, 02:39:18 PM »
Only time will tell.

Good luck bud  :wink:

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline SteveP

  • PcWinTech Full Member
  • **
  • Join Date: Mar 2011
  • Posts: 65
  • Location: Tulsa OK.
  • Karma: +0/-0
  • I deal in 60s and 70s model GM muscle car parts
Re: tracker not working with google analytics
« Reply #14 on: July 27, 2011, 02:42:50 PM »
thanks again bro


 

Related Topics

  Subject / Started by Replies Last post
24 Replies
2893 Views
Last post July 24, 2009, 08:21:38 AM
by Evan
4 Replies
1710 Views
Last post June 21, 2010, 08:06:04 AM
by Shane
2 Replies
1051 Views
Last post August 30, 2010, 04:15:54 PM
by Evan
2 Replies
1772 Views
Last post December 14, 2010, 12:00:14 PM
by Shane
3 Replies
291 Views
Last post February 09, 2012, 03:18:47 PM
by Shane