Google Analytics not tracking events - google-analytics

I have the following code setup to track clicks on specific links on a specific page of our site:
My Link Text
These links go to a CGI script which logs users into a given service. The login form also has our Google Analytics tracking code on it.
I have several links like this on my page with different labels. Our CMS puts the Google Analytics universal tracking code below the content of our site. I can't put this in the header.
I've tested it and checked in GA the next day, however it is showing nothing for event stats.
Is there something I'm missing.

Related

Google Analytics using same tracking ID in sub folders

I have a website lets say http://www.example.com which is on shopware and uses google analytics to determine site traffic. I have designed a landing page which is placed at http://www.example.com/landing/index.html. Can I use the same tracking id that I have on other pages on my landing page? Will it appear under all website data section or will it create another automatically?
Actual website is not at example . com its just for reference purpose.
Yes, of course. The Google Analytics web tracker is client side code, it does not really care if your pages have been created by a shop system or by manually entering code somewhere. By the time it is displayed in the browser it's all just HTML.
The data will show up in "All Website data" (which is the only view GA ever creates automatically, everything else you need to set up yourself as needed).

Does Google Analytics by MonsterInsights wordpress plugin insert tracking code automatically or does it just fetch the analytics data?

Here's what I did,
Installed Google Analytics by MonsterInsighs plugin on WordPress
site.
Authenticated and Connected the plugin to use corresponding Google
Analytics Property
I have not manually inserted any tracking code on my site. I am under the impression that the tracking code insertion is (and should be) the task of MonsterInsights plugin. With that strong supposition, I cleared the cache on Site CDN and Site Server to check if the tracking code is inserted. The three verification methods I used are;
Verification through Google Tag Assistant Chrome Plugin
Verification through Google Analytics Debugger Chrome Plugin
Manual Verification by Viewing Page Source
Ther are no errors in the plugin page. None of the methods have indicated the presence of tracking code. You can have a look yourself at https://techmars.org
PS: All of these activities are very recent i.e. It has just been an hour. Does it usually take some waiting? I haven't encountered such a prerequisite anywhere.
MonsterInsights automatically adds the tracking script. It appears to have done so on your site. The only time it would require waiting is if you were to use some sort of page caching that needs to clear for new frontend output tags to show.

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:

Google analytics events tracking stopped working

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)?

What is this "/trackBannerM" that appeared in my Google Analytics site content report?

yesterday this "/trackBannerM" page appeared in my Google Analytics Site Content reports.
This page doesn't exist on my website and there are no broken link pointing to it. I have checked my website logfiles and there are no GET requests for this url.
Do you have any clue on this mistery?
This is most likely some kind of virtual pageview. If you execute:
In Classic Analytics (ga.js)
_gaq.push(['_trackPageview', '/trackBannerM']);
Or in Universal Analytics (analytics.js)
ga('send', 'pageview', '/trackBannerM');
This page will show up in GA even though it doesn't exist. This is called a virtual pageview.
You just have to find out where this call placed and by who. Maybe you are using some kind of widget that injects code in your site and is tracking banners using this method.

Resources