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 PX product key in the system options (or in the gainsightKey application option). Despite the option name api.key, this is the public product key used by the Gainsight PX tag, not the Gainsight PX REST API key:
GET {{url}}/tenant/system/options/gainsight/api.key
{
"category": "gainsight",
"value": "AP-xxxxxxx-2",
"key": "api.key"
}