The Visitor Counter lets you display the number of visitors viewing or who have recently viewed a product. Showing real-time customer activity creates a sense of urgency, encouraging shoppers to complete their purchase before they miss out.
Whether you're promoting a best-selling product or a limited-time offer, the Visitor Counter helps build customer confidence by showing that other shoppers are interested in the same product.
Example Badges:
56 visitors in the last hour
7 people are currently viewing this product
How to Add the Visitor Counter
Displaying the Visitor Counter is simple.
Step 1: Open Dynamic Data Fields
Navigate to:
Prime Dashboard → Dynamic Data Fields
Step 2: Configure Visitor Counter Settings
Open the Visitor Counter Settings page. Select the timeframe you want to use when calculating visitor activity.
For example:
- Last 15 minutes
- Last 30 minutes
- Last 1 hour
- Last 24 hours
Save your changes.
Step 3: Add the Dynamic Data Field
While creating or editing a Badge, insert the following dynamic data field into the badge text:
{{VisitorCounter}}
Example:
{{VisitorCounter}} visitors in the last hour
or
{{VisitorCounter}} people are currently viewing
The badge will automatically display the visitor count based on the timeframe configured in the Visitor Counter settings.
Example Use Cases
Use the Visitor Counter to create engaging badges such as:
- 56 visitors in the last hour
- 7 people are currently viewing
- 124 shoppers viewed this product today
- Trending Now – {{VisitorCounter}} recent visitors
Important Notes
- The
{{VisitorCounter}}dynamic data field is available for Gold plan users only.- Visitor Counter badges are supported only on Shopify product pages. They are not displayed on collection pages, homepage, search results, or other store pages.
- If your subscription is downgraded from the Gold plan, badges using the Visitor Counter will stop displaying until you upgrade again.