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
-
Attributing Lead Source/Medium on Squarespace forms
Hi Mozzers Happy new year! We've recently picked up a client for some PPC and SEO work and their website is built using Squarespace. It's a B2B business, so enquiries don't always get sent straight from a landing page. Often a user hits our desired landing pages then checks out a few other pages before sending an enquiry. The problem we have is with attaching the source/medium of a lead to the enquiry that we receive. For example if Joe Bloggs completes a form, what we'd like to receive is:
Paid Search Marketing | | ZestUK
Name: Joe Bloggs
Email: joe.bloggs@email.com
Phone: 123456
Source: Google
Medium: CPC With the latter as hidden fields. We've tried the hidden field feature built into the form builder, but this only works if the user completes the form on the landing page they arrived on without leaving the page. We've tried to used event tracking but this only gives us accuracy on the number of enquiries from that channel, not who the user was that enquired, so we can't consolidate with our order and revenue report to work out ROI from each activity. Has anybody in the community ever solved this issue on Squarespace? Thanks
Mark0 -
Using + in Adwords URL
Hi. I am using keywords in my Destination URL in Adwords. So http://example.com/?football+boots+supplier This was done by someone else and I am trying to understand the full meaning behind this. If I go to the page it links to, it is just the homepage of the website but obviously shows up in Analytics as a landing page that stills out from the general landing page of homepage / Is that the reason so its easier to track the data? I would have though using the Paid referral in Analytics does this better? Any help be great. Thanks
Paid Search Marketing | | YNWA0 -
Google Analytics Offline Conversions
Hi All, I've been searching the net for this for a while now and haven't found any suitable solutions. I'm looking at a way of importing conversions into Analytics. For a business I work with there is currently a split between Contact Form Submissions (we can track) Mobile Website Calls (we can track) Offline Calls (visit the website via AdWords and pickup the phone) We currently record all call data so we can see just how many calls we are getting from the campaign, and we take notes on keywords and time of call. So manually we can figure out the conversion rate. I was wondering if there was a way to mark certain visits as conversions manually? I'm pretty sure there isn't, but figured this would be the best place to ask! Thanks in advance!
Paid Search Marketing | | gamnaking10 -
Google Display Network had 3000 new placements in May
Hi all, I'm running through traffic figures from May as there was a huge spike. This is down to a spike in Adwords, specifically the Display Network. In May 2014, there is a total of 4337 placements. In April 2014, there is a total of 1561 placements. With nearly 3000 new placements where the ad could be shown, would anybody be able to explain as to how and why this has happened? I've run through the change history, and nothing i've done explains the extra placements. Auto add placements was on, but has been on for 12 months with no more than 50 extra per month. The only change that has been done that may link is I've added a mobile phone extension on ads displayed on mobile devices? The significant extra cost has been of no benefit to the campaign, as the advert displayed on various apps, forums and irrelevant websites.Would be great if anybody could shed some light here! Thank You
Paid Search Marketing | | Whittie0 -
How Can I Target Certain Countries in Google AdWords without Excluding Other Countries?
So, here is the situation: Our company works with merchants worldwide (with the exception of those who live in excluded high-risk countries--mostly in Africa), but most of our Google AdWords leads come from Indian merchants. My CEO wants our campaigns to convert leads from other countries (i.e., the UK, Germany, US, Canada, Australia, etc.), but I have no idea how to do that without excluding India. However, my CEO does not want to exclude India from our AdWords campaigns as the leads are profitable. We simply want more diversity with out leads in terms of geographic location. I am sure there are resources on the Web about how to do this, but I am not an Adwords expert and am unsure of what phrases to search to find the answers. Direct advice or helpful links are much appreciated. Regards,
Paid Search Marketing | | Instabill
Meghan0 -
Analytics: Goal Tracking
I am trying to track goals in Google Analytics for a website that has the same goal URL for main website and various sub-domains. The main domain for example is: mymaindomain.com and the sub-domain are my1st.subdomain.com, my2nd.subdomain.com, etc. but the Goal URL is same for all the sub-domains and main domain, i.e. mymaindomains.com/pay/thanks.html. I have Google Analytics configured to track domains and all sub-domains and I’ve already setup the goal for each sub-domain and even created the funnel as well for each sub-domain. However, in goal tracking, it always shows “0”. I am also looking forward to get some help to set up an advanced filter so I can see traffic to my sub-domains in Analytics. Thanks!
Paid Search Marketing | | Visiblics2 -
Google PPC Quality Score (adventures in)
We have one keyword that brings our site the most visitors. This keyword is the brand name we carry. We have several years of tracking it in Adwords. For some extended time, this keyword [exact match] has averaged 19 cents per click, 2.7 average position, 4.5% click through, and a quality score of 7/10. We wanted more clicks. We could think of what was needed to increase the quality score. Sure, we could change the meta tag title and the adwords title to be the same as the single word keyword, but this would be less informative. We decided to keep these titles as phrases which include the brand name. First change we made: we increased the bid. After all, it was profitable for the two ads above us, right? We increased our bid from .50 to $1.50. Effect? Average position increased to 2.3 from 2.7. Click through increased from 4.5% to 4.9%. Cost per click went from .19 to .51. The incremental cost for each sale was......well really really high.....this didn't work. (oh, we rank #2 organically. Our organic CTR dropped from 3.2% to 2.9% with this change as well) Reversed back to where we were and decided to focus on the quality score. We realized that the keyword was part of an add group with about 20 other keywords. This word was important.....lets put it in it's own ad group. We then made an "exact" copy of the ad and started up a new ad group. Paused the old keyword. We very quickly realized that the quality score on this "same" keyword was now 4/10. That was odd....lets give it a few days......quality score drops to 3/10 and no longer qualifies for first page. What was different we wondered? AH! We capitalized the first letter of the word. Changing this took the quality score up to 6/10 instantly. hmmm, we thought capitalization didn't matter? Seems it did. We now wait to see where the quality score goes. Saga to continue....
Paid Search Marketing | | EugeneF0 -
How much does Google adwords cost increase year to year?
I am trying to find about how much the cost of Pay-Per-Click increases year to year? If anyone can point me to some data/study that speaks to this I would appreciate it very much.
Paid Search Marketing | | JerrodDavid0