Page Redirect

Hi, I am looking to have a QR code set up to drive users to my youtube channel.
But, I want them to pass through my shopify store as a redirect (to youtube).
This saves any fuss should my channel get shut down and allows me to gather the user data for analytics.

Can anyone tell me if this is possible?

thanks

Hey @LittleMonsters ,

Could you explain a little further.

  1. User scans QR code

  2. User gets directed to Shopify Store

  3. User automatically then gets directed to YouTube Channel? Or user stays in Shopify Page and clicks a button to go to Youtube channel?

Any other detail I might have missed out.

correct!

So the idea is, they scan the QR on the packaging, which will take them to youtube. But the idea is, they will pass through shopify (as a redirect).
Benefits, if Youtube channel gets suspended, the QR code still holds value. And it will also allow for data gathering.

make sense?

I assume you know how to create a new page template in Shopify? It’s pretty simple, you can find the instructions online. Create a template dedicated for redirect and a new page just for redirect using that template. Then in that page, add a Custom Liquid Section and add the following code.

Replace http://www.youtube.com with your channel and make sure it’s within quotes. This code will ensure the user is redirected to the channel 1 second after the page has been loaded. The 1000 value is 1 second in milliseconds. I would delay it a few seconds just to make sure the data has been collected. You can also add a small text on the page saying “You will be redirected to my channel soon” or whatever message you like.