How to redirect to another website with tracking?


Our website promotes a web-based application that's actually on another site (in the apps center). When someone hits the "sign up" button on our website, it implements a redirect as it takes that visitor to eBay's apps center to actually sign up for the product. We do that so we can pass information to Google Analytics about the source of those individuals. So i can tell X people from SEM clicked over to the eBay Apps Center and Y people from a banner ad clicked over, etc. Otherwise all source information is stripped out as they go through

The question (finally) - this redirect takes 5 seconds which seems like an eternity. Is there any standard for doing this type of redirect implementation that perhaps we're not doing correctly?

Any help greatly appreciated,

Marketing Analytics Website

asked Apr 30 '11 at 05:07
4,214 points
Top digital marketing agency for SEO, content marketing, and PR: Demand Roll
  • By "redirect", what exactly is the URL on the button? Does it take you to another page that redirects you, or...? – David Benson 13 years ago
  • Yes, it takes you to another page for 5 seconds then to the destination page. – Chris 13 years ago
  • I agree, this is a programming/logical problem. – Rg 3 12 years ago

3 Answers


If you're doing the redirect with Apache rewrite rules, then look at the "RewriteLog" settings. You can log apache redirects to a file, which you would then later parse to get details on the redirects you served up.

The redirects should be almost instant, I don't know why they are taking 5 seconds.

If the above isn't helpful, tell me how exactly you are doing the redirs and maybe I can think of something more specific to your application.

answered Sep 29 '11 at 20:13
Brian Karas
3,407 points


Try event tracking in analytics if you are not already it may be quicker than your current method of tracking. And is the redirect happening client side or server side? I would use server side header redirect on click of the signup button. Or post the form with AJAX and redirect the visitor maybe the form loading is taking longer to complete?

answered Dec 6 '11 at 21:02
293 points

1 tracks link redirection analytics.

You can also try embedding your target site wrapped in an iFrame with the main HTML still retaining your tracking codes.

answered Jul 31 '11 at 12:06
Will Ko
268 points

Your Answer

  • Bold
  • Italic
  • • Bullets
  • 1. Numbers
  • Quote
Not the answer you're looking for? Ask your own question or browse other questions in these topics:

Marketing Analytics Website