...
Code Block | ||
---|---|---|
| ||
var empathyTAG = new EmpathyBrokerTAG(INSTANCE_ID, ENVIRONMENT, CONSENT); |
PD: consent it has to be send it as 'true' when the user accept the cookies, if not, you have to send 'false'.
Example
Code Block | ||
---|---|---|
| ||
var empathyTAG = new EmpathyBrokerTAG('client-instance-id', 'staging', true); |
At this point, you are ready to use the library:
...