GA4 does not seem to track vital e-commerce information
What steps have you taken to resolve the issue?
I have tried following the Zaraz manuals and documentation regarding e-commerce tracking. It seems I have performed all the necessary steps but GA4 does still not seem to track the events. I tried to verify this using zaraz.debug(), but I am doubtful all the information is there. How can I verify whether these events are being tracked and communicated?
Real time GA4 only shows page views.
If I go to Cloudflare backend to Zaraz > Monitoring it only shows ‘pageview’ and ’ page_consent_update’.
Should I see the events here as well
Perhaps I did not understand the integration correctly. As far as I understood you only have to activate the e-commerce function in 2 locations of Cloudflare back-end. One in the Zaraz settings (E-commerce tracking), and one in the specific Tools.
I cannot find this second option anymore under GA4 (advance does not show). Did this receive an update very recently?
The guideline now also says to ‘Add e-commerce tracking to your website’. Was that added, or did I just misread it? Before it said that all events and triggers were automatically created, and now it says ‘To create a complete tracking event, you need to add an event and one or more parameters.’
In any case, I am afraid my setup is incorrect and doing something wrong. Could you guide me into how to make one of those zaraz.ecommerce() calls? I can integrate code within my but not sure what this should entail?
zaraz.ecommerce(‘Event Name’, { parameters });
I seem to have read that activating these options would automatically inject the correct code on the relevant pages.
I have tried going through the code examples (I tried this last week as well) but don’t see how I could dynamically load this depending on the page. I understand that is the data we want for example:
But based on the documentation Zaraz would dynamically load these details, hence I was expecting them to show up in the debug information.
If i have to integrate that, how could I load that dynamically?
I am not asking for a full script, but more of a recommendation how to get started on this. Would this be the correct direction?