Does Universal Analytics auto generate events?
-
Hi Mozzers,
I have been noticing for one of my clients that there are thousands of events generating which I never added a code snippet for ga('send', 'event', 'button', 'click', 'nav buttons', 4);. The code I am seeing instead is following the syntax **PDF FILE NAME.**I don't even use Tag Manager.
So are these auto generated? Label names of files aren't great though so I still believe that adding that piece of snippet _ga('send', 'event', 'button', 'click', 'nav buttons', 4);_can still bring some added value. Do you think it still does?
Thanks!
-
Thanks for the details!
-
Nope, as Dirk mentioned, you should probably have a plugin that made this automatically. This is not just a Drupal thing, in Wordpress, the Yoast plugin also makes this.
-
Universal Analytics is not tracking by default (even in Drupal)- it must have been something that has been set up in the Analytics plugin by your Developer.
If made a mistake in my first answer - you should look for Analytics in the source (and not events) - you will notice a bit of code stating:
"googleanalytics":{"trackOutbound":1,"trackMailto":1,"trackDownload":1,"trackDownloadExtensions":"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip","trackDomainMode":"1","trackUrlFragments":1},"field_group":{"fieldset":"full"},"scheduler_settings":{"scheduler_local_storage":1,"ttl":
=> this bit of code is coming from the module and is tracking all downloads of the extensions listed (7z,aac, arc....etc)
Hope this clarifies,
Dirk
-
Hi Dirk,
So this happens only on Drupal ? This confirms that universal analytics doesn't just auto generate events?
I also found all these "event"instances in the source code of the page http://cl.ly/image/1E3p2c051P3E.
Thanks for the 404 heads up!
-
Hi,
I think that you are using the Google Analytics plugin for Drupal - which seems to track events by default (search "event" in the source code).
You might want to correct the pdf download - it's currently generating a 404
Dirk
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Tracking Pop Up Form Submission Events with GTM
Hello, I'm currently tracking contact form submissions any time a user clicks 'Submit' on a pop-up form. Once the form is submitted, the URL of the page remains the same (there is no /thank-you page or such like), hence needing to fire the Event based on a click. Problem is, even if the form is not actually submitted and a user just clicks the Submit button without filling in the fields, the Event will still fire. I know there is a way to ensure the Event ONLY fires when the form is actually submitted for real, but I don't know how to implement that in GTM. Any help most appreciated 🙂 Cheers, Gill.
Reporting & Analytics | | Cannetastic0 -
When I click an outgoing link from Analytics - why are they all broken?
On one of my websites, if I visit the Behavior > Site Content section of Anayltics any link I try to open is broken. Google Analytics is appending the domain before every URL causing it to open in a popup but as a broken link. Example: Trying to click a link to a page on the website at this URL: http://www.thisisanexample.com/test.html But in the Analytics popup browser this is what it tries to load: www.thisisanexample.comhttp://www.thisisanexample.com/test.html So I can't preview any of the content within Google Analytics. I feel like this is a settings issue somewhere... Any ideas?
Reporting & Analytics | | ShawnW0 -
How to Configure Google Analytic API?
Hello All, I want to implement google analytic api can any one show me the whole process? Regards, Mit
Reporting & Analytics | | mit0 -
Google Analytics - Sessions vs Views?
In Google Analytics under Audience Overview I want to visit total visits during any given period of time but instead it shows me sessions. Am I missing something? How do I switch from sessions to page visits?
Reporting & Analytics | | gohawks77902 -
Analytics confusion
Hi all I am trying to see how many people visit the 'report a repair' pages of our website. It is on a separate domain to our main site. I have looked in our Google account for stats on it and now got confused. In our Google Analytics account, there is a property set up that says it is for spectrum-online (the domain I am after). However, it isn't collecting any data. It's admin info is: Tracking ID UA-7828548-8
Reporting & Analytics | | Houses
Property name
https://www.spectrum-online.co.uk There is another one there set up under the name 'Western Challenge' that does have data and mentions it is for spectrum-online: When I go into the Western Challenge property, the info is: Tracking ID
UA-7828548-3
Property name
http://www.westernchallenge.co.uk Western Challenge shouldn't exist now though. It was one of our old brand names and the site should be 301'd to the main www.spectrumhousing.co.uk site. I looked in this property at the top pages where people appeared to be landing. There are 9 of them, all with stats against them.Usually you can click the icon next to the URL and be taken to the live page. I however get taken to the Spectrum home page each time. All very odd. UA-7828548-3 is not the GA code used on our main site. I then tried clicking on a live spectrum-online page http://www.spectrum-online.co.uk/keyfax32/main.asp?co=KFRDROL_WCHA to see which Google UA number tracking code is being used but I can't see any GA code and it is a frame. Queries are:
Why is the Western Challenge property collecting any info?
Why is the spectrum-online property not collecting any info?
Is there any Analytics code on the Spectrum-online site and if so where? Apologies if I'm missing something obvious but your help would be appreciated. Thanks0 -
Wordpress + Google Analytics = Pulling My Hair Out
Hey Mozzers, Quick question for you- I have analytics set-up for a personal site I run and I know, verifiably it's receiving traffic, however, whenever I access my Google Analytics dashboard, it says I've had zero visits. Interestingly, today I had a colleague check the site from a foreign country and I could see the page views (within 15 minutes), however, I could not get any information about the site viewer. I have verified that the Analytics profile is 'receiving data' (which it is) and my Google Webmaster Tools is not reporting any issues? Finally, I went ahead and updated my profile so that it is pulling from 'www.mydomain.com' instead of 'mydomain.com', I don't know if that'll make any difference, but likewise, I didn't want to go and create the 'little kid in the elevator' analogy, where I'm just pressing a bunch of buttons just because they're there. So the only changes I've made thus far were deactivating Yoast's SEO plug-in and manually placing the GA code in the header and updating the 'Website's URL' in the profile settings tab of GA from 'mydomain.com' to 'www.mydomain.com'. With that, I am stumped and praying another one of the esteemed Mozzers out there may be able to help me resolve this. Any thoughts?
Reporting & Analytics | | NiallSmith0 -
Google Analytics - In-Page Analytics
I had a strange thought waking up this morning, and was curious to hear other people's opinions on it. In Google Analytics, under Content > In-Page Analytics, Google shows what links on your site pages get clicked and how many times plus other metrics. Do you think they use that data for ranking back links so-to-speak? What I mean is, say I had a back link to my site on example.com, and example.com had google analytics installed. Google can see through google analytics whether my link has been clicked on. Say that my link gets no clicks, do you think that Google would use that metric against my site deeming it "not popular" or "not a good resource", even if example.com was a very popular site? And it could work the other way. Say my link got thousands of clicks on example.com, do you think that Google might use that to promote my site? I couldn't find any other discussion on this anywhere, so am not sure if people have already thought about this.
Reporting & Analytics | | THB0 -
Google Analytics/ Contact 7 Plugin
I have a site that uses the contact 7 plugin for its contact form sitewide in a sidebar and on a contact us page. I've set up a goal in analytics and tracked using the "on_sent_ok" hook but the number of goals GA is creating is far outweighing the number of times the form is actually completed. I figured my initial mistake was to use the contact-us page as the page tracker variable for the goal but wondered if it was counting all form completions AND anyone who went to the contact page. So I amended it to a contact-us/thank-you page that no site visitor could navigate to, and since I have no goals completed, even though we're getting enquiries through the form. Am I being dumb here and missing something quite simple?
Reporting & Analytics | | PerchDigital0