-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi, I'm trying to use react-optimize on my website. Currently, I'm using GTM, and I read this document( #2 ) to solve my problem, but I don't know the way to add window.gtag = function() { dataLayer.push(arguments) } to my code.
I tried to add window.gtag = function() { dataLayer.push(arguments) } after the code above, but only variant id=0's case always rendered. I guess my case is similar to the issue below me. Could you explain how to add window.gtag = function() { dataLayer.push(arguments) } to update variant values?
Metadata
Metadata
Assignees
Labels
No labels
