We’re rewarding the question askers & reputations are being recalculated! Read more.
18

No, you won't be able to find that info. GA doesn't make it available in your reports due to privacy issues, and any collection of it is in violation of Google Analytics' Terms of Service. Please read Google's Analytics usage guidelines for clarification. [Update July 26, 2016] IP collection through GA is a grey area in that there is no right or wrong. It ...


7

You can't do it via Google Analytics. However, you can setup your GA account so that each user is assigned a User-ID so that you can track each user with more detail if thats what you are looking to do. Note: this will require some change within your account and from privacy perspective this can be a real pain as well. Or if you simply want to find the IP ...


7

You can put the code anywhere on the webpage with very little trade-off. Why google specifically recommend to put it in the <head> section? Because there's a tiny advantage of putting it there - with it in <head> you can capture users who went away immediately after opening your page. Why not in body? You can surely put it in <body> ...


5

Here are the instructions to view IP addresses in Google Analytics. Add the following code to your pages, before the traditional Google Analytics code: <?php if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip=$_SERVER['HTTP_CLIENT_IP'];} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip=$_SERVER['HTTP_X_FORWARDED_FOR'];} else { $ip=$_SERVER['...


3

Tracking user IPs wouldn't be to beneficial to the overall product that Google is trying to deliver. You can however find the IP's within the Apache (or IIS) log files though. Then you can take those IP's and create filters. This article outlines the process but is specific to RFC 1918 addresses, but that's not a requirement of the filter. Not sure if ...


3

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', 'auto'); ga(function(tracker) { // Grab a reference to the default sendHitTask function. var originalSendHitTask = tracker.get('sendHitTask'); // ...


3

Blame Your Expectations: This one hasn't really been a big issue on here in the past but still deserves an honourable mention. If your only reason for thinking that your pageviews are wrong are that they aren't at the level you expect them to be, especially when first starting out, don't panic, this doesn't mean there is anything wrong to be fixed. ...


2

But Google Analytics code should be able to track that data automatically which shows up under social interaction section in Google Analytics and in case you wish to integrate your Stumbleupon ID with Google Analytics then you can do the same under the advanced Social account integration section of Google Analytics. Or In case you use a third party ...


2

You are tracking how all registered and all unregistered users behave, not how individual users behave. A user changing from one group to another will change which group any data collected from that user falls into. It would simply not make sense to change the previous data collected since the way they behaved when unregistered is an example of how an ...


2

The biggest mistake with analytics is not having any. It is far better to have some insight into your data, even if it isn't perfect, than to be running a website with no visibility into what your users are doing. Nothing is "absolutely essential" to set up before you enable Google Analytics. Something like excluding your staff is a nice to have, but it ...


2

"Traffic Sources" has been renamed "Acquisition"


2

Nope. Not unless you save the Page Title in a Custom Variable and then change the view from Landing Page to Custom Variable. This is at best a hackjob, and I'd rather work on Creating a better Content Grouping and changing the view from Automatically Grouped Pages to the custom Content Grouping.


2

There are two possible solutions to this problem: 1) Use a server side script to prevent the tracking code to be shown multiple times. This could be done by checking if the transaction information made it into the database or not. OR You can try redirecting the user away from the receipt page after the ecommerce info has been sent to Google Analytics, then ...


2

For others looking at this, I came up with this possible solution. You can change the referrer value before you send the page view to google. So something like this might be what you need. if (document.referrer.includes("example.org/blog/")){ ga('set', 'referrer', document.referrer.replace('example.org/blog', 'exampleblog.org')); } ga('...


2

Create a separate Google Analytics profile for your dev environment. Configure your dev server to use a different Google Analytics snippet Test your campaign URLs against your dev server View realtime analytics to verify that the the campaign parameters do what you want as they come in Test the functionality The next day view the dev analytics reports ...


2

Is it possible to use both Google Classic Analytics (ga.js) and Universal Analytics (analytics.js) with a single Google Analytics property? Yes, both will continue to work for the same property after it's transferred to Universal Analtyics (until ga.js is phased out). As suggested in your bullet points and indicated here: Step 1: Transfer Property ... ...


2

I used it on 3 of my sites. Nothing was lost, all data stayed. If the tracking code setting shows analytics.js code, your account was transferred into Universal automatically. What you need to do: replace the old ga.js code with new analytics.js code. But - turn on demographic features in Property and add some code into GATC following the instructions.


2

To completely disable data tracking, you can add an opt-out function to your site: https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced#optout You could also use the Opt-out browser plug-in (available for multiple browsers): https://tools.google.com/dlpage/gaoptout Set-up a custom dimension to exclude traffic Create a custom ...


2

Closetnoc's comment answers my question: This should resolve on it's own. There is nothing you can do but wait. In my case, I did not have to wait too long. It just may be that some data is missing and a report could not be generated as a result. It could be a simple lag time in updating the database.


2

You should keep the return\thank you page after the payment is processed. Then add your gateway payment websites in Referral Exclusion list. In that case, paypal.com It won't be perfect (lot of people miss the last thank you page), but still better. If you see too many discrepancies between GA and your CRM, think about implementing paypal on-site payment.


2

No, you don't need to make any changes. I'm assuming you are invoking the library and creating the tracker through the standard method. Your code should look something like this: <button onclick="ga('send', 'event', 'your_category', 'your_action', 'your_label');"> With jQuery, placing an event listener on the button: $('button').click(function(){ ...


2

There are many ways so it really depends on what you are trying to accomplish. Below are a few options that will work on contact forms and any other type of click action. 1) You can setup a link trigger in GTM with HTML5 data parameter and class or ID <input id=”contact-submit” class=”button” type=”submit” value=”Submit" data-form="Contact Us" data-...


2

Make sure if you are upgrading from the ga.js to analytics.js that you add your domain to the Property's Referral Exclusion List. It is done by default for new properties but needs to be done manually for GA Properties that existed prior to the Google changeover to analytics.js With analytics.js a change in source during a session will end the current user ...


2

I think the Tag Types are causing confusion for you. A Google Analytics tag is one that sends specific data to Google Analytics, not one that installs Google Analytics. The GTM code included on your website does the installation of GA as a byproduct of you having GA tags, and you use the individual tags and triggers to define the specific events, pageviews, ...


2

Standard Ecommerce requires the Track Type - Transaction tag, Enhanced Ecommerce requires a Track type of Pageview or Event. To access the More Settings option, click the checkbox for Enable overriding settings in this tag directly below the option Google Analytics Settings. It will then reveal the other settings you are after


2

Unless you have actual links, linking between the sites, or mechanisms in place that move site visitors between sites (eg site registration taking them to another site upon completion or similar), then cross domain tracking is not needed or going to work. What cross domain tracking does is for instances where visitors travel between sites, it shares the ...


1

When you don't know the meaning of a metric, just simply hover your cursor on the question mark on the side. Anyway, Site Search Goal X is when a user uses the internal search on your website and then converts for the Goal n° X (goals have a specific and numbered position at the time you create them). So, if for example your Goal 2 is a thank you page, ...


1

Realised from the referral details in GA that the issue is caused by Synxis using a different shell template for mobile users. I didn't have the Mobile setting in my admin section so didn't realise. Hopefully when I get the code updated this should cure the problem.


1

Does a "logged in" state define a user in his characteristics, or a "state" in which he is during a moment (a session)? It's the second one. The dimension you're talking about should be something like "Registered user". "Logged in" should be session level. Use these two for different purposes. In fact, for session level dimensions, if a user do something (...


1

From March 20 to 30, you will have both "yes" and "no". For the 20th to the 24th, the user will fall into the "no" bucket (and "yes" for the 25th to 30th). This is because of how user-scoped CDs work. If the value of the CD is changed (or applied) for a particular session, then all the hits for the current session as well as all the future hits for future ...


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