Install on WooCommerce
Add the Kobbe tracker to WordPress when running WooCommerce.
WooCommerce runs on WordPress — use the same global snippet as WordPress. Token: Add the tracker.
Tracker snippet
<script
defer
data-token="YOUR_SITE_TOKEN"
src="https://app.kobbe.io/tracker.js"
></script>
Steps
- Add the snippet to your child theme
header.phpor a header-script plugin so it runs on shop, product, cart, and checkout pages. - Avoid loading twice (some plugins inject analytics globally).
Purchase measurement
Pageviews cover catalog browsing. Track important milestones with Custom events.
Verify
Browse a product and cart; confirm events in Kobbe as you define them.
Next steps
- WordPress
- Exclude visits for staging or admin