The user distributor The custom tag template is a tag template for the Google Tag Manager community form gallery.
You can use this flag to randomly assign users to containers, and then store that information in a first-party cookie. This is useful for quick A/B tests and for creating samples or groups of visitors.
The sign has two modes: Not connected And Multiple.
in a Not connected In the mode, you assign a percentage, and a random number will test if the user falls within that percentage. If they do, they are assigned a cookie with the value
true. If they do not fall into the sample, the cookie will be set with the value
false. This can be used, for example, to sample only a percentage of your site’s visitors.
in a Multiple Mode, you can create multiple groups and randomly assign the user to one of them. The sum of all properties must be no more than 100. If the count is 100, each user is categorized into one of the groups and the cookie is set accordingly. If the total is less than 100, users who do not fall into any of the groups will not have the set of cookies, and will be re-evaluated the next time the tag is activated.
You can read more about the model from the linked blog post.
|date||set of changes|
|June 7, 2020||Fixed a bug with permissions.|
|November 30, 2019||Add unit tests.|
|October 2, 2019||Brand name update.|
|September 20, 2019||The initial release.|