Files
dotfiles/dot_agents/skills/cloudflare/references/zaraz/configuration.md
T
Prad Nukala 6406208b35 shell: fish functions -> ~/.local/bin executables + bash/zsh ports; manage ~/.agents
- 16 cross-shell utilities converted to sh/bash chezmoi executables:
  ai c2p cp-appid extract_agents fab gdc gh-sonr-org-migrate ghg-clone
  ghn gho git-summary launch_omp_livediff_overlay lc-elir mdcp mdp pj
  (ghg-clone not named ghg: unrelated cargo binary owns that name)
- cwd/history helpers stay per-shell: yy c cd clip-last + ghg/ghn/gho
  cd-wrappers in bash/functions/ and zsh/functions/, loaded by rc files
- fish keeps only shell-state functions; converted ones now hit PATH
- cp-appid ignore gating moved to .local/bin path
- dot_agents/skills: 82 skills materialized from dotstate storage so
  dot_claude skill symlinks resolve on fresh bootstrap; dotstate
  profile/symlinks.json released .agents/skills .bashrc .zshrc
2026-08-10 15:15:06 -04:00

1.8 KiB

Zaraz Configuration

Dashboard Setup

  1. Domain → Zaraz → Start setup
  2. Add tool (e.g., Google Analytics 4)
  3. Enter credentials (GA4: G-XXXXXXXXXX)
  4. Configure triggers
  5. Save and Publish

Triggers

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

History Change (SPA)

Type: History Change
Event: pageview

Fires on pushState, replaceState, hash changes. No manual tracking needed.

Click Trigger

Type: Click
CSS Selector: .buy-button
Event: purchase_intent
Properties:
  button_text: {{system.clickElement.text}}

Tool Configuration

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
  1. Settings → Consent → Create purposes (analytics, marketing)
  2. Map tools to purposes
  3. Set behavior: "Do not load until consent granted"

Programmatic consent:

zaraz.consent.setAll({ analytics: true, marketing: true });

Privacy Features

Feature Default
IP Anonymization Enabled
Cookie Control Via consent purposes
GDPR/CCPA Consent modal

Testing

  1. Preview Mode - test without publishing
  2. Debug Mode - zaraz.debug = true
  3. Network tab - filter "zaraz"

Limits

Resource Limit
Event properties 100KB
Consent purposes 20