I have configured the analytics using Cloudflare third party tools Google Analytics 4. But I don’t know how to add more configuration parameters to send events like “transport_url”, “send_to” and “groups”. I used to use gtag settings like:
// Configure a target
gtag('config', 'G-XXXXXX-1');
gtag('config', 'G-XXXXXX-3', { 'groups': 'agency' });
gtag('config', 'G-XXXXXX-9', { 'groups': 'agency' });
// Routes only to 'G-XXXXXX-3' and 'G-XXXXXX-9' since they
// are both in the 'agency' group
gtag('event', 'sign_in', { 'send_to': 'agency' });
I have more than one GA webflow on my site. How do I set this up in Zaraz tag manager? I need to send GA events to two different threads, but the event triggers and configuration are shared between them.
gtag('config', 'TARGET-ID', {
'transport_url': 'https://example.com',
});