Home > Google Analytics > Google Analytics Track Events Not Working

Google Analytics Track Events Not Working

Contents

Do they affect credit score? This is the sku code for a given product. The code I have is: onClick="_gaq.push(['_trackEvent', 'SOU Links', 'Click', 'Top edu banner']);" The site URL is http://sou.wpengine.com/. utmhn=x343.gmodules.com utmhid A random number used to link Analytics GIF requests with AdSense. http://searchwebmedia.com/google-analytics/google-analytics-events-not-working.html

Browse other questions tagged javascript google-analytics event-tracking outbound or ask your own question. But no event is shown in realtime view.In firebug network tab, thereis only thehttp://www.google-analytics.com/analytics.js file loaded an no further requests is send to one of googles domains.I now tried it on Here's a sample page I'm trying to track a link (at the bottom: "Buy Who was Ghandi?"): http://ourhomeschoolforum.com/reviews/history-geography/who-was-ghandi/ Here's the code on the page: script (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', Common Tracking Code Errors Whether you are using the asynchronous or traditional syntax, keep in mind the following to avoid the most common errors when you customize or adjust the tracking https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingTroubleshooting

Google Analytics Debug

It is probably the simplest way to use ga_debug.js is to troubleshoot and analyze tracking behavior for your website. Last updated January 26, 2016. To make sure that you have correctly associated a goal to a given campaign or referral, do the following: Click on a referral to your site—this sets the campaign cookies. Not the answer you're looking for?

I keep clicking the button, even from different computers just to make sure it isn't excluding my IP address. Change the date to be today in GA - you might also need to wait some time before it appears in GA share|improve this answer edited Nov 15 '13 at 10:49 Please click the link in the confirmation email to activate your subscription. Google Analytics Debugger Firefox They have it like so: Play –Andrew Sep 9 '13 at 19:32 add a comment| 4 Answers 4 active oldest votes up vote 7

events google-analytics jquery analytics.js share|improve this question edited Apr 24 '13 at 17:03 Charles 40.3k1069108 asked Apr 1 '13 at 13:05 squeezemylime 7523922 I too am facing the same Ga Send Event Not Working utmtto=334.56 utmttx Tax. Ensure that the utmp parameter is present. http://stackoverflow.com/questions/36037748/google-analytics-event-tracking-not-working So instead of including the usual snippet in your tag, use the following code: script tracker = ga.create('UA-XXXXXXX-1', 'example.com'); tracker.send('pageview'); Then you call the event tracking code

Google Analytics uses the value of the utmp parameter as the page requested, so if your page URL is /test/myPage.html, make sure you are looking for myPage.html in the Content reports. Google Analytics Stopped Working I know!).  If you set it to False, the triggering of the event will generally ensure that the visitor does not get counted as a "Bounce" even if this is the For convenience, we have developed the Google Analytics Tracking Code Debugger, which helps you to troubleshoot tracking code issues without requiring coding changes on your part. If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

Ga Send Event Not Working

If you are migrating from the traditional syntax, any function parameter that was passed in without quotation marks should remain unquoted in the asynchronous syntax. https://www.en.advertisercommunity.com/t5/Google-Analytics-Code/Universal-Analytics-Event-Tracking-Not-Working-in-FireFox/td-p/500862 Verify the tracking code doesn't contain any of the common tracking code errors. Google Analytics Debug Chrome Built-in Developer Tools (e.g. Google Analytics Tracking Code Not Working But in this case there is no page change.

But since the event is neither tracked, if I click on the image/teaser-text (JS click event), nor on the title (just a normal a-click event), I don't think it has to weblink May I ask how you found the second GA code (UA-76641-35)? This seems to be one of these case in which you should accept that you solved a problem without knowing how! Why do most microwaves open from the right to the left? Google Analytics Command Ignored. Unknown Target: Undefined

I just inspected your site and I see there are two different GA Codes there UA-4XXXX45-1 UA-7XXXXX1-35 It also might be the case of not working because you have two different It was related with blocked Google Analytics requests. Do not show your UA-XXXX-## code or anything else that you don't want broadcast to the entire forum. navigate here share|improve this answer answered Apr 3 '13 at 10:48 Petr Havlik 2,52611217 Actually to fix it I just reverted to the Classic Analytics...I tried this code and it didn't

There must be something "off" with your setup... Google Analytics Debug Android For some reason it does not seem to be working. Here is an example of only a part of a GIF request: http://www.google-analytics.com/__utm.gif?utmwv=4&utmn=769876874&utmhn=example.com&utmcs=ISO-8859-1&utmsr=1280x1024&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r115&utmcn=1&utmdt=GATC012%20setting%20variables&utmhid=2059107202&utmr=0&utmp=/auto/GATC012.html?utm_source=www.gatc012.org&utm_campaign=campaign+gatc012&utm_term=keywords+gatc012&utm_content=content+gatc012&utm_medium=medium+gatc012&utmac=UA-30138-1&utmcc=__utma%3D97315849.1774621898.1207701397.1207701397.1207701397.1%3B...

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

This will determine if the problem is a complication within your nav markup or if it's something in your event setup itself.If the problem persists regardless of where/how the event is Our Client Has Allowed Us To Share Theirs [Case Study] Customer Service: Are You Exceeding Expectations, Or Just Making Things Right? So when you attach an event to a click that brings the user to another page, that acknowledgement can't be sent because the browser has left the page and dropped the Google Analytics Campaign Tracking Not Working Setting the transport method to 'beacon' lets the hit be sent * using 'navigator.sendBeacon' in browser that support it. */ var trackOutboundLink = function(url) { ga('send', 'event', 'outbound', 'click', url, {

Save your draft before refreshing this page.Submit any pending changes before refreshing this page. It does this by printing messages to the window.console object. I added the following rule:if (window.GoogleAnalyticsObject) {// Detected prev GA script__myGa = window[window.GoogleAnalyticsObject];} else {// Default initalization of my __myGa} Reply 0 Likes 0 Likes FULL REPLY EDITOR Re: Universal Analytics his comment is here Everything is setup and working (pageviews, referrals, etc.) using the following code snippet: script (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39570713-1', 'site.com'); ga('send', 'pageview'); That is located before the

But not under Events in Content section. I found the great article and want to share it with you:http://veithen.github.io/2015/01/24/outbound-link-tracking.html Reply 0 Likes 0 Likes FULL REPLY EDITOR Re: Universal Analytics Event Tracking Not Working in FireFox Douglas W Happy Tracking If you're new to Events Tracking, I encourage you to start thinking of ways it can be useful to you and then go and implement!  If you've been using Success!

It's called Tag Assistant (Google). utmp=/testDirectory/myPage.html utmr Referral, complete URL. This domain ID is inserted in the tracking code, which is how data from a page gets associated with a given account. For example: large, medium, small, pink, white, black, green.

Either utmcn or utmcr is present on any given request. Not the answer you're looking for? Update your page(s) with the Events Tracking code and call up the page in your browser.  In another tab, call up Google Analytics for that website and click on Real-Time in However, today, im using a Visual Tracking tool, SO i dont need JavaScript anymore: http://www.weelytics.com.

Reply 0 Likes 0 Likes FULL REPLY EDITOR All Forum Topics Previous Topic Next Topic English Deutsch Español Français Italiano Polski Português Русский 日本語 简体中文 ©2016 GoogleGoogle Privacy Policy Terms of Label (optional) – We get a little more specific here.  If the Category is an overall group of things, Label is the individual item in that group.  So in this example,