I have created a Google Ads campaign and for all the url's I have defined an standard url to track them. These url are for example: http://www.example.com/?url_source=s1&utm_medium=m1&utm_campaign=c1. I use this page https://ga-dev-tools.appspot.com/campaign-url-builder/ to create them.
But, when I go to Acquisition > All the traffic > Source/Medium I see that most of these url are not tracked correctly and are tracked like google/cpc and not with the values given in variables utm_source and utm_medium
What happen? How can I do to track correctly all the url's?
I guess you use autotagging in Google Ads. You need to allow manual tagging (UTM values) to override auto-tagging in Property Settings in GA. Otherwise in Acquisition > All the traffic > Source/Medium you will see douplicated strings.
Related
I have three sites across which I need to track traffic in the same Google Analytics account, with the traffic originating from the first one, passing from the second one, and being converted on the third one.
Site#1 is on domainA.com
Site#2 is on sub1.domainB.com
Site#3 is on sub2.domainB.com
I visit Site#1 (example URL: domainA.com/?utm_source=MySource&utm_medium=MyMedium&utm_campaign=MyCampaign) and I click on the element (button) which takes me to Site#2. The URL then becomes sub1.domainB.com/?_gl=[something]&_ga=[someghing else] which basically indicates that cross domain tracking has been set up correctly, and appears to be working. In Analytics I can see that Source, Medium, and Campaign are the same ones as set in the Site#1 url parameters.
On Site#2 I click on yet another element (a different button) and that takes me to Site#3. That page's url now becomes sub2.domainB.com and there are no CDT url parameters present there, which at first glance seems to be correct, as CDT shouldn't care about subdomains, right?
But then I examine the Google Analytics data, and this is when I get confused; Site#1, and Site#2 both seem to share the same Source, Medium, and Campaign data, as set in the original URL. When I navigate to Site#3 however, and place my order there, I am seeing that the Source, Medium, and Campaign are now (direct), (none), and (none), which indicates that the UTM data is lost somewhere along the way.
My current configuration in GTM is the following:
GTM and Google Analytics fires on all three sites.
Track Type: Page View (Fires on all pages)
Enable overriding settings in this tag (Enabled)
More Settings > Fields to Set > Field Name "allowLinker" : true
More Settings > Fields to Set > Field Name "cookieDomain" : auto
(I've experimented both with and without this field, without much different outcome)
More Settings > Cross Domain Tracking > Auto Link Domains : domainA.com, domainB.com
More Settings > Cross Domain Tracking > Decorate Forms: True
Also, in Google Analytics' Property > JS Tracking Info > Referral Exclusion List, I have both domainA.com, and domainB.com listed there.
What is it that I am missing, that would allow me to make Site#3 be aware of the utm_source, utm_medium, and utm_campaign values when the user eventually converts?
Basically, I work for a theater and we send patrons to our primary website (we'll call this theater.org) to look at events and choose what tickets to buy and when they go to purchase tickets, we have put links in our primary webpages to our ticketing platform (we'll call this tickets.com).
Now, I have set up cross-domain tracking so that I can see people once they get onto tickets.com and see if they purchase a ticket. Great! But I can't really see where those people are specifically coming from because the referral source is always theater.org. I would like to see the original referral to theater.org that led to the purchase on tickets.com.
Here's what I've tried:
I've added the allowLinker (true) and the cookieDomain (auto) to my cross-domain Google TagManager
I have added both domains to the Referral Inclusion List (now I just get "direct" as the source for my eCommerce transactions instead of theater.org )
Additional info:
I have used the Analytics debugger console to see that the user-id changes as I move from one of my domains to the other, so that's definitely the primary issue
I see correct referrals on my Page Views for the theater.org , but not tickets.com
You need to make sure both tickets.com and theater.org both use the same Google Analytics property ID (UA-XXXXXXX-X) and have cross-domain tracking configured in the GTM container for BOTH domains.
Then you can look at the acquisition report tp get a sense of how people are arriving at your site OR dimensions like "previous page" or segment your goals by sessions that have visited a specific page.
Lets say I have 100 customers that bought a website from me. In the footer of their websites I have the text "Website developed by:" followed by a link that points to my company website. In Google Analytics for my company website these referrals will show up with the customers URL as source, and "referral" as medium. I would like all of the referrals from my 100 customer websites to be grouped, so that i can view the total metrics together. I have tried using utm_source="Customer Website" on the referral links, but the utm_source overwrites the default source (that is the customer website URL) so that there is no way for me to separate the different websites.
How can I set up this in Google Analytics so that I can both view all of the referrals from customer websites together and separately?
You can use utm_campaign=Customer-Referral and then see all this data under one campaign on Google Analytics.
You can direct the traffic to the destination page but with a dummy query string parameter such as www.example.com?ref=client, and then see the traffic that is directed to this specific page on Google Analytics.
Based on the ref, you can inject a user-level custom dimension that will show you data of that specific group. What you should add is ga('set', 'dimension1', 'Client Referral');
Add it to your tracking code before ga('send', 'pageview'); You need to send this data only once, at the first page view. You can read more about it here: https://developers.google.com/analytics/devguides/platform/customdimsmets
(note: I used dimension1 assuming that you don't have existing custom dimensions. If you already using slot no. 1, update it to another slot).
I'm new to google analytics and I'm a little confused on how to get an unpaid campaign up and runnning. I'm making the campaign in order to track links to a page from different sources (website buttons, emails, newsletters, etc.). What I'm trying to do is set something up in GA so that I can track how people are getting to a specified page. I've been reading this as well:
https://support.google.com/analytics/answer/1033863?hl=en&ref_topic=1032998
Do I have to create the campaign in google analytics (and if so where) or do I just apply the appropriate campaign/tracking tags to the links I need tracked and it automatically creates it? Also, how would this work with emails?
Thanks for any help!
Essentially, you will build the campaign tracking URL in URL Builder and put those links in your email, newsletter, etc. Once visitors start to click the links via the email, a campaign will be created under Acquisition > Campaigns.
You do not need create campaigns at Google Analytics: when you tagged campaign manually or at URL builder, your campaign data(source name,campaigh name and others) will be categorized by Google Analytics automatically.
GA parses tags at your links and save data about you campaigns.
I'm building out a site that has predefined affiliate ids that are driving traffic to our sites. We currently use this paramater to track our seo work internally. Now we want to do the same through Google's Campaign Tracking at the Session level. The problem is we don't want to change our url, is it possible to manually build the Google campaign tracking pixel url? I'd like to take our affiliate ids and convert them over to a tracking campaign pixel for Google.
Seems like Google built this so all the tracking data must be in the url, is there a way to do the same tracking w/o the google data in the url?
Instead of:
http://www.mypage.com/?utm_source=google&utm_medium=cost-per-click
I want to use(javascript will do the rest):
http://www.mypage.com/?affid=123456
Turns out here is exactly what I was looking for:
https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiCampaignTracking
This is essentially doing everything the Google Campaign Tracking does but you have full control over what parameters are passed in the tracking pixel. I don't have to change or mess with the url, our in house tracking will work as it should, and now the google tracking pixel will be built as I specified.
You can programmatically set up a virtual pageview based on the affiliate id.
In an if statement, determine if you have an affiliate id. If you do, write some logic to build out the proper campaign, medium and source, then concatenate it to your URL. Pass that to GA via the trackPageview method instead of letting it do it's own thing.
Keep in mind that passing a virtual URL does replace it's default behavior, so you won't have the affid parameter in your content reports unless you build it in to the virtual pageview.