Tag
To use Aploze on your website, you need to load the Aploze JS SDK. We offer it as a hosted JavaScript library called by the Tag.
This section describes how to implement it and which customization you can operate (Pass cookies consents, send a custom user ID...)
See examples on Github: https://github.com/aploze/integration-examples
Usage
Here what the tag looks like:
The JS SDK is called with a key
parameter, this unique identifier is required to match your domain with your Aploze Account.
You can find a ready-to-use tag with your domain key in the channel settings part of the admin panel.
Worried about performance? Take a look at our optimizations
Use a Tag Management System ?
At this time, the tag is not yet listed in common TMS, but you can create your custom tag with your favorite solution:
Google Tag Manager: How to insert custom tag in GTM ?
Tealium: How to use the Tealium Generic Tag ?
TagCommander: How to insert custom tag in TagCommander ?
Pass cookies consent in the Tag (optional)
Aploze working with cookies (see cookies sections), if needed, you can pass user consent that you would collect yourself by using the JS SDK API or insert consents directly into the tag by using two parameters:
tcc
the consent for the technical cookieacc
the consent for the analytics cookie
Here the JS SDK is called with our two consent parameters:
Pass Custom User ID in the Tag (optional)
A user has an Aploze-relative user ID, but you can add another one that comes from your website (User Account ID, Analytics user ID...). This is useful to get a user reference during users data export. As you pass user consent, you can use the by using the JS SDK API or insert this id directly into the tag by using this parameter:
uid
the Custom user ID
All tag parameters
Here a list of all parameters you can pass when the SDK is called.
Name | Value | Description |
key* | String | Your domain key |
tcc | Boolean (true or false) | Technical Cookie Consent |
acc | Boolean (true or false) | Analytics Cookie Consent |
uid | String | Custom User ID |
* Required fields
Last updated