Tag Commander Extension
Properties:
Name | Type | Description |
---|---|---|
active |
boolean | Activate/Deactivate Container loading |
Methods
static getOptinCategories() → {Array}
Substitute to tC.privacy.getOptinCategories() when still not available
The list of categories, empty array if nothing
Array
static getPrivacy(trustOnlyopt) → {string}
Retrieve Privacy Cookie content.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
trustOnly |
boolean |
<optional> |
false | Only read the new Trust cookie |
Privacy Cookie
string
static init(tID, tN)
Initialize and Load Tag Commmander Container.
Parameters:
Name | Type | Description |
---|---|---|
tID |
string | Container Identifier |
tN |
string | Container Number override |
static resetPrivacy()
Remove Privacy Cookies.