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 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 syntax or any other extension.

Accepted Solutions (0)

Answers (2)

Answers (2)

An alternative solution, though the previous repliers is ideal and if you don't have dev resources, would be to use load rules based on the the values you are passing. So only allow the GA tag to fire if the call has specific variable values for each of your GA tag.

Bronze Contributor

Hi @kunal_s ,

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

Reference to the link:


considering your Tag id as 12,{....} , [12]);



Rookie Contributor