Skip to content

Get Tenant IDs

The getTenantIds function retrieves the tenant IDs currently set on the tag. It is used for integration with Semantiq service.

const tenantIds = window.htag.api('1').getTenantIds();
console.log(tenantIds);