Stop tracking campaign - google-analytics

good afternoon
I am currently using google analytics to track the newsletters. For this I use campaigns.
The problem is that when you have finished visiting the linked page, the following pages continues indicating that this correspond to the same campaign.
How I can tell Google Analytics that the campaign tracking is finished?
I tried with the following code, but I ignored.
_gaq.push(
['_setCampaignTrack', false]
,['_setCampaignCookieTimeout', 0]
);
_gaq.push(['_trackPageview']);

This is intended behaviour for Google Analytics
Source precedence—A direct traffic visit that follows a paid referred visit will never override an existing paid campaign. Whatever
is the latest paid campaign visit is listed as the referral for the
visit.
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCampaigns?hl=en
direct traffic has a vey low precedence. Google Analytics assumes that if the visitor is coming back by a direct source it's probably because of the last visit that you actually paid for, so it keeps the last useful traffic source.

Related

Google Measurement Protocol Source & Medium

I have started using GMP on an eCommerce website as I am concerned about transactions not being tracked correctly due to ad blockers and subsequently the conversion data in Adwords being incorrect.
However, I've started using it and I've found it to be a nightmare to get to work as you'd expect. I found this question still unanswered which is worrying!!
Measurement protocol transactions from Google Analytics to Google AdWords
However, my question is similar. But not the same. I'd like to know if I'm supposed to set the referrer, source & medium only once? For the first request?
i.e. Lets say someone clicks an eCommerce shopping ad (So it has a glid). Comes onto the site. And I set the medium to cpc and the source to google.
Then they start to browse around the site before making a purchase. The referrer will then be registered as the current domain and the source and medium will not be recorded.
Is this correct? As currently it's attributing all conversions to the site itself and not to google even though I am passing in the glid on the first request.

Cannot See My Campaign on Google Analytics

I visited the Google Analytics Campaign URL Builder web page and created a utm parameter campaign link. When I visited the "Campaigns" page of my Google Analytics account afterwards, the campaign did not show up. Is there a solution to this?
There is usually a lag of 24-48 hours from the moment you create a campaign link (and visit it) until it shows up in the GA Dashboard. Just wait a day or two and it should be there.
Since it's been a week since you posted and haven't replied that should have done it.

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.

Does direct session overwrite utm source from previous session in Google Analytics?

Let's say that a person clicks on an ad on Facebook and lands on a page
http://www.store.com/product-page?utm_source=ad-agency-name&utm_medium=facebook&utm_content=fruit&utm_campaign=company-name
Than it closes a browser.
Later that day a person visits same page again by writing url directly in browser and purchases a product.
Google Analytics eCommerce tracking code is implemented on thank you page of that store.
Will Google Analytics eCommerce show this transaction's source as '(direct)' or as 'facebook'?
They will show this as "facebook". Google says that visits are attributed to the last marketing channel (for transaction attribution this is explicitely stated in the documentation but is also true just for visits).
Direct/Bookmarked visits are not a marketing channel according to Google. If there is already campaign info stored the visit will be attributed to the campaign (so a direct visit in GA is actually a direct visit by someone who has no prior campaign exposure or has deleted his GA cookie).
Btw. this means that campaign conversions will be overcounted at the expense of direct visits, if you need a more realistic picture you would have to look at the multichannel funnels which attribute to the "real" medium, not the marketing channel.

Does Google Analytics tracks referrals when site is down

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.

Resources