Benjamin Beaumont
Benjamin Beaumont

Reputation: 910

Google analytics 0% bounce rate with redirect

I am working with an legacy site that uses a central page to do some setup before redirecting to the requested page. We are seeing a 0% bounce rate for all these requested pages because this central page is becoming the referrer (options.asp).

It looks like google event tracking has a 'no interaction' option.. but I can't find anything similar for the main tracking code.

For clarity, this is an example of a request path. The following URL forces product pages to load a product page with French locale and language set.

www.website.com/fr/products/product-name/

this resolves to:

www.website.com/options.asp

The language and locale are setup and the user is redirected to the final location:

www.website.com/product/product-name/

While I realise this is far from ideal, it is what it is. In this case it's more practical to keep the legacy site running while we redevelop the site.

Upvotes: 0

Views: 1306

Answers (1)

DavidJBerman
DavidJBerman

Reputation: 955

You didn't really phrase this as a question, so I'm assuming that you are seeking to get an accurate bounce rate so you can improve site performance.

Google defines "Bounce rate" as: A bounce is a single-page session on your site. In Analytics, a bounce is calculated specifically as a session that triggers only a single request to the Analytics server, such as when a user opens a single page on your site and then exits without triggering any other requests to the Analytics server during that session. Sauce: https://support.google.com/analytics/answer/1009409?hl=en

If you do a redirect, your second page will never be a single page session. Other analytics tools may only calculate bounce rate if the landing page is the first page of the site. Sauce: https://www.quora.com/Why-are-some-of-my-pages-showing-0-bounce-rate

Recommended solution: Since you are using ASP try using the server.transfer function. What this will do is serve the page from the new URL without doing a redirect. Make sure that you use a canonical tag in your page header so Google knows what the correct url should be, and doesn't penalize you for having different content on the same URL. https://www.w3schools.com/asp/met_transfer.asp

Canonical tags: https://support.google.com/webmasters/answer/139066?hl=en

Upvotes: 1

Related Questions