URL Redirect Tracking

New Member
1 0 0

Is there any way to track the traffic coming from one of my URL redirects in Shopify (or Google Analytics)?

I have created the redirects within shopify and and trying to see how many people came from a certain redirect.

I created it by going to Online Store > Navigation > URL Redirects > (the old path > redirect to)

Example, I created a print ad in a magazine and gave a specific URL luckytacklebox.com/X (old path) to take them to luckytacklebox.com (redirect to homepage).  I can see the traffic for the homepage, but I dont know how many people came through the old path: www.luckytacklebox.com/X

Was wondering if there was any way within Shopify (or any other method) to figure that out. Please help.

 

0 Likes
Shopify Expert
244 0 38

The redirect is done on the server so only shopify can provide that information. And I don't think they do.

You could redirect indirectly via a urlshortner that does provide traffic stats. I think bit.ly does.

Technical SEO Consultant - Specialising in setting up Structured Data for Rich Snippets, Google Analytics for advanced reports and the Google Search Console for efficient crawling.
0 Likes
Highlighted
New Member
1 0 0

When looking around for a solution to this same problem I came across this post, so I thought I would offer my solution for anyone else that comes across it. My solution was to use UTM campaign query strings on the redirect. This will then track the data under Acquisition in Google Analytics.

 

For example, if I had a URL in a print ad for "mywebsite.com/myredirect" and I wanted to track how many people used that redirect I would put "/myredirect" in Shopify's "Redirect from" field, and then in the "Redirect to" field I would put my URL with UTM codes, such as: "/pages/newpage?utm_source=localtimes&utm_medium=newspaper&utm_campaign=my-campaign-name" 

 

In this case, when the visitor gets redirected the campaign data will be recorded in Analytics with a campaign name of "my-campaign-name", a source of "localtimes", and a medium of "newspaper". Obviously you set those variables to whatever makes sense for you.

0 Likes