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
-
Does Canonical Tag passes link juice to the original URL?
We are using Canonical tags at almost all the pages of our eCommerce website. We have various sorting options like "High to Low", "Best Sellers", etc., due to this page URLs get change with some dynamic URL parameters. To avoid duplicity, we are using canonical tag on each page which point to the original url. Also, we are using IBM Coremetrics to track traffic and conversions, but to measure referral traffic in Coremetrics, we have to add tracking parameters in the URL. So, while link building we need to share URLs with Coremetrics tracking parameters in the URL, but the canonical of this page is pointing to the original URL. Suppose we have a Page that needs to be shared with Coremetrics tag: domain.com/category-name/?cm_mmc=Referral_-xyz--izUPF8VmRng--3 This Page has the canonical tag pointing to the original url: domain.com/category-name/ My question is if the URL: domain.com/category-name?cm_mmc=Referral_-xyz--izUPF8VmRng--3 got shared on other websites, will it pass link juice to the original URL: domain.com/category-name.
Affiliate Marketing | | Ramendra.Singh0 -
Before I request hundreds of links for "nofollow" I want to verify I'm doing the right thing
Happy Thanksgiving Mozers, In my efforts to get rid of a Google penalty, I've come to the conclusion that all the travel agents who link to our site with a unique code, are technically affiliates because they get commission. Therefore we need to get all of them to switch their links to "rel=nofollow". I'm worried this shift will cost us in search rankings, especially since none of our competitors require nofollow tags. So before I actually begin requiring the switch, I wanted to just double check that I'm not misinterpreting Google. Our travel agents are paid commission on every sale (whether their customers click the link from their website to ours, or calls in and gives us that agent's code. So even though our travel agents aren't technically part of an "affiliate program" run through CJ or anything, they are in Google's eyes affiliates of my company. Therefore their links with their personal codes all need to be nofollow. Am I correct on this? I can't find anywhere where Google goes into great depth explaining various types of affiliates.
Affiliate Marketing | | Patrick_G0 -
What impact do affiliate links have on SEO
We commonly reference engineering standards on our site (because half our products are known and searched for by those standard names) and have just signed up as an affiliate to an organisation that sell the standards. Which seems a nice match We're going through and making sure all are no follow now because that seems the general advice - but should we be doing anything else? Yoast says you should mask affiliate links - https://yoast.com/affiliate-links-and-seo/ - but that was from 2010. Matt Cutts is fairly clear on nonfollow - http://www.webpronews.com/heres-what-googles-matt-cutts-says-about-affiliate-links-and-nofollow-2012-06 - but not on whether it affects SERPS Does it? And what is the best way to handle it? This is a typical example of a page where we would have an affiliate link or two. http://www.oakleysteel.co.uk/fake-mill-certificates-en10168
Affiliate Marketing | | Zippy-Bungle0 -
Links exchange - Penguin update potential ??
Hi Everyone, If site A and site B exchange links in the past, it used to be kind of voided. So it is a practicve that we had pretty uch put on the side. But with the new penguin update, do you guys think that if 2 web sites are contacting each other to share a link in the interest of the user that it might be a new best practice to implement? Example, Car site contact car suspension site to exchange a link on relevant content such as blog articles or specific content on a page. What are your thoughts about that ? I am curious to know if anyone is wondering abouot that... Thanks, Alex
Affiliate Marketing | | webit400 -
I need help setting a campain
I am setting a campaign and I put the first page as a main route. Sample www.sample.com On this page people need click on a enter button because it is and adult page. After that everything redirects to www.sample.com/home.php Where you find all the links on the web page such as about, blogs, contact, promotions and so on. The problem that I see it's that I already set up the campaign but detects only one page. How can I see the errors of missing meta tags of the other inside pages. Should I set up the campaign and in my domain shall need to be www.sample.com/home.php instead of www.sample.com any wise advise on this?
Affiliate Marketing | | lnietob0 -
Affiliate code in urls? affiliate link landing pages?
Is it considered a good or bad practice to have the affiliate code present in your affiliate link url's ? (as opposed to disguising them with something like phpbay) Does the general public not scour the hover-over url's of links they click? Also, is there any way of keeping customers on site when they click affiliate links? (via frames or something more modern) Or is that frowned upon by advertisers?
Affiliate Marketing | | Mozzin0 -
I need some feedback on the value of affiliate aggregators like Link Share
My company decided to start a Link Share affiliate program at the beginning of this year. I've had serious reservations about the value of the program since the beginning but was overruled. Here are my concerns: The majority of publishers seem to be coupon scraper sites or borderline link farms I am told the biggest revenue earners in our network are publishing articles about my company with links back to our site but if they are Google Alerts sure isn't finding them and a manual search hasn't turned up anything either. This makes me think these publishers are using some sort of unsavory way to drive traffic to our site or maybe even cookie traffic that was coming to our site anyway in order to get credit for the sale. Most of all I'd like to hear from anyone else who has used Link Share in the past. Secondly I realize there's not a lot of information here but I'm wondering if this passes the smell test for anyone else. Any feedback would be appreciated.
Affiliate Marketing | | eTundra0 -
Hiding Affiliate Links
Hello, Currently I'm developing a website that will contain a lot of affiliate links (5000). This is because I'm going to compare the prices of a lot of products. The visitor can go to all websites (my advertisers) that sell these products via affiliate links. My question is how to hide these affiliate links. I've read lots of solutions, like: cloaking, rel=nofollow, using JavaScript, 301 redirects. I would like to know what the best solution is to deal with these affiliate links for SEO. Regards, Martijn
Affiliate Marketing | | MartijnWijbenga290