Skip to main content

Custom tracking tags

Tracking tags

Bambuser tracks events to know what is happening before, during and after a call. By supplying custom tracking tags it is possible to include more information not known to Bambuser for every tracking event. It is possible to either set it initially new BambuserOneToOneEmbed({ trackingTags }) or set it during an ongoing session bambuserInstance.setTrackingTags(trackingTags). The added tracking tags will be included in generated CSV-exports.

Personally Identifiable Information (PII)

Avoid including PII data to make sure to follow GDPR. Doing so anyway may require updates to your terms of use.

The trackingTags should be an array containing key and value pairs.

let bambuserInstance = new BambuserOneToOneEmbed({
trackingTags: [
{
key: 'customerId',
value: '123-qbc',
}
]
});

// Can be updated any time afterwards with:
bambuserInstance.setTrackingTags([
{
key: 'customerId',
value: '123-qbc',
},
{
key: 'member',
value: 'platinum',
}
]);

Restrictions

  • No more than 20 tags are allowed. If more are supplied the first valid 20 are passed on
  • Duplicate tracking tag keys are not allowed. If set the last one in the list will be used
  • Allowed value types are String, Number and Boolean
  • Values should be no bigger than 1KB