G-XXXXXXXXXX)| Type | When | Use Case |
|---|---|---|
| Pageview | Page load | Track page views |
| Click | Element clicked | Button tracking |
| Form Submission | Form submitted | Lead capture |
| History Change | URL changes (SPA) | React/Vue routing |
| Variable Match | Custom condition | Conditional firing |
Type: History Change
Event: pageview
Fires on pushState, replaceState, hash changes. No manual tracking needed.
Type: Click
CSS Selector: .buy-button
Event: purchase_intent
Properties:
button_text: {{system.clickElement.text}}
GA4:
Measurement ID: G-XXXXXXXXXX
Events: page_view, purchase, user_engagement
Facebook Pixel:
Pixel ID: 1234567890123456
Events: PageView, Purchase, AddToCart
Google Ads:
Conversion ID: AW-XXXXXXXXX
Conversion Label: YYYYYYYYYY
Programmatic consent:
zaraz.consent.setAll({ analytics: true, marketing: true });
| Feature | Default |
|---|---|
| IP Anonymization | Enabled |
| Cookie Control | Via consent purposes |
| GDPR/CCPA | Consent modal |
zaraz.debug = true| Resource | Limit |
|---|---|
| Event properties | 100KB |
| Consent purposes | 20 |