Custom/Self-Hosted – How to Track Foxy Purchases
Why track Foxy purchases?
Track the end-to-end purchase process from your site to checkout and successful purchase
Attribute sales to campaigns, traffic sources, A/B tests
Run split tests with purchase events as conversion goals
Preserve a cookie-free, privacy-compliant analytics stack—no banners required
Prerequisites
Your main website already loads the global
hmbl.min.js
script (36 kb, async).You can log into the Foxy admin panel and manage integrations.
Step-by-Step Setup
1 · Copy your Humblytics webhook details
In your Humblytics dashboard:
Navigate to Site Settings → Revenue.
Copy the Foxy Webhook URL.
Copy the Encryption Key—you'll paste both values into Foxy.
Keep the Humblytics tab open. You'll need to confirm the integration after you finish in Foxy.
2 · Configure the Foxy JSON webhook
In the Foxy admin panel:
Log into your Foxy account.
Go to Integrations → Webhooks.
Enable JSON Webhook.
Add a new webhook, pasting the Humblytics Webhook URL you copied earlier.
Paste the matching Encryption Key from Humblytics.
Select
transaction
events.In API filter, include
zoom=items,customer,custom_fields,subscription
.Save your webhook configuration.
3 · Verify tracking is working
Complete a test purchase on your live site.
Open Revenue → Foxy (or Revenue → Integrations) in Humblytics.
Confirm that the transaction appears with line items and customer details within about 30 seconds.
Once the webhook syncs, Humblytics automatically attributes the revenue to the visitor journey captured by the global script.

Key Benefits
Cookie-free
No consent banners or CMP required
End-to-end tracking
Complete customer journey visibility
Works on every plan
All Humblytics tiers support custom events
Split test ready
Use purchase events as conversion goals
Setting Up Split Tests with Purchase Goals
1 · Create a split test on your main website
In Humblytics, navigate to Experiments → Create New Test.
Set up your A/B test variants on your main website.
Choose Revenue Event as your goal type.
2 · Configure the conversion goal
Select the Foxy transaction revenue event created by the webhook.
Set No Overlap for more accurate results with purchase events.
Launch your split test.

Optional Enhancements
Funnels: Create a funnel from landing page → product page → checkout → purchase using the Foxy transaction event for completion.
Campaign Attribution: Use UTM parameters on your marketing campaigns to see which sources drive the most sales.
Advanced Events: Track additional Foxy events like cart abandonment or upsell interactions.
For advanced use cases—custom Foxy events, multi-step funnels, or complex attribution models—email [email protected] and we'll guide you through.
Last updated
Was this helpful?