How to create blinking title in the address bar when the customers switch to other tab in the browser

Hura Product Showcase Builder

Some of your visitors simply forget to re-visit your site and leave your site, rather than buying from you. How to grab visitors attention before they leave your store forever?

It’s simple. Create an engaging custom blinking title in the address bar to attract them back to your store. It means whenever someone visits your shop and switches to other tab in the browser, the page title gets blinking with the message defined by you. This way to attract them back to your store and increase conversion rates by letting your tab decrease bounce rates.

DEMO

Shopify app store has multiple the apps that help you build this feature for your store. But you can build it manually via the below guide.

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. In the Snippets directory, click Add a new snippet.
  4. Name your new snippet alert-come-back, and click Create snippet:

    Your new snippet will open in the code editor.
  5. Into your new alert-come-back.liquid snippet, paste the below code:
  6. Click Save.
  7. In the Layout directory, click theme.liquid.
  8. Add the below code before close the body tag </body>.
  9. Click Save.

DEMO

Happy coding!

Hura Theme Blocks

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *