This feature is only available on the Business Plan and higher.
The Sales Tracking feature lets you track purchases made by users who entered your promotion.
If a user enters your promotion and later completes a purchase on the same device and browser, the tracking pixel will record that sale.
Setup
To get started, install the sales tracking pixel:
Go to:
Analytics → Sales Tracking
You’ll see three installation options:
Standard Pixel – Works on any website
Shopify Pixel – For Shopify stores
BigCommerce Pixel – For BigCommerce stores
Standard Pixel Installation
Copy the standard pixel from your ViralSweep dashboard
Paste it on your post-purchase confirmation page (the page shown after checkout is complete)
Setting a purchase value
Static value (same amount for every purchase)
Update value=0 in the pixel to your desired amount (in cents).
Examples:
$9.50 →
value=950$25.00 →
value=2500$175.25 →
value=17525$999.99 →
value=99999
Dynamic values (recommended)
If purchase amounts vary, you’ll need to dynamically pass the value using your backend.
Your developer should calculate the purchase total before the page loads
Then insert it into the pixel
Example (PHP):
$value = 9999;
?value=<?PHP print $value; ?>
Shopify Installation
In ViralSweep:
Go to Analytics → Sales Tracking → ShopifyCopy the appropriate pixel(s):
Order Status Tracking Pixel (required)
Post-purchase Upsell Pixel (only if using an upsell app)
In Shopify, go to:
Settings → Checkout → Order Status PagePaste the Order Status pixel and save
(If using upsells)
Go to:
Settings → Checkout → Post-purchase pagePaste the upsell pixel
BigCommerce Installation
In ViralSweep:
Go to Analytics → Sales Tracking → BigCommerce and copy the pixelIn BigCommerce, go to:
Advanced Settings → Data Solutions → Affiliate Conversion TrackingPaste the pixel into the Connection section and save
Viewing Sales Data
To view tracked purchases:
Go to:
Analytics → Sales Tracking
You’ll see:
Visual charts of sales performance
A table with purchase data
Export options (including email addresses and purchase values)
Troubleshooting
Sales are tracking incorrectly
Possible issue: Pixel placed on the wrong page
Make sure the pixel is only on the final confirmation page after purchase.
If it’s placed earlier, it may track incomplete or invalid purchases.
All sales show the same amount
You’re likely using a static value.
To fix this, switch to dynamic values so each purchase reflects the actual cart total.
Sales aren’t showing in ViralSweep
Common reasons:
The user did not enter the promotion (only entrants are tracked)
The purchase was made on a different device or browser
Need help?
If you have any questions or need help with setup, click the chat icon in the bottom-right corner to connect with our support team.
