In this post, I will share how you can reduce the time required to automatically redirect the website.
Pleases note this requires you to make a minor edit to your theme file.
Here are the steps
- Go to Settings -> Speed up Automatic Redirect Menu
- Copy the URL displayed on the page.
- Paste the URL in the head section of your theme file.
Save and reload the website. This will speed up the automatic redirect multiple times.
By default, Shopify loads the app js after finishing the page load. As a result, it takes a few seconds before the redirect takes place. So once we paste the app js in the head section, the redirect will take place as soon as the page starts loading. This speeds up the redirect significantly.
This will ensure that the visitor is redirected before the website load is completed.