1、use google account  login gtm

2、create one container, then get  script, use same GTM code, put

different web site:A and B
So put it at two web site

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~~