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 -
Guilty of keyword cannibalization. What's the best way to fix it without losing link juice?
Hi guys, I'm new here but I already spent hours reading the forums. I didn't post before because I didn't feel the need to, but today it's different. I don't want to take fixing steps that are not optimal for my website situation. So here's the problem : I am working on an affiliate website that is growing day after day and is already profitable. It is not by any mean a thin affiliate site. It's a french language website with product reviews on it. Right now there is 1 main page (hero page) per review in which I describe the products, put affiliate links, present useful information, etc. These pages have a good word count and I am targeting 1-2 main keywords on them which I consider a good practice. Couple of months ago I decided to add a product page for each one (normally it's 5 products per review) so I added 5 more page per review, targeting product names as new keywords. Problem is that : Product names are very similar to the main keywords (keyword cannibalization problem) There is very little added information on the product page when you compare it to the hero page (too thin) A lot of information is repeated on each of the product pages. I think this is bad. So I decided to keep only the hero pages to keep more link juice, avoid keyword cannibalization, improve page authority and get more content on one single page (only information that was not repeated have been added to hero page). I removed ALL THE LINKS to product pages (from the hero page). So now for my questions : Is it better to keep the product pages in my sitemap or to delete them right away? Is it better to let the product pages die by themselves over time or to 301 redirect all the product pages to hero page to keep link juice? The next question is a bit more complicated. Hope you guys understand what I mean. Considering that product pages are now gone, this will for sure weaken my bounce rate % because only hero page with good/deep information will be accessible to visitors (there is not a lot of internal links in each review, except to other, RELATED reviews). Is setting up goals in google analytics + telling google that it should consider a click on an affiliate link as a NEW PAGE VIEW (like it would act for a click on a link of a product on my own domain) will help for SERPs and SEO?? Or it will just help ME to see a lower bounce rate and setting goals? In other words, is tracking these links and let google see them as new pages clicks will help for the page rankings or not? Because from what I am understanding, a good bounce rate helps for rankings. If the changes made to avoid keyword cannibalization work, when could I potentially see the effects/benefits in the SERPs and trafic?
Affiliate Marketing | | benoit_20181 -
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 -
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 right way to link to your main site?
Hi, we have a system for tracking the leads that comes from a specific affiliate website. each affiliate has a unique tracking code. not only for affiliates that work with us but also for the SEO team has an affiliate tracking code so our bosses can track the leads and traffic that come from the activity of the SEO team. this means, links towards our website look like: www.mydomain.com/?t_src=campaign&t=AFF&t_cre=links&A=371 www.mydomain.com/?A=371 I have few questions about this: 1. This is the right way to link to my company site? How dose google crawl those link? It's can harm the link value? 2. What is my option to show my boss all the traffic / leads that our seo team brings to the site trough Google Analytics? Hope to get your support. Thanks in advance.
Affiliate Marketing | | JonsonSwartz0 -
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 -
Affiliate links and Panda
Hello all, my question relates to the recent panda changes and the subsequent impact on pages with affiliate links. I have a hub of pages on my website talking about parcel delivery. Each page has unique, quality content and up until about 3 weeks ago they were starting to achieve strong rankings. We then decided to add some affiliate links (just 3) on each of the 5 parcel related pages we have. The rankings for each of these pages have tanked completely; rather than top 20, we're now outside of the top 100 for all of them. When we noticed this we masked the link, changing it to domain.com/index/affiliate; we also no followed the link. Alas this has had minimal effect in restoring the rankings. What i'm now thinking of doing is removing the affiliate links from the parcel landing pages altogether and instead providing users with a no followed link to another page within the site upon which we would have the affiliate links. This page would also be no indexed as well. My question is: Is this a good idea and if so will it restore my previous rankings over time, or have those pages (as a result of the affiliate links) been permanently down graded?? Any assistance would be gratefully received!
Affiliate Marketing | | danielparry0 -
Effectiveness of Landing Page Goal
Let's say you have a landing page that aims to get people to click on an affiliate offer. Now to measure the effectiveness of that landing page in Google Analytics, We would bring up the page stats, like the image attached. Would I be right in assuming the people clicking on my affiliate link (and leaving my site) would be included in the "% Exit" stat. Of course this figure also includes those that either close their browsers, or typed something in the address bar. ... And the "Bounce Rate" are those that clicked on the Back button on their browser. Is that right? 55Qxx.png
Affiliate Marketing | | twenytwo0