Does Google Analytics tracks referrals when site is down - google-analytics

I am using Google Analytics to track visitors to the site. Now I have started a PPC campaign and I had a problem with the site which was down for a few hours, from 9am to 12am. So I wonder if Google Analytics can count the clicks from the PPC campaign even the application on the site is down.
There are two opinions on it, so I am a bit confused. One says GA track the visit but cannot track deeper than the visit, also Google Web Master Tools can say this information. The opposite idea says if application is down, so does the ga.js therefore GA cannot count any data.
Also, can Google Web Master tools tell me if the application is down or not. I found some services to let me know if the server is down but in this case I need to track if the app is down.
I would love to hear any comments on this question.
Thanks in advance.

User's browser can only send data to Google Analytics if the page is loaded, so if the site is down, nothing can be sent.
As for a uptime monitoring service, quick googling gives http://mashable.com/2010/04/09/free-uptime-monitoring/. I believe that Google Web Master tools provide website alerts but they don't have an option to send notifications.

After doing some more research on the topic I have found and tried what Google said in this link
Now I can place a cookie to visitor and can match PPC cound with visitor count.

Related

Setting up Goals in Google Analytics for a Single Page Application

While setting up goals in single page application in google analytics through gtm there was a problem with achieving 'pageview' goals from CPC source, although when I was looking at the current page in real-time I saw page is active, so the goal should be achieved but it doesn't.
Is anybody faced with such behavior of google analytics?
Probably when the URL of your single-page changes it loses the gclic parameter but the referral is always google, so your session is interrupted and a new one starts from the organic channel to which the rest of the pages viewed are associated.
Try to read this article:
https://www.simoahava.com/gtm-tips/fix-rogue-referral-problem-single-page-sites/

How does Google Analytics filters duplicate site entrances

We are implementing a native analytics system and want to apply the same tracking principles Google Analytics uses. We've figured everything out but one thing:
Every time I refresh a page with an url that has utm-parameters attached to it, Google Analytics somehow figures out that it's not actually a visit but the same page that gets refreshed and shows only one visit in its dashboard from that particular source.
Is anybody aware how GA specifically does that so I can replicate it in our system?
I know that I can use
performance.navigation.type
in my JS script, but it doesn't give me desired results.
Any help would be much appreciated.
Attribution in GA happens on the Google servers, so JavaScript will be of limited use. Basically since a reload means that the user has the same client id and no change in the channel (source, medium and campaign are the same as in the previous visit) the existing session will be continued (a change of campaign/source information would trigger a new Google Analytics session).
Google has a very nice chart that explains how campaign information and traffic source information is processed.

Google Analytics x Clould Flare

Does someone really understand why Google Analytics and Cloud Flare do not show the same information about Page visitors and users?
I was reading about it but couldn't find a good and reliable answer about it.
Thanks,
CloudFlare tracks traffic instantaneously because any website visitor goes through CloudFlare first to load your page. Google Analytics starts working AFTER your page loads in a browser, if JavaScript is enabled, if staying on the page long enough to give JavaScript a chance to run and send a signal to Google Analytics.
I feel that CloudFlare support answered this question nicely here:
https://support.cloudflare.com/hc/en-us/articles/200171296-Why-do-my-CloudFlare-traffic-numbers-look-different-than-other-services-Google-Compete-

Sharepoint - Google analytics (New Users)

So a problem has arisen on my site when I placed the google analytics script on each of the pages, as when I log into google analytics its gives me incorrect data.
I know this because only 4 people have been given access (from London) to the site and in google analytics under "New Users" we have people from USA, Thailand, and other countries. Any ideas as to why we are recieving incorrect data from google analytics?
Any help would be greatly appreciated.
I doubt the numbers are incorrect. Is the login page for the site exposed to the world? If so, I suspect the majority of the unknown visits are people who hit the login page but don't actually login.
You should also check the Hostnames report to verify the code is coming from the expected website. We've seen instances where a development shop copies GA code from one site to another and forgets to change the UA number.

How do you setup a Google Analytics account for a website that already has the tracking code?

I have FTP access and am re-designing a website and I want to see historical traffic data from their Google Analytics, but they do not have a Google Analytics Account and can not get in touch with their last web person who set it up.
The tracking code has been in place for several years. There are a lot of articles about how to add Google Analytics code to a website but how do you setup a Google Analytics account with tracking code that is already there?
The best way is to ask person who set it up. But if it is impossible - here is the article, which help You - http://savvydealer.com/reclaim-your-google-analytics-account/
This is the only one way.
There are 2 options,
Ask for the Authoritative person to add you as an Admin, so you can easily get access. If this option may not possible then,
You can replace old tracking code with new tracking code.

Resources