Redirects to external sites
-
Hi there,
I have listings that all link to external sites. In order to track how many times each link was clicked I coded a redirect script that simply redirects to the respective url.
www.mysite.com/go/123/ - redirects to another site
www.mysite.com/go/541/ - redirects to a different site
Is there anything I should or should not do from seo stand point such as blocking the /go directory in robots or adding a no-follow tag to links? I'd appreciate your advice. Thanks
-
Hi Vitaly,
1. The common way to track clicks is by using Google Analytics and event tracking. It's well documented by Google, and many websites use it:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
Basically, you add a bit of code to every link you want tracked, like so:
[Play](#)
And these clicks show up as events in your Google Analytics report.
2. Redirects like the type you describe are very often used with affiliate links. By redirecting through an internal url, you can not only track the link, but this gives you an opportunity to obfuscate the nature of the link from Google, something many affiliate marketers like to do. (Personally, I don't think Google gives a hoot if you link to affiliate sites, but that's a different story.
Typically, the redirect directory, often called "go" as in your example, is blocked by the robots.txt file.
User-agent: * Disallow: /go/
If the redirect passes through an actual web page, then there are other ways Google might crawl and index these pages, and they certainly don't help your rankings, so you'd want to additionally block them with a robots NOINDEX tag. (most of the time, the "go" directory is not an actual webpage, but a program file that performs the redirect without rendering a page, so this usually isn't necessary.
Personally, in most cases #1 is easier and more direct than #2, but which method you choose will depend on your individual goals.
Hope this helps. Best of luck with your SEO!
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
-
High bounce rates consistent with a login that takes you to a 3rd party site?
My firm has a credit union client whose bounce rates skyrocketed after implementing an online banking portal. Logging in to the online banking portal takes you to a 3rd party site. Would arriving at the site and immediately logging in be considered a bounce? And if so, would a high bounce rate actually correlate with a warm reception to their online banking tool?
Reporting & Analytics | | TheKatzMeow0 -
What is the most effective way of selecting a top keyword per page on a site?
We are creating fresh content for outdated sites and I need to identify the most significant keyword per page for the content developers, What is the best way to do this?
Reporting & Analytics | | Sable_Group0 -
.com site referral traffic to ccTLDs
We have 7 international domains set up along with our main .com site. All of the ccTLds are showing their main referral traffic as coming from the .com site in GA, and most of those being from mobile. Each site is set up correctly with geo-targeting and hreflang tags. Has anyone experienced this before?
Reporting & Analytics | | ggpaul5620 -
Google Analtyics during site redesign
Hi, We will be launching a new redesign for our website. There will be new URLs and navigation and almost everything (except for static pages like about and contact) will be different. The overwhelming opinion seems to say that it's important to keep the same Google Analytics profile. How can we compare the past URLs to the new ones if they are completely different. Does anyone have any experience in this? Did you create any segmentation? Thanks 🙂
Reporting & Analytics | | WSteven0 -
What are the consequences of doing a 301 redirect?
Just recently we did a redirection from a website that is ranking very well. The redirection was done through redirecting the page of the website A to the related page of website B. Website B raked massive traffic in the first week and have increased its ranking among Google searches but recently the traffic seems to decline. Website A which was ranking very well before redirection is now nowhere to be found on Google search. Is this a consequence of doing redirection? Please help.
Reporting & Analytics | | ISMEPTYLTD-SEOMOZ0 -
How long after a redirect should we see results?
In mid September we had to so some redirects from old URL's to new URL's. We haven't seen a significant jump in traffic so we are wondering how long this might take before we see a change. We are the brand so we should be getting some sort of authority from Google, yes? Any tips that can be offered would be grateful as we are stumped.
Reporting & Analytics | | K2_Sports0 -
Is the link data from Open Site Explorer in real time or an average?
I just started using Open Site Explorer to track internal and external link data. Is this information given in real time or is it an average over a specified period of time?
Reporting & Analytics | | mequoda0 -
Duplicate Content From My Own Site?!
When I ran the SEO Moz report it says that I have a ton of duplicate content. The first one I looked at was my home page. http://www.kisswedding.com/ http://www.kisswedding.com/index.html http://kisswedding.com/index.html All of the above 3 have varying internal links, page authority, and link root domains. Only the first has any external links. All of the others only seem to have 1 other duplicate page. It's a difference between the www and the non-www version. I have a verified acct for www.kisswedding.com in google webmaster tools. The non-www version is in there too but has not been verified. Under settings for the verified account (www.kisswedding.com), "Don't set a preferred domain" is checked off. Is that my mistake. And if so, which should I select? The www version or the non-www version? Thanks!
Reporting & Analytics | | annasus0