How can I install a scroll progress bar on my ecommerce website?

Topic summary

A user seeks guidance on installing a scroll progress bar (specifically a gradient version) on their Shopify store. They want this feature to encourage visitors to spend more time on the site.

Solution Provided:

  • Another user shares a tutorial link for implementing this using Vanilla JavaScript
  • A live CodePen demo is also referenced for viewing the implementation in action

Status: The question has been answered with technical resources, though implementation details remain with the original poster.

Summarized with AI on November 22. AI used: claude-sonnet-4-5-20250929.

But how do I install it on my Shopify shop?

Perfect example:

https://noughtsandones.com/plugins/gradient-scroll-progress-bar

But no clue how to install it on my website.

Reason why I want this on my webshop; it stimulates visitors to commit their time longer on my website.

Help is really appreciated! Beers for the people helping out! :grinning_face_with_smiling_eyes:

Hello!

You can follow the steps here to do this using Vanilla JS.

You may also view it live on CodePen here.

Thanks!