How to differentiate between 2 GA Tags having same mapped variable names?

If we have two GA tags and the requirement is to send a collect event to one specific GA tag using utag.link() method (javascript extension). what will be the syntax?

Note: The mapped variables names (event category, event action, and event label) are same in the both GA tags. How to differentiate using utag.link syntax or any other extension.

View Entire Topic

Hi @kunal_s ,

You could use the syntax of utag.link(data_object, callback, [uid_array]); You can reference the tag specific uid in [uid_array] for firing the particular GA tag.

Reference to the link:

https://docs.tealium.com/platforms/javascript/api/tracking-functions/#utag-link

Example:

considering your Tag id as 12,

utag.link({....} , [12]);

 

Thanks

Gold Contributor