Tag Info

New answers tagged

3

I think that the most important point is that creating a local copy of that file is totally counterproductive. The reason is very simple. The file comes in two versions (ga.js and the older analytics.js) and can be served over 2 protocols (HTTP and HTTPS). This means that the browser only ever needs to keep at most 4 cache entries, irrespective of the number ...


1

Give them (read-only) access to the account. Anything less and some may be tempted to suspect that you're fudging the numbers. If they aren't able to handle analytics, make them nice powerpoints, but let them know they have access to the raw data anyway.


2

If anyone ever comes across this same question, I found a strategy that helped me out. I used Screaming Frog and set up custom filters to contain the tags that were in my Analytics and Tag Manager accounts. Then I just crawled my website and it returned all the pages that contained the tags that I set up.


1

Approve? Well, they don't recommend it. The major downside of this is updates. If they update, you don't get it because you downloaded. This can result in broken of faulty statistics. https://support.google.com/analytics/answer/1032389?hl=en


0

Assuming that you want all outbound links to have the UTM parameters; I would suggest creating a Custom HTML Tag with the following JavaScript. <script type="text/javascript"> // Set the domain/URL to your website. var myDomain = "www.example.com"; // Grab all links (anchor tags) var links = document.getElementsByTagName('a'); // ...


4

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 ...


1

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.


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 ...


2

