How to setup a Custom Event in GA4 using Javascript code extension in Tealium IQ

Bronze Contributor
Bronze Contributor

@developers@Tealium - I would like to set up a custom event for GA4 to track the Clicks on different Navigation links on a web page and additionally track some parameters along with the custom event. 

When following below steps, I dont see the Custom Event triggered in GA4. Any suggestions, please ? 

1. The custom event details like Event Name, Event Parameters are setup in the GA4 Property first.

2. On the GA4 tag in Tealium IQ, "tealium_event" datalayer variable is mapped to Custom Event Name using the "Event Trigger" option. And the Data variables for event parameters are setup using the "Event Specific Parameters" mapping the custom event. 

3. I have tried using Javascript code extension and jQuery onHandler Extension at Dom Ready scope to fire the utag.link method. But the GA4 custom event is not firing in utag.js. 

utag.link({ tealium_event: 'global_navigation', _ga4_param1: 'Click', _ga4_param2: 'contact-us-page' });

 

SV
Public