2、create one container, then get script, use same GTM code, put
<body>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-xxxxxxxxx"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-xxxxxxxx');</script>
<!-- End Google Tag Manager -->
different web site:A and B
So put it at two web site <body>
3、Tiggers
.NAME: A page view
.Choose Event:Page view
.Configure Tigger:Page view
.Fire On:Page Hostname contains A.com
.NAME: B page view
.Choose Event:Page view
.Configure Tigger:Page view
.Fire On:Page Hostname contains B.com
4、add tag
.NAME: A ga
.Choose product: google Analytics
.Choose a Tag Type:Universal Analytics
.tracert id:UA-xxxxxxx-x (go to GA get website A's GA code)
.tracert type:page view
.Fire on:Some Page -> find Tiggers:A page view
.save
.NAME: B ga
.Choose product: google Analytics
.Choose a Tag Type:Universal Analytics
.tracert id:UA-xxxxxxx-x (go to GA get website B's GA code)
.tracert type:page view
.Fire on:Some Page -> find Tiggers:B page view
.save
5、Publish
6、Go to GA, see real time. If different website, see different real time customer~~
Now can open website A and B, see GA real time customer~~