Custom segments are what you need if you want to put people into specific buckets based on some condition. Go to Segments -> New Segment -> Advanced -> Conditions -> then choose Pageviews. Then on your right you can see logical operator for combining more conditions. Remember to choose "Include" (because you want to include, not exclude, people based on ...


0

Upon upgrading to Universal Analytics, seems the problem has passed. Upgrade guide: https://developers.google.com/analytics/devguides/collection/upgrade/guide Cross domain tracking: https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain


1

Where do people view the contact form? In a specific page or in lot of pages? After the submission do they see a thank you page? In that case you should use Funnel when creating an event. And you'll find reports under Conversions -> Goals -> Funnel Visualization. The other solution is to create a segment where you include all the people that converted ...


1

Try the Wayback Machine http://archive.org/web/, you can even take snapshots of the page when you want.


2

Motion Charts might save you a few steps over messing with segments. From the screen you want to analyze, click the Motion Charts icon (three circles, next to the line chart) Select the line graph tab Check the boxes of the rows you want to display Click the wrench icon to increase the opacity of the other items Select your metric on the left side of chart ...


0

You can't get the information from Google. They state their policy about identifying the owner of a Google Analytics id here: AnalyticsPro.Aruna said: Unfortunately, due to account security issues, we're unable to disclose or add logins to Google Analytics accounts.


0

Almost any dimension can be faked by the spammer. So far I've seen it as: referrer (the most used) pages (like guardlink) events (event-tracking) organic (darodar) and even fake direct visits *Some of them show in more than one dimension Until now I've detected huge spikes on referrer, pages and fake direct visits, for organic I've seen only hits in ...


0

Here is a link from Moz explaining how to do this for Shopping, though it should work the same way for news: https://moz.com/ugc/tracking-google-shopping-traffic-with-google-analytics-14244 The difference will be Field B -> Extract B, which you'll want to set as: (\?|&)tbm=nws Then change the Output to -> Constructor: Campaign Source to "google news" ...


1

The easiest way to do this is to skip the Referrals report and use the channels report instead. If you go to Acquisition -> All Traffic -> Channels, you'll see a channel grouping for "Referrals" and a grouping for "Social". All Facebook URLs are combined under the "Social" grouping.


1

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('create', 'UA-XXXX-Y', { 'userId': 'USER_ID' }); to your tracking code Google Analytics uses the information in the background to help aggregate the data. ...


0

Your script is running before the GTM's dataLayer object is ready as it's retrieved asynchronously. This means you need to wait the load event is fired/triggered. Your server side php code is not good as is writing into the dataLayer and definitely is the root issue this code is not awaiting for the GTM's datalayer object. Instead of this just create a ...


0

Then you can use fiddler http://www.telerik.com/download/fiddler Then check the GET request done when retriving the ga.js file


1

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 Google Analytics I believe that will be the best solution. In essence the same User ID that you are storing in the User ID field will also need to go to the ...


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.


0

If you have a host of legacy data with this separation, you are better off leaving it as it is. You can usually sort this out in your reports, so having consistent data is best. In contrast, if this is a new partner, you should keep the medium consistent and use "affiliate". You never know what dimensions or metrics will reveal important data. If you have ...


0

Google Analytics shows how users are interacting with your website or app. Google Tag Manager is a tag management service (TMS) used to simplify tag integration, including tags like Google Analytics pageviews or event tracking. Generally, GTM is an optional layer used by large websites. One of the main benefits of GTM is automated link tracking. However, ...


1

I just managed to check the google analytics parameters in firefox. Hope this helps. Open firefox browser->Tools->WebDeveloper-> webConsole You would be prompted with a seperate or autofitted window. Then go to Tool Box options-> Enable google Chrome addon debugging in advanced settings. Then check in the network tab. you would get all the query parameters ...


0

I found the solution to the problem myself and I would like to post the answer in here just in case someone goes through the same struggle. Basically the Goal value did not match the value in the function. The Goals configuration page looked like this I noticed the message under the "Use the Event value as the Goal value for the conversion" (Answered ...


2

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'); // ...


0

Try to go to Conversions -> Attribution. Above the tab click on AdWords under the label Type. Then change the model to something else. If AdWords is counted as an assist conversions and not a last click conversion, there's some problem about your website. It could be: 302 redirects (fix them) http or https redirects (fix them) your payment gateway (add ...


0

You need to know the definition of a session in GA (cf. https://support.google.com/analytics/answer/2731565?hl=en). A session is the measure of activities on your website within a given time frame. The session only ends on these conditions: there is more than 30 minutes of inactivity at any one time, it is the end of the day at midnight (relative to the ...


1

You need to go to Acquisition -> All traffic -> Channels. Then, above the Explorer graph, select "E-commerce" tab. You can now go more in deep and see Revenue by pages. Use filters for selecting a specific page, or add Session as secondary dimension by the beginning and filter it out. Or just use secondary dimensions by Page or Page Title in your ...


0

You need to set up a Goal. Track the specific page you want, and set destination for product success. You can see the conversion of how many products were sold / how many people visited the page.


0

I would like to clarify: Google doesn't measure Bounce Rate for SERPs via Google Analytics, that is done from the actual SERP page using Javascript and Cookies etc. It would actually be an anti-trust violation for them to use Google Analytics information as a rank factor. It is most likely anonymous traffic and unless the traffic is finding your website ...


1

With analytics.js, there's no need to do more. So, first thing to check is the implementation of the code. One good way is to use the official Google Analytics Debugger for Chrome https://developers.google.com/analytics/resources/articles/gaTrackingTroubleshooting#usingDebugger Then activate it, open up the console with F12 and see if the code is working, ...


0

In Google Search Console, click on Search Analytics, then select Pages. You can use an include only filter for .pdf files or specific one, or select from the table below. Then, go back to Query, and now you can see which keywords directly drove traffic to your PDFs. You can also track PDFs in Google Analytics. Here you can find 2 complete answers about ...


1

Stats what you looking for is available at Audience > Behavior > Engagement on the tab Page Depth


0

I think its pretty simple. Let us take the duration for measuring this metric as one day. Now during the day, 11 new users visited the site. Out of these 11, some or all (you can get the exact number of visits by each user) visited the site multiple number of times. Lets say user A visited the site 4 times, this would amount to 4 repeat visitors.


0

When you add your site to Search Console, it may take some time before diagnostic and other data is available. This is normal; it can take some time for Search Console to gather and process data for your site. In general, if you see a "No data yet" message, check back later. Once Google starts crawling your site more often, you'll notice that Search ...


1

Way you should do testing: in different browsers same browser, removing installed cookies same browser, editing installed cookies (lot of browser extensions can do that) A custom dimension at user level would be set on a persistent cookie, right? So even if you log out and simply login (no new registration) means there's no cookie overwriting. So, I ...


1

I added google analytics to the mobile version of my site and three days later it seems that most of the visitors either do not have a language set or a country code set. First be aware that GA only gives you a "processed" view of your actual traffic. It's purpose is to present you with statistically relevant data and only statistically relevant data. ...


0

Use a server-side scripting language. Create this PHP script: <?php $handle=fopen("301tracking.log","a+"); fwrite($handle,"1 guest from IP".$_SERVER['REMOTE_ADDR']."arrived at ".time()."\n"); fclose($handle); $newhost="http://domainB.com"; $url=$newhost.$_SERVER['REQUEST_URI']; header("HTTP/1.1 301 Moved Permanently",true); header("Location: ...


0

You wont actually be able to log this with Google analytics. This would require that the page is loaded before it is redirected. You could try using meta refresh tags on these pages and place your tracking code before the refresh tag. Alternately, parse your server logs with something like AWstats http://www.awstats.org/ Your .htaccess is instructing the ...


1

If you can't modify your .htaccess, or you just want to do that for only some views, you can apply Search&Replace filter in your Google Analytics view like this: Obviously, instead of "something" you put the target medium of that campaign. You can do the same for source and other utm parameters. You need to just create another filter and choose the ...


0

You should also consider server side statistics to gather data like accesses to files. You can install a system on your server which will analyse the server log files. For example Webalizer http://www.webalizer.org/


1

I believe that a better way to track PDF’s, and other file downloads, is to create a mechanism to take advantage of the Google Analytics Measurement Protocol. It would allow you to track when the file was actually accessed from your server instead of when a button\link was clicked. The con of this approach is of course creating the mechanism to handle the ...


1

as Andreas mentioned - Regular expressions are supported in custom filters. Simply create a new filter with the following: 1) Filter Name - whatever you want "Spam Sites" is what I use 2) Filter Type - Custom 3) Exclude (radio button) 4) Filter Field - Referral 5) Filter Pattern (here's a list I use - I'm sure there are a ton more) ...


0

According to GreatFire, Google Tag Manager is currently not blocked in China. This doesn't mean that much though; the Chinese censors may have decided not to block GMT continuously, but only in intervals to make it seem Google is at fault.


2

Go to your Google Analytics account and do the following: 1) Acquisition - All Traffic - Channels 2) Select Organic Search 3) Add a Secondary Dimension - Landing Page 3) Use the Advanced Filter and set it to Include - Landing Page - Exactly Matching - / or in your case /~u5410055/ You should now see all of your keywords for the home page. Keep in ...


2

You should actually use Google Webmaster Tools for this kind of information. You can connect your website with GWT using your Google Analytics account and then just wait for a couple of days until the search queries will be shown in Search Traffic -> Search Analytics You can put in a filter for just the home page while still showing queries:


1

Yes, it's included. Don't use GTM in China. Other scripts depend on GTM to properly work. If GTM is blocked, you also block lot of traffic from using other non Google-scripts integrated in GTM. You can continue using GA (and you need to adapt), but avoid GTM in China.


0

You can actually get a good answer without google analytics. If you scan your site through a keyword density analyzer, you'll find out important sets of keywords you can use in google search to find your site. I use textalyser.net to check my keyword density. Another beauty is that it has a prominence measurement that shows how important groups of words ...



Top 50 recent answers are included