Articles on: Shopify Apps

How to Add the Visitors Counter to PageFly Product Pages

Introduction


To display the Visitors Counter on your PageFly product pages, you can manually insert a code snippet using PageFly’s HTML/Liquid element. Follow these steps to set it up correctly.


Steps to Add the Visitors Counter to a PageFly Product Page



Click here and open the PageFly app in your store admin.
Navigate to the Pages section of PageFly.
Choose the product page template where you want to show the Visitors Counter and enter the Page Editor.
In the PageFly Product Editor, click on the Elements icon in the left sidebar.
Then, type HTML in the search box.
Click on the HTML/Liquid option that will appear.
Drag and Drop the HTML/Liquid option that will appear in the rightest side of the sidebar.



Position the HTML/Liquid block where you want the Visitors Counter to appear.

When you are done, click on the Open code editor button that will appear in the right side of the screen.



Paste the following Code Snippet into the editor:
<div>
    <input pvc-atc-override="true" style="display: none;" pvc-override="true" />
</div>


Click on the Done button that will appear in the bottom of the screen:




Click on the Save button at the top of the page and save again if requested.

Click on the Publish button at the top of the page and publish again if requested.

Conclusion


By following the above steps, you should easily add the Visitors Counter to your PageFly product pages.

If you have any questions or need further assistance, please don’t hesitate to reach out to our support team via chat or email. We're here to help!

Updated on: 25/03/2025