@salesforcedevs/docs-components 1.3.150-alpha2 → 1.3.150-alpha4
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
|
@@ -218,16 +218,17 @@ export default class AmfReference extends LightningElement {
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
private logCoveoPageView() {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
221
|
+
if (this.coveoOrganizationId) {
|
|
222
|
+
console.log("log coveo page view");
|
|
223
|
+
const ua = new CoveoAnalyticsClient({
|
|
224
|
+
token: this.coveoPageViewToken,
|
|
225
|
+
endpoint: `https://${"fullsalesforce"}.analytics.org.coveo.com`
|
|
226
|
+
});
|
|
227
|
+
ua.sendViewEvent({
|
|
228
|
+
contentIdKey: "@clickableuri",
|
|
229
|
+
contentIdValue: window.location.href
|
|
230
|
+
});
|
|
231
|
+
}
|
|
231
232
|
}
|
|
232
233
|
|
|
233
234
|
/**
|
|
@@ -452,8 +452,8 @@ export default class DocXmlContent extends LightningElementWithState<{
|
|
|
452
452
|
return;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
console.log("log coveo page view");
|
|
456
455
|
if (this.coveoOrganizationId) {
|
|
456
|
+
console.log("log coveo page view");
|
|
457
457
|
const ua = new CoveoAnalyticsClient({
|
|
458
458
|
token: this.coveoPageViewToken,
|
|
459
459
|
endpoint: `https://${this.coveoOrganizationId}.analytics.org.coveo.com`
|