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
-
My affiliate links are being crawled by Google. Is this a bad thing? Also, should I add rel: nofollow to affiliate links?
Hi All, I have an issue on Google Search Console. It seems all my affiliate links are being crawled. Is this a bad thing? The reason I found out is that all but one link was flagged with a warming. It goes on to say that it was blocked by robots.txt. The strange thing is that I've not set any links to be blocked in robots.txt. Also, should affiliate links be nofollow? I'm asking because I was recently sent this article by Yoast on how to properly cloak my affiliate links without using a plugin. https://yoast.com/cloak-affiliate-links/ In the method, they apply the nofollow and noindex rules to the links. I'm just a little confused on how to go about affiliate links the SEO friendly way.
Affiliate Marketing | | nomad_blogger0 -
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 -
Considering Using External Domain Name To Build Separate Community
We are currently working with a client who sells classic Chevy muscle car parts: www.classicmuscle.com. They also own OldMuscleCars.com which is being redirected to the classic muscle site. Through our remarketing efforts in Adwords, we've noticed a growing number of affiliate blogs/forums/auto community sites (ex: classiccars.com) where customers are hanging out and seeing our banner ads. Our thought is to potentially create a new community site centered around muscle cars in general (not just chevy which is CM's specialty) that can be used in part as a lead gen tool (banners and text links would lead back to the classic muscle site) as well as a platform to explore other highly sought after vehicles (potentially expand outside of current chevy models or into other brands like ford). My questions is what are the implications of creating a site like this and are there any concerns (ranking or otherwise) with linking back to the classic muscle site? We're already ranked well for a majority of our current target keywords so link juice is really a secondary motive to lead gen. Best regards, Ryan
Affiliate Marketing | | Trone0 -
Find all affiliate links in a custom CMS
I have a custom CMS. I offer a few affiliate products through my site. Now I need to update all my aff. links and I'm not sure how I can find all the pages (posts) on my site that have affiliate links. What's the best way to do that?
Affiliate Marketing | | VinceWicks0 -
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 -
Does Google look at Domain Registrar owner information when counting links into a site?
Question: If the domain registrar owner info is the same on two websites, will Google/other search engines discredit any linking between the two sites when calculating page rank? We have two company sites. One is our main ecommerce domain which we have been linking into from information domains in the past. We recently cut ties with the company that hosted them for us and wish to host them ourselves to preserve the inbound traffic. We are worried, however, that the traffic will be discredited now that we own both domains. Thanks for looking!
Affiliate Marketing | | tennisexpress0 -
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 -
Passing link juice via aff links?
Hi All, I know there was a recent post on this subject but I'm wondering if someone could take a look at these links and tell me if there is any SEO value in them at all and if not, what would be a way to improve them that might not be too much trouble for the affiliate? This URL: http://www.premiermodelskin.com/the-products/blemish-treatment has a Purchase button that passes product data (price, quantity, etc) directly to the basket of the host site (the site we want SEO benefit to). Using a form method to this URL: <form method="GET" action="<strong>http://www.monushop.co.uk/products/premier/blemish-treatment.html</strong>"> Qty <select id="add" name="add"> <option value="1" selected="selected">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </select> 15ml £16.25 </form> My question is, does G see that form GET action as a followable link? If not what would be a better method? Any feedback much appreciated.
Affiliate Marketing | | lovealbatross
Cheers
J0