Webtracker
Track visitor behavior on your website to power personalization, retargeting, and analytics. Webtracker integrates with the CM.com CDP to enrich customer profiles with browsing data.
Quick start
Add the Webtracker script to your website:
<script
src="https://tracker.cm.com/webtracker.js"
data-account-id="YOUR_ACCOUNT_ID"
async>
</script>
This automatically tracks page views. To track custom events:
window.cmTracker.track('add_to_cart', {
product_id: 'PROD-123',
price: 29.99,
currency: 'EUR'
});
Key capabilities
- Visitor tracking — track page views, clicks, and custom events
- First-party data collection — collect data without third-party cookies
- Cloudflare integration — deploy via Cloudflare Workers for optimal performance
- CDP sync — automatically enrich customer profiles with browsing behavior