Google Analytics Redirect Tracking Guide
Redirects are a very valuable tool for both webmasters and marketers. Redirects let marketing and advertising departments advertise short, simple URLs that buyers can remember while directing them to the frequently long and difficult URLs that house the offered products. Webmasters can also use redirects to change outdated URLs to more recent ones. Webmasters can reroute users who have saved outdated, nonexistent URLs to their more recent equivalent in this method.
One thing to keep in mind is the value of monitoring each redirect. If a page doesn't run the analytics tracking code, analytics solutions like Google Analytics won't be able to track a visitor's visit. A webmaster won't be able to follow the redirect if your redirect page is a blank page with no coding besides the redirect code. Thankfully, there are workarounds for this.
Tracking a 301 redirect
You can effectively inform search engines that this page has relocated permanently by using a 301 redirect. As a result, adding campaign tracking to the URL you redirect to is your best option. You can keep track of how frequently this reroute happens in this way.
Finding a JavaScript redirect's location
Using the campaign tracking method described above, you can track a JavaScript redirect; alternatively, you can insert the Google Analytics tracking code on the redirect page in the body area before to the redirect code. This will make it possible to guarantee that the tracking script is parsed prior to the redirect. By looking at your Top Content or Top Landing Pages, you can keep track of each redirect (under Traffic Sources).
© 2019