Zaraz Triggers
Hey everyone, if I load GA4 with zaraz, standard config, can I then do:
To track events or I need to do something else?
3 Replies
No, you use zaraz triggers to make event calls.
So:
zaraz.track("purchase", {value: 200, currency: "USD"})
?
And I don't need to import zaraz right?
Where do I tell it that it's a GA event?
ah I create a trigger in the dashboard, got itZaraz is loaded in automatically when your site is orange clouded :pixelcf: and zaraz configured
Yes, you create triggers in the dashboard. You can think of Zaraz as similar to Google Tag Manager. You don't directly interact with tools. Instead, you use Zaraz to send data and events to the tools. For serverside managed components, the tool's code itself isn't even loaded on the page.