core/product-experience/product-experience.module.ts
This module enables an tenant to activate the product experience software Gainsight to help and track user actions.
shouldLoadTag |
shouldLoadTag()
|
Determines if a tracking tag should be loaded based on cookie preferences.
Returns :
boolean
|
toggleUserTrackingObservable |
toggleUserTrackingObservable()
|
Observes several factors to determine the state of user tracking and manages the visibility of Gainsight engagements. It watches for changes in the current tenant, the state of the cookie banner, and user's preferences for Gainsight engagements.
Returns :
void
|
This module enables an tenant to activate the product experience software Gainsight to help and track user actions. Gainsight is only activated, if the following tenant custom property is set to enabled:
Example :PUT {{url}}/tenant/tenants/{{tenant-id}}
{
"customProperties": {
"gainsightEnabled": "true"
}
}
Also the instance needs a Gainsight API Key in the system options (or in the application options):
Example :GET {{url}}/tenant/system/options/gainsight/api.key
{
"category": "gainsight",
"value": "AP-xxxxxxx-2",
"key": "api.key"
}