Google analytics events tracking stopped working - google-analytics

I'm running a site that has event tracking on various adverts on the index.htm page. This tracking had been working fine but for some reason it's now stopped! The standard analytics info is still being registered (page views etc.). I'm using exactly the same code on other pages within the site and they're working without any problems. I'm pulling my hair it over this one!!
Any ideas???
Here's an example of my tracking code (from within an anchor link):
onclick="pageTracker._trackEvent('Adverts', 'Home Page', 'AXT');"

Many thanks for your interest and pointing me in the right direction Sudar :)
I've managed to get to the bottom of it and you were right - it was the Google Analytics upgrade that has caused the problems. Google have upgraded me without advising so the Event tracking stopped working.
I've grabbed the new analytics code and have changed all the event tracking code for every advert.
This site is quite useful for generating the Event tracking code: http://www.seoweather.com/google-analytics-event-tracking-code-generator/

The way you track custom variables and events changed in Universal tracking. Did you recently upgrade your tracking code to Universal tracking (analytics.js)?

Related

Google Tag Manager for iframe

Does anyone know how to deploy Google Tag Manager succesfully in an Iframe?
I am working on the JavaScript widget for external partners which will be embedded on their websites as an iframe.
I want to track some of the events in my widget with Google Tag Manager which sends collected data to Google Analytics. I went through the whole configuration and set up some of the first triggers and events. For testing purposes, I put my iframe with the source code to my widget on one of the clients' websites. When I use a Google Tag manager for debugging my tags I can see all of my tags being fired and working correctly as they should from that iframe. Unfortunately, when testing it on the website without the debugger, none of the events appear in Google Analytics. Since I am the creator of the widget and I have full control over my source code what could be the reason for those events not being registered to Google Analytics but still being fired in the debugger? I went through the documentation of Google Tag Manager, and it says clearly that I can track my iframe if I have the access to the source code to configure it.
Any help and insight will be very appreciated here, did anyone faced a similar problem, and what could be the possible solution?

Google Tag Manager - preview/debug tracking working vs. regular site doesnt track

I want to set up clicks tracking for button on website, implement tracking for Google Analytics and Facebook Pixel. Everything works well when testing site in Preview/Debug mode of GTM. GA and FB tracks events as planned. I Submitted version in Google Tag Manager and Published it.
Problem is following: Website tracking in normal mode doesnt work, for example website in Incognite mode is not tracked. Where in the Submit/Publish process in GTM could I have made a mistake?
Thanks for help!

How Do I Add Google Analytics in my Blogger Blog?

The blog was created in 2010 or 2011 so I do not remember if it was Classic Template that was used. I tried adding my tracking id in the blog settings. I also tried copying the tracking code in the HTML of my template. That did not work I guess because according to the instructions the tracking code should appear right before the </head> tag. I see the tracking code in my source page but there is a lot of script and css code before the </head> tag.
Normally when I add the tracking code in my Ruby on Rails applications the tracking code is immediately found (or at least it was the last time I implemented tracking). However now my account says "tracking not installed". I wonder since it has been a while if I have to wait for the tracking to be recognized.
Your tracking should be immediate. To check if data is being sent to Analytics you can open developer tools in Chrome and go to the networking tab. You should see something like this:
If you see utm.gif being called then Analytics is receiving data. Unless your unique ID code is wrong.
In Blogger though you shouldn't have to do much, there is a setting in the administration panel just for this (image taken from WikiHow - Google Analytics in Blogger:

Why is Google Analytics In-Page Analytics telling me that the tracking code isn't installed when it clearly is?

I see this problem pop up in a lot of places and asking on Google's product support forums was no help at all, so I turn to you guys. My client has asked me to look into this problem with their In-Page Analytics reporting which turns up the errors:
Your site doesn't load ga.js from Google. If you host the Google
tracking code on your own servers, it isn't updated automatically and
can miss important changes.
We didn't find a tracking snippet on your site. In-Page Analytics
cannot load. Please make sure you have tracking installed correctly.
If your snippet is included in a separate JavaScript file, you'll
have to manually check it is being loaded correctly.
Both of these statements are false. To ensure that it wasn't my original setup that was the problem I installed Yoast's GA plugin (it's a wordpress site) and I still get this error. I've also confirmed that the tracking ID is correct. All other metrics are being reported in GA. This in-page section, however, is the problem.
This is the website, by the way. Any help you have to offer would be greatly appreciated.
http://stoppredatorygambling.org/
How long has it been since the first hit to the property/view? In my experience it takes anywhere from several hours to up to 2 days for that message to go away.

I have google analytics code in my wordpress site and google says it can read the data but no data is being passed ,

I was using a plug-in called analyticator and also had the code pasted in by accident so i took out the extra code and now i still have no data for analytics. If someone could intervene and provide some insight I would appreciate it. My website is at www.knowledgenation.us .
The Google Analytics Tracking Code Debugger extension for Google Chrome is excellent for debugging these kinds of problems.
It will show, in the developer console of Chrome, exactly what analytics calls are triggered by a particular page.

Resources