@salesforcedevs/docs-components 1.3.150-alpha2 → 1.3.150-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -220,14 +220,16 @@ export default class AmfReference extends LightningElement {
|
|
|
220
220
|
private logCoveoPageView() {
|
|
221
221
|
console.log("log coveo page view");
|
|
222
222
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
223
|
+
if (this.coveoOrganizationId) {
|
|
224
|
+
const ua = new CoveoAnalyticsClient({
|
|
225
|
+
token: this.coveoPageViewToken,
|
|
226
|
+
endpoint: `https://${"fullsalesforce"}.analytics.org.coveo.com`
|
|
227
|
+
});
|
|
228
|
+
ua.sendViewEvent({
|
|
229
|
+
contentIdKey: "@clickableuri",
|
|
230
|
+
contentIdValue: window.location.href
|
|
231
|
+
});
|
|
232
|
+
}
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
/**
|