Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
11 votes

What are the implications of having two Google Analytics tracking codes on 1 site?

Google allows Multiple tracking codes on web pages. However, some configs may not be supported. You can install multiple instances of the Google Analytics tracking code on your web pages to send data ...
user avatar
  • 1,099
10 votes

Quantcast http://pixel.quantserve.com/pixel request 302 redirects to Facebook and other ad networks

Quantcast Measure Terms of Service (https://www.quantcast.com/terms/measure-terms-service/) Section 6: Quantcast servers may choose to occasionally respond to any publisher’s Tag by redirecting the ...
user avatar
  • 101
9 votes

Domain name appended to the end of every URL as tracked in Google Analytics

I've encountered the same situation. It appears that this behaviour is affected by settings in: Admin -> View Settings -> Default site (optional) You've probably placed there your site name, and now ...
user avatar
  • 231
6 votes

Viewing the actual User ID in Google Analytics when using the User ID tracking feature

Updated Answer Since you are wanting to actually report on the User ID you will need to set up a Custom Dimension to store it. After looking at About User Data and Tutorial: How to send user IDs to ...
user avatar
5 votes
Accepted

Can I use Google Analytics to track a specific referrer URL?

Why not just set it up as an event and then track the event. It will appear in the Events section of your Google Analytics profile and you can also set up a goal based on that event. You can create ...
user avatar
  • 5,032
5 votes

Measuring Google Analytics traffic to files on server which don't have tracking code

You need to add custom event tracking to your pages. Look at this link hope it helps. Put your files behind a PHP,ASPX,CFG application page add the event tracking to the page your url should look ...
user avatar
5 votes
Accepted

How reliable is email tracking?

Mailchimp's blog post on this is very good. A brief summary: Gmail rapidly downloads and then proxies the image as soon as you load the email, so Gmail's change will not prevent image tracking. In ...
user avatar
  • 590
5 votes

Quantcast http://pixel.quantserve.com/pixel request 302 redirects to Facebook and other ad networks

I highly suspect this is cookie matching with various audience data/analytics providers and ad companies. It seems to be covered in their privacy policy, albeit fairly vaguely: We may share with ...
user avatar
4 votes
Accepted

Tracking clicks to my site from a link in an email (normal email, not a newsletter) using Google Analytics

You can build campaign tracking with this Google Analytics tool. However, having it trackable at an individual level is a contravention of Google Analytics' ToS. "You will not (and will not allow ...
user avatar
  • 7,731
4 votes

How to get visits statistics from mediawiki page, without asking this from the admin?

Another way is: Go to Special:SpecialPages of a given wiki, and check if it has Special:PopularPages; example: http://en.wikipedia.org/wiki/Special:SpecialPages - doesn't have it http://www.alsa-...
user avatar
  • 141
4 votes

How to know if visitors are reading my long-form articles?

The solution that has been working for me, is to check for the appearance of a specific DOM element's appearance in view. For instance, you may have a #comment element after the article content. So ...
user avatar
  • 41
4 votes

Is utm_source really mandatory in Google Analytics?

George answered yours question best. But why do you want to leave utm_source blank? Looking at yours example link I think that you would like to dynamically fill it with referrer. Lunametric's ...
user avatar
4 votes

How reliable is email tracking?

As someone who built and maintains a newsletter sending system, I can tell you there is no real good way to get reliable statistics for opening, reading, etc... What you can get is whether or not the ...
user avatar
4 votes

Tradeoffs of including alt attribute in tracking pixel

The answer from the HTML perspective Almost every img element must have an alt attribute. Almost, because there are two exceptions: under certain conditions, if figure is involved, and if a markup ...
user avatar
  • 21.5k
4 votes

Is it possible to track google analytics conversions on a shopify buy button?

As you noted, the Shopify -> Settings -> Checkout field called 'additional scripts' will only load on the actual status page after checkout is complete. In order to add your Buy Button event ...
user avatar
4 votes
Accepted

Google Analytics Content Group, do I use gtag set or gtag config?

Content group passed with set command will be added to the next hit, like: gtag('set', {'content_group1': 'My Group Name'}); \\ No data sent gtag('event', <action>, { \\ Now ...
user avatar
3 votes
Accepted

Is it possible to track redirects to external sites from our subdomains?

You can do this with PHP and Google Analytics. For each subdomain run a index.php file that will send data to Google Analytics and then give a header redirect response to send the visitor to itunes. ...
user avatar
3 votes

In Universal analytics.js: how do you enable local remote server mode than sends data to your own server as well as to Google's?

There doesn't seem to be an easy function built into analytics.js that I have found, however, there is this code for sending the same data via an XHR request to your server. ga('create', 'UA-XXXXX-Y'...
user avatar
  • 131
3 votes

Should I track the login page?

If you don't track the login page there would be no way to know the drop off rate from it. I'd imagine that a very important question for you would be what percentage of your visitors don't log in ...
user avatar
3 votes

Should I track the login page?

Keep the login page tracking, you can use it in multiple ways - You can look at how many people are dropping if their login fails You can setup a Register Now CTA and check how many folks sign-up ...
user avatar
3 votes

unexpected url parameters added by 3rd party browsers

I know this is old, but after going through some server logs, I came across the same parameters and I was curious where they were from. I have found from=groupmessage, from=timeline, from=...
user avatar
  • 131
3 votes
Accepted

How to track Campaigns in Google Analytics without using UTM parameters?

It can't be done in the Google Analytics admin panel, but it can be done programmatically by your server. You can put some extra JavaScript in your snippet to send Analytics the full campaign info ...
user avatar
3 votes

Is utm_source really mandatory in Google Analytics?

You can find the information you want by looking at the following chart. It shows how each session's campaign & traffic source is processed in the servers of Google.
user avatar
  • 203
3 votes
Accepted

Tracking multiple URLs as a single page with Google Analytics

You can do it by using Content Grouping. You create Content Groupings at the view level by going to: Admin -> View> -> Content Grouping. As covered here: You have three options for how you assign ...
user avatar
3 votes

How reliable is email tracking?

Opening an email is not an indicator of engagement in my opinion. I open hundreds of emails each day when I am bored in traffic or in the line at the grocery store. Honestly, the best way to track ...
user avatar
  • 3,638
3 votes

Track 301 redirect traffic from domainA to domainB in Google analytics

Solution that matches your query exactly: https://web.archive.org/web/20161211202057/www.lanevance.com/web/web-development/tracking-301-redirects-with-google-analytics You can set up a campaign ...
user avatar
  • 1,694
3 votes

Viewing the actual User ID in Google Analytics when using the User ID tracking feature

User ID enables the analysis of groups of sessions, across devices, using a unique, persistent, and non-personally identifiable ID string representing a user. That being said when you add ga('...
user avatar
  • 206
3 votes
Accepted

Send pageview with Analytics.js to a second account

If you are using multiple trackers, then you need to name your trackers (or at least one of the two, but better to name both so there's no ambiguity). Much like the Classic (_gaq) code you've posted, ...
user avatar
  • 2,523
3 votes

What is _ga in url path?

This is needed for cross-domain-tracking, and yes, it stands for google analytics. You can't stop Google from adding the tag, but you can tell Analytics to ignore it in your reports.
user avatar
  • 3,848
3 votes

Google Analytics - exclude from stats if user clicks on a particular link when visiting home page

You could create a custom dimension at session level scope, set its value to Logged In (or something similar). Then create an onclick event for the link https://app.example.com/login.php and send the ...
user avatar
  • 3,358

Only top scored, non community-wiki answers of a minimum length are eligible