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
-
Spent months creating links but Webmasters not picking it up
Hey Guys, I've been working on Blast My Deals.com an affiliate site which i have an issue hoping you guys can help with. For the past year and a half we created loads of links from multiple domains at-least over 700+ which Webmasters did pick up since then we've created even more links however when we go in to our Search Console "Links to your site" it shows 214 domains. It seems like our old links are being removed and our new links aren't being added. All the links we created have an average of DA40+ For the past 2 weeks ive noticed a significant drop in organic traffic and loosing our positions on our main keywords. Our DA has also dropped from 33 to 29 in a matter of 2 weeks. I checked everything including robots.txt, sitemap.xml but Im unable to find the reason for it.
Affiliate Marketing | | kazirahman0 -
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 -
Blocking external links in Robots.txt - need advice on Best Practice
I look after an affiliate site that is doing quite well in the search rankings. We've been doing a review of our practices and one thing that has cropped up is our robots.txt. In it, we disallow Google from crawling external links. This used to be best practice in the affiliate industry a couple of years ago, but I wanted to know if this is still the case, and what the implications are if we were to: a/ leave it as is? b/ allow crawling? Thanks in advance.
Affiliate Marketing | | Ben_Malkin_Develo0 -
Tweeting affiliate links...?
I work in the music business & am published music producer. I'm an authority in my niche. Yada yada. I have a website that sells products to other music producers. I recently set up an affiliate partnership with someone who is also in the music business but on the management side. She is not an authority to my customers as far as music making goes. But she does have a huge following of people who are EXACTLY who I am targeting. She has been tweeting my affiliate links. The traffic has been great, but the purchase response has not been. I've had much better responses from reviewers and other music producers who have tweeted my links. I was just wondering if anyone had any tips for the most effective ways of tweeting affiliate links? Thanks!
Affiliate Marketing | | PedroAndJobu0 -
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 -
Which affiliate programs pass the best SEO value through their links?
How good is Google at detecting the affiliate nature of those links? How does this rate as a linkbuilding strategy?
Affiliate Marketing | | menachemp0 -
Important question on affiliate links
The website I am working on is http://www.treadmillreviews.com. If you look at any of our affiliate links, they all have an href value of # or something that keeps the user on the page. However, there is an onclick="window.open('affiliate link URL')" code in them that has the affiliate link open in a new window. This website was set up to "hide" the affiliate links in essence this way. I just tried to make a PPC campaign in Google. Got shut down in about 20 minutes for being a "bridge page." Now, all of the content is original and not copied from anywhere. Supposedly Google could not see these links. Yet we got labeled how we did, and now I"m thinking it is causing rankings to hurt a bit. My question is, should I change how all of the links are set up? Should I make the href value be the affiliate link? It is a redirect like CJ.com uses. Should I nofollow those affiliate links? What is the best way to handle this problem? All help is appreciated.
Affiliate Marketing | | DanDeceuster0