Setting up external link goals in GA
-
I have recently switched all my travel affiliate links to TripAdvisor using their javascript code that converts the natural links (direct links to TA URLs) to affiliate links. I have set up goal tracking in GA to try to put a monetary value on clicks through to these links (based on the known conversion rate to commissionable bookings) but GA is over-reporting the goals by a very large margin. I'm wondering what I've done wrong.
The first screen shot below is of the goal settings I used in GA.
The second screenshot shows that GA is reporting 7125 goal completions since I set up the goal on 7 August.
The third screenshot shows the actual number of GA events recorded on outbound clicks to TA URLs in the same period, which is just 97.
So the goal completions being recorded far exceed the actual goal completions, but I'm not sure why. I know I've done something wrong but as this is the first time I've used goals, I'd appreciate some help to see what I've done wrong.
Thank you.
3f7dc3de6f9f1373d47994144a5cb016 56aa39130a7d54b07d8f2ce9cf1d7fb0 35ee827275928ca8c4d4c941f0672ef8
-
I'm with Alick300, using an event on the onclick event on the link is the way to go. If you run jQuery on your pages, it should be pretty easy to select all the links going to tripadvisor.com and attach the goal tracking event code after the page has loaded. It'll be 1 line of jQuery code... you shouldn't need to go through and add this to thousands of links by hand.
-
Thanks for the suggestion, I am very familiar with event tracking codes but that approach means having to add tracking code to 1000s of outbound links on my website, which is something I was trying to avoid.
I recall there used to be a way to do this automatically with javascript but I can't find it at the moment.
-
Hi,
I think you are doing wrong because you are using tripadvisor.com as destination URL.
You can track affiliate clicks using event tracking. I'm sharing a video tutorial link for this @ http://www.matthewwoodward.co.uk/tutorials/how-to-track-anything-with-google-analytics/
*****You have to change on thing only from above tutorial -
onclick="_gaq.push(['_trackEvent', 'category', 'action', 'label']);"
to onClick="ga('send','event','category','action');"Or if you have difficulty use this tool to create the event tracking code @ https://gaconfig.com/google-analytics-event-tracking/affiliate-link/
Hope this helps.
Thanks
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
-
Will GA Autotrack affect affiliate sites not using autotrack?
I want to add autotrack.js to affiliate quote forms hosted on my site. However, I do not know how it will affect affiliate websites (not associated with my quote forms, but with the same Google Analytics code, that do not use autotrack. I read that "Autotrack is not an official Google Analytics product and does not qualify for GA Premium". Will it harm my affiliates in any way to have autotrack on their quote form but not on their websites? It will have their GA website tracking number.
Affiliate Marketing | | RoxBrock0 -
How do you find Affiliate Links on your site that have not been nofollowed?
We've just signed up to an affiliate scheme because we were sending links to them because we thought their product was valuable to our users. So we now have to go through and nofollow all of these links over 100's of pages. Is there any way that do a crawl of the site to identify all links to a particular site and tell me what page they are on and whether they are nofollow/follow?
Affiliate Marketing | | Zippy-Bungle0 -
Issues with centrally hosting your own affiliate links?
Can anyone see any issues centralising affiliate links across a network? Example - many of us would use some kind of redirect from our sites like abc.com/go/afflink1
Affiliate Marketing | | RaceMedia
bcd.com/go/afflink1 using either htaccess, php or javascript to redirect to the affiliate site But as your network of site grows - to change a link involves visiting 40 sites to change each of the files in the "go" folders. Would there be any net effect from using an otherwise vacant domain to host the links - so they only need to be changed in one place? Example
abc/go/afflink1 links to afflinks.com/1 which then redirects to affiliate site
bcd/go/afflink1 links to afflinks.com/1 which then redirects to affiliate site So all your links across the network for afflink1 would point to your afflinks.com/1 Any changes only require changes to one file afflinks.com/1 Assuming there is nothing else on afflinks.com - would there be any issues? Assume all links no followed and afflinks.com noindex. AND.... our redirects have been in place for some years using javascript,php or .htaccess. What is the current best practice for redirecting affiliate links?0 -
What is the best way to boost no. of quality sites linking in?
Analysing my site ranking compared to competitors, I see that our weakness is getting others to share our content and link into it via their own blogs and social media - although I would say our social media activity is pretty good. We have also worked on getting listed free on relevant sites related to our product area (learn spanish in spain) in order to increase sites linking but this is still minute compared to our 2 main competitors. (As a note: paid listings are not totally justifiable for us at this point in time but perhaps in the future we will expand on this). Am I missing something here?
Affiliate Marketing | | sparkit0 -
What is the negative effect of getting affiliate links to your domain?
Are the negative effects of affiliate links to your domain bigger than the positive effects? Is it better to use a subdomain for your affiliate campaigns? (Because of linkprofile no follow links or time on page effects?) Thanks for responce!
Affiliate Marketing | | ltom0 -
Link Building Intricacies
I'm about to embark on link building campaign. I have several key phrases that I want to develop such as "health & fitness products" and "vitamins & supplements". My site is specifically targeted at Australia men. Should I also aim to include the words "Australia" and "men" in my link anchor text? Or should leave the qualifiers to the title tag for my destination url? I'm also wondering, by having "health & fitness products" as my link anchor text and the same text in my title tag for my destination url, will that build value for the various keyword variations in my keyword phrase such as "health & fitness" and "fitness products"? Thanks!
Affiliate Marketing | | B-man0 -
Link exchange
Folks I just thought to myself that this forum must be filled with lovely SEOs who are busy working on multiple clients.... I'm very new to the industry myself... about a month into it 🙂 Any-hoots I was just wondering if anybody is working in a category that may be suitable for a link exchange with http://bluetea.com.au/ .... Please let me know
Affiliate Marketing | | PHDAustralia680