Two different google tag manager accounts in same domain

后端 未结 5 2126
故里飘歌
故里飘歌 2021-02-07 08:20

I have two google tag manager accounts one mine and another of third party website and I need to put these 2 in this third party website. I tried put two gtm scripts after body

5条回答
  •  借酒劲吻你
    2021-02-07 08:53

    This is because both GTM tags are using the default "dataLayer". See below:

    
    

    Give one or both custom dataLayer names like so...(documentation):

    
    
    
    
    

    After that you should see no duplicate events firing from either container.

提交回复
热议问题