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!
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
-
What determines the page order of site:domain?
Whenever I use site:domain.com to check what's index, it's pretty much always in the same order. I gather from this, the order is not random. I'm also reasonably certainly it isn't related to any page strength signals or ranking results. So, does anyone know why the pages are displayed in the order they are? What information does the order of the pages tell me? Thanks, Ruben
Reporting & Analytics | | KempRugeLawGroup1 -
Large number of Temporary Redirects
Hey, I own a large ecommerce site with a few thousand products. The platform we are using adds a default French, English, and German store. It is not out of the question to offer french version of our site in the future, but for the time being we have added temporary redirects on these pages back to the main (english) version. In my Moz analytics, there are 1000+ pages with temporary redirects, and Moz classifies these as medium priority. Is there a better solution to dealing with these default language pages? Thanks,
Reporting & Analytics | | evan890 -
Are organic search visitors always seen as organic in origin, even if their return to the site is direct?
Many of our conversions occur in a customers second visit to the site. Often, a customer will arrive at our site, submit a finance application, leave, and return at a later date to checkout. We are interested in tracking how many of our checkouts come from customers who originally found our site through an organic search result. If a customer enters the site through organic search, leaves, and returns later through an email link or directly entering our URL, will G analytics show that customer as direct or organic origin? Cheers, Ben
Reporting & Analytics | | WSPL0 -
Linking Multiple Niche Site In Same Google Analytics Account
Hi, I am providing SEO for Local business. Is it advisable to separate out the Google Analytics into different Google account or is it ok to remain it this way? Some of the client might be in the same niche, and might be competing with the same keywords as well. What I was worried is, Google might see these sites as same owner and only rank for 1 of the site. I was thinking to get the owners to register for their own Google Analytics and share the access to me.
Reporting & Analytics | | JonathanSoh0 -
Local site rankings have dropped off first page but Universal went up.
My site was performing first page locally on 6 of 20 keywords, and universally on 3 of 20 keywords. We started a link building campaign and optimization about 3 weeks ago. When I looked at the rankings today I was happy to see that 16 of 20 keywords were in the top 20 rankings universally, but not happy to see that only 1 of the 25 words were ranking locally now. I lost my local ranking on 5 very important keywords. I realize that you can not rank first page for both local and organic but its as if I traded my first page local ranking for a universal ranking that appears lower on the page. Maybe someone could point me in the right direction.
Reporting & Analytics | | whmgatx0 -
How would you measure the SEO success of new site launch?
It has been 12 months, and it is time for some serious SEO reality check up. I think we have done some really nice things (social integration, on page optimization etc) but we honestly could do a million time better on some other elements (anchor, text, link building etc...). Would love to hear from the community what would be the top 10 criteria you would use to judge the quality of the SEO work done for a new site during is first 12 months. PS: we are a very content rich over 1,500 new articles/post in our niche with 12 months - our site is migraine.com Thanks
Reporting & Analytics | | OlivierChateau0 -
Setting up Analytics on a Site that Uses Frames For Some Content
I work with a real estate agent and he uses strings from another tool to populate the listings on his site. In an attempt to be able to track traffic to both the framed pages and the non-framed pages he has two sets of analytics code on his site - one inside the frame and one for the regular part of the site. (there's also a third that the company who hosts his site and provides all these other tools put on his site - but I don't think that's really important to this conversation). Not only is it confusing looking at the analytics data, his bounce rate is down right unmanageable. As soon as anyone clicks on any of the listings they've bounced away. Here's a page - all of those listings below " Here are the most recent Toronto Beaches Real Estate Listings" are part of a frame. http://eastendtorontohomes.com/toronto-beach-real-estate-search/ I'm not really sure what to do about it or how to deal with it? Anyone out there got any good advice? And just in case you're wondering there aren't any other options - apart from spending thousands to build his own database thingie. We've thought about that (as other agents in the city have done that), but just aren't sure it's worth it. And, quite frankly he doesn't want to spend the money.
Reporting & Analytics | | annasus0 -
Organic bounce rate after site re-launch
3 months ago a client of mine re-launched theoir web site (after having a lot of work done on it). Since then, many of the SEO indications are good - more non-paid keywords sending search visits, more organic visits overall, more URLs receiving entrances via search, etc. The issue is that their bounce rate has been increasing pretty much EVERY week since. Has anyone seen a similar issue and what could a potential solution be for this? Thanks everyone!
Reporting & Analytics | | CathalOMaoilfhinn0