Google URL Builder / Campaign Tracking on two Different Domain using the Same Analytics Code
-
Hey Everyone,
I think I know the answer to this but I'd like to get some confirmation.
I currently have a landing page at "www.xyz.com", it's a separate domain in which only the landing page exists and not a vanity URL which redirects. However, the navigation and all the links on "www.xyz.com" actually link out to "www.abc.com". The domain / landing page "xyz" has the same analytics tracking code as domain "www.abc.com".
My question is this, if I use Google URL builder to create custom URL's to track for each ad that I'm running in Adwords, will this data show up in the analytics of "abc" even though it's a separate domain because it has the same analytics code?
In other words, does campaign data show only if the domain and the google analytics code line up, or does the domain not matter and as long as you have the same analytics code (despite two separate domains) that campaign data (built through Google URL builder) will show?
My hunch and best guess it that as long as the analytics code is the same (regardless of a separate domain) that the data in campaign will show with the custom URL's I build. I'm aware that I can test this and I will but I'd like to get an idea from the community first to make things easier. Anybody have experience with this? Answers greatly appreciated!
Thanks!
-
Thanks Tom, I'll try to implement this.
The link for http://psgrep.com/ isn't working? If I implement the solution for cross domain tracking above, will my adwords data flow through? Right now I'm getting no behaviour data even though my adwords and analytics are linked up or is there additional work I will need to do that is available on the link that isn't working?
Thanks!
-
Hey Jon,
I hope what is written above is more helpful and explains I do not want to copy the instructions Word for Word.
But I think this will give you enough to understand if you have implemented these changes you are all set if not please make the changes.
Because there are code changes that should be in place to use to different domains in order to track them you need to set up her primary and secondary.
You are on the right track I hope the information above gives you what you need if it does not.
Let me know and I would try using http://www.analytics-debugger.com/en http://memo.suan3se.com/?p=643 & http://psgrep.com/
in order to set up and know that it set up properly.
Sincerely,
Thomas
-
HI Jon,
There are because
Because cross domain tracking is dealing with a primary and secondary you do have to change the tracking snippet
For Adwords
by following the steps in the link above you will be able to set up Adwords
I have pasted example below using example1.com as well as example2.com represent the different domains. One of the easiest ways to set this up is to simply use the Google analytics debugger it is available in the chrome store as well as a this incredible resource
Here is exactly what you need to do for ad words because it is slight differences you will need to use Google auto linker plug-in
Step 1: Set up a property in your Google Analytics account.
autoLink plugin
to your tracking code, it automatically loads with your pages and does a substring match on all your links. It then recognizes any links that include a domain name that you’ve specified in your tracking code. Any traffic that clicks a link to those domains get counted as cross domain traffic.
The tracking code snippet must contain these changes every place it appears on your secondary domain.
For three or more domains
Follow the example above, but add the other domains to the autoLink plugin. Even the additional comma here is important:
ga('linker:autoLink', ['example-1.com', 'example-3.com'] );
See what this looks like in full context
The tracking code snippet on your secondary domain(s) should look like this:
https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain
for GA
https://support.google.com/analytics/answer/1034342?hl=en&ref_topic=2772342
For cross domain tracking, set up one property in your Google Analytics account. Use the same tracking code snippet and tracking ID from that property for all of your domains.
You need to edit the tracking code snippet for cross domain tracking to work. If you haven’t already included the snippet on all your webpages, you might want copy and paste it into a text editor before continuing with the instructions here. This way, you only have to make the changes once before including the modified snippet on all your webpages.
For details on setup help, follow the instructions on how to set up the web tracking code, but remember: You must customize the snippet using the instructions in this article for cross domain tracking to work properly.
Step 2: Edit the tracking code for the primary domain.
Find the create line in the snippet. For a website called example-1.com, it looks like this:
ga('create', 'UA-XXXXXXX-Y', 'example-1.com');
Make the following changes to the snippet (the changes you need to make are in bold red text
ga('create', 'UA-XXXXXXX-Y', 'auto', {'allowLinker': true});
** ga('require', 'linker');**
** ga('linker:autoLink', ['example-2.com'] );**
Remember to replace the example tracking ID (UA-XXXXXX-Y) with your own tracking ID, and replace the example secondary domain (example-2.com) with your own secondary domain name.
http://www.analytics-debugger.com/en
https://www.google.com/search?q=google+analytics+debugger&oq=google-analytics-debugger
https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna
I hope this is more helpful and explains I do not want to copy the instructions Word for Word.
But I think this will give you enough to understand if you have implemented these changes you are all set if not please make the changes.
https://support.google.com/analytics/answer/1042508
TRACKING ACROSS MULTIPLE DOMAINS
autoLink plugin
https://support.google.com/analytics/answer/4627488
https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain
I hope this will tell you yes or no
let me know,
Tom
-
Hey Thomas,
Just to be sure, could you answer the question whether my assumption is correct or not? I'll read through the resource you sent but your opinion would be great.
Thanks!
-
here is a detailed answer to your question.
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite
https://developers.google.com/analytics/resources/concepts/gaConceptsDomains
Please let me know if I can be of more help,
Thomas
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Clients Keep Googling Themselves
Hi, I have a common problem with my clients where they google their own business name or keywords they want to rank for and freak out when they don't show up on the first page of results. The same is true for my paid search clients. Is there a good way I can explain to them how Googleing themselves is not the best way to know if they are performing well? If there is an article out there that explains it that I can share that would be even better.
Paid Search Marketing | | GuardianOwlDigital0 -
How to Tell Google About My Near Duplicate Pages?
For my Adwords campaign, I create a separate landing page for each Ad Group, but are similar enough to one another that they may be considered duplicate content. Should I use a canonical tag on the page to tell Google which page is priority? I don't care about any of those pages ranking in search, I'm just using them for my ads. I also don't want to redirect, clearly. Is the canonical tag the correct way to go?
Paid Search Marketing | | Dino640 -
What's the best call tracking system to use for PPC & subsequent landing pages?
Client has about 30 locations. Not planning to get too fancy (i.e. like putting JS on the page so that a dynamically generated phone is displayed to track keywords). At this point, just we only want to see if PPC is providing telephone conversions. I've used Mongoose Metrics before and it seemed good. However, I don't want to go with something simply because it's what I already know. Would love to know some of your favourites and if there are better options. Also - client is in Canada. Not sure if that makes a difference.
Paid Search Marketing | | woodsy10100 -
Disparities between AdWords clicks and Analytics sessions
Hi all, Have an Analytics account connected to my AdWords account which is showing HUGE gulfs in clicks and sessions for a CPM campaign. 500 clicks = 0 sessions. Does anyone have any idea why this could be the case? Auto-tagging is on and everything looks to be in place. The website itself is on a 303 so I was wondering could that be impacting things? The CPC is also just 1p so that's got me very suspicious. Thanks in advance.
Paid Search Marketing | | Whittie0 -
Adwords & Analytics Different Product Listing Results
Hi We have recently set up a Product Listings ad campaign via AdWords and have seen some impressive initial figures in our AdWords account. However, when viewing data from the same period in Analytics it shows completely different statistics. For example, from 1st-16th June, AdWords shows 604 clicks and 29 conversions from our Product Listings campaign but Google Analytics only shows 23 clicks and 0 conversions across the same period. Any ideas why these variations show? Is there any additional tracking code that needs to be inserted at all? Thanks
Paid Search Marketing | | instinctive0 -
Which landing page is used to calculate "Landing Page Experience" of a keyword in Adwords?
In Google Adwords, one ad group can have multiple landing pages, yet keywords are shared. So when I look at the keywords, they use one of the landing pages from ads, but which one? Shall we create separate ad groups and set only one landing page per group to avoid this problem? If this is the way then how come landing page is not a shared property like the keywords in ad groups? I hope someone with enough Google Adwords experience can help me here. Thanks,
Paid Search Marketing | | fguru0 -
targeting different keywords for site
A site i am working on seakayakingdevon.co.uk, currently optimising for sea kayaking wishes to target alternative keywords such as - canoeing, canoe trips etc. more importantly rank higher than a dedicated local canoeing center site. The issue is he provides kayaking trips and courses and not canoeing but believes a a large percent of his targeted market actual mistakenly searches for canoeing when they actually mean kayaking or simply have no preference - i.e kayaks are often confused with canoes especially with people who have no preference but are more inclined to search using terms related to canoeing, canoe day trip etc. As his site is geared to what he actually provides, I have advised that he would struggle to target such terms as he has no content relating to canoeing and risks the overall ranking positions and SEO efforts for sea kayaking terms.( As these would have to be diluted and would no longer relate to the actual page content.) What method could he deploy without sacrificing the sea kayaking optimisation? I realise he could optimise the site and content for both but question just how successful this would be when compared with the loss of dedicated sea kayaking audience. Is it really worth targeting keywords for service he doesn't provide? On a separate note the site is doing reasonably well since optmisation for localised serch terms but would like to target a wider UK audience as well i.e. tourism to the area. thanks
Paid Search Marketing | | Bristolweb0 -
Facebook PPC. Using Google URL Builder - Now What?
Hey There! So I've been trying some FB PPC ads. I recently learned I needed to use Google's URL builder to add the appropriate tracking fields into the URL (source, campaign, etc). The FB ad link now uses a custom URL with all the correct parameters. Now what do I do in analytics? Do I create a filter? A goal? Getting a little dizzy going in circles with google analytic help, and I'm hoping someone here can direct me. Thanks! -Dan
Paid Search Marketing | | evolvingSEO0