From e130b9fc7b00e4e3885388c2ba9ce01f2e6dece6 Mon Sep 17 00:00:00 2001 From: Wilson Ler Date: Thu, 24 Jul 2025 10:11:34 -0400 Subject: [PATCH 1/3] update beacon to include recs tracking --- spec/src/modules/tracker.js | 4 ++++ src/modules/tracker.js | 10 ++++++++++ src/types/tracker.d.ts | 2 ++ 3 files changed, 16 insertions(+) diff --git a/spec/src/modules/tracker.js b/spec/src/modules/tracker.js index 7e701959..000ef290 100644 --- a/spec/src/modules/tracker.js +++ b/spec/src/modules/tracker.js @@ -4911,6 +4911,8 @@ describe(`ConstructorIO - Tracker${bundledDescriptionSuffix}`, () => { resultId: 'result-id', section: 'Products', analyticsTags: testAnalyticsTag, + slCampaignOwner: 'Campaign Man', + slCampaignId: 'Campaign 123', }; it('Backwards Compatibility - Should respond with a valid response when snake cased parameters are provided', (done) => { @@ -5186,6 +5188,8 @@ describe(`ConstructorIO - Tracker${bundledDescriptionSuffix}`, () => { expect(requestParams).to.have.property('result_id').to.equal(optionalParameters.resultId); expect(requestParams).to.have.property('section').to.equal(optionalParameters.section); expect(requestParams).to.have.property('analytics_tags').to.deep.equal(testAnalyticsTag); + expect(requestParams).to.have.property('sl_campaign_id').to.deep.equal(optionalParameters.slCampaignId); + expect(requestParams).to.have.property('sl_campaign_owner').to.deep.equal(optionalParameters.slCampaignOwner); // Response expect(responseParams).to.have.property('method').to.equal('POST'); diff --git a/src/modules/tracker.js b/src/modules/tracker.js index 0a970d3d..b8a3b41f 100644 --- a/src/modules/tracker.js +++ b/src/modules/tracker.js @@ -1395,6 +1395,8 @@ class Tracker { item_name, itemName = item_name, analyticsTags, + slCampaignId, + slCampaignOwner, } = parameters; if (variationId) { @@ -1445,6 +1447,14 @@ class Tracker { bodyParams.analytics_tags = analyticsTags; } + if (slCampaignId) { + bodyParams.sl_campaign_id = slCampaignId; + } + + if (slCampaignOwner) { + bodyParams.sl_campaign_owner = slCampaignOwner; + } + const requestURL = `${requestPath}${applyParamsAsString({}, this.options)}`; const requestMethod = 'POST'; const requestBody = applyParams(bodyParams, { ...this.options, requestMethod }); diff --git a/src/types/tracker.d.ts b/src/types/tracker.d.ts index 75f08487..ba76b95f 100644 --- a/src/types/tracker.d.ts +++ b/src/types/tracker.d.ts @@ -163,6 +163,8 @@ declare class Tracker { resultPositionOnPage?: number; numResultsPerPage?: number; analyticsTags?: Record; + slCampaignId?: string; + slCampaignOwner?: string; }, networkParameters?: NetworkParameters ): true | Error; From 98e0dd5e5a46cbd3235182d3ebeb87e08381dd78 Mon Sep 17 00:00:00 2001 From: Wilson Ler Date: Thu, 24 Jul 2025 10:16:40 -0400 Subject: [PATCH 2/3] added js docs changes --- docs/ConstructorIO.html | 2 +- docs/constructorio.js.html | 2 +- docs/index.html | 2 +- docs/module-agent.html | 2 +- docs/module-assistant.html | 2 +- docs/module-autocomplete.html | 2 +- docs/module-browse.html | 2 +- docs/module-quizzes.html | 2 +- docs/module-recommendations.html | 2 +- docs/module-search.html | 2 +- docs/module-tracker.html | 124 +++++++++++++++++++++------ docs/modules_agent.js.html | 2 +- docs/modules_assistant.js.html | 2 +- docs/modules_autocomplete.js.html | 2 +- docs/modules_browse.js.html | 2 +- docs/modules_quizzes.js.html | 2 +- docs/modules_recommendations.js.html | 2 +- docs/modules_search.js.html | 2 +- docs/modules_tracker.js.html | 14 ++- src/modules/tracker.js | 2 + 20 files changed, 128 insertions(+), 46 deletions(-) diff --git a/docs/ConstructorIO.html b/docs/ConstructorIO.html index 408d15e7..acc9f170 100644 --- a/docs/ConstructorIO.html +++ b/docs/ConstructorIO.html @@ -1671,7 +1671,7 @@
Properties

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/constructorio.js.html b/docs/constructorio.js.html index edb440c2..872922fc 100644 --- a/docs/constructorio.js.html +++ b/docs/constructorio.js.html @@ -260,7 +260,7 @@

constructorio.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index e2bfa524..6832937d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -114,7 +114,7 @@

Development / npm commands


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-agent.html b/docs/module-agent.html index ad5a2572..3136710d 100644 --- a/docs/module-agent.html +++ b/docs/module-agent.html @@ -459,7 +459,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-assistant.html b/docs/module-assistant.html index 0fd57a00..53ab7a7f 100644 --- a/docs/module-assistant.html +++ b/docs/module-assistant.html @@ -457,7 +457,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-autocomplete.html b/docs/module-autocomplete.html index f978b631..9af60f3e 100644 --- a/docs/module-autocomplete.html +++ b/docs/module-autocomplete.html @@ -798,7 +798,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-browse.html b/docs/module-browse.html index af940956..6ef01ef7 100644 --- a/docs/module-browse.html +++ b/docs/module-browse.html @@ -3216,7 +3216,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-quizzes.html b/docs/module-quizzes.html index 3f1d12b3..212b2bbf 100644 --- a/docs/module-quizzes.html +++ b/docs/module-quizzes.html @@ -1661,7 +1661,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-recommendations.html b/docs/module-recommendations.html index 5e69a52e..9b828021 100644 --- a/docs/module-recommendations.html +++ b/docs/module-recommendations.html @@ -798,7 +798,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-search.html b/docs/module-search.html index f11281fb..61ddb94f 100644 --- a/docs/module-search.html +++ b/docs/module-search.html @@ -1750,7 +1750,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/module-tracker.html b/docs/module-tracker.html index 29ce7b3d..e81d723f 100644 --- a/docs/module-tracker.html +++ b/docs/module-tracker.html @@ -151,7 +151,7 @@

(inn
Source:
@@ -339,7 +339,7 @@

Source:
@@ -873,7 +873,7 @@

Source:
@@ -1307,7 +1307,7 @@

Source:
@@ -1708,7 +1708,7 @@

Source:
@@ -2210,7 +2210,7 @@

Source:
@@ -2678,7 +2678,7 @@

Source:
@@ -3044,7 +3044,7 @@

Source:
@@ -3580,7 +3580,7 @@

Source:
@@ -4016,7 +4016,7 @@

Source:
@@ -4419,7 +4419,7 @@

Source:
@@ -4923,7 +4923,7 @@

Source:
@@ -5393,7 +5393,7 @@

Source:
@@ -6369,7 +6369,7 @@

Source:
@@ -7246,7 +7246,7 @@

Source:
@@ -8662,7 +8662,7 @@

Source:
@@ -9858,7 +9858,7 @@

Source:
@@ -10360,7 +10360,7 @@

Source:
@@ -10895,7 +10895,7 @@

Source:
@@ -11329,7 +11329,7 @@

Source:
@@ -11763,7 +11763,7 @@

Source:
@@ -12230,7 +12230,7 @@

Source:
@@ -12697,7 +12697,7 @@

Source:
@@ -13168,7 +13168,7 @@

Source:
@@ -14174,7 +14174,7 @@

Source:
@@ -14898,7 +14898,7 @@

Source:
@@ -15657,7 +15657,7 @@

Source:
@@ -16995,6 +16995,74 @@
Properties
+ + + + parameters.slCampaignId + + + + + +string + + + + + + + + + + <optional>
+ + + + + + + + + + + Pass campaign id of sponsored listing + + + + + + + parameters.slCampaignOwner + + + + + +string + + + + + + + + + + <optional>
+ + + + + + + + + + + Pass campaign owner of sponsored listing + + + @@ -19732,7 +19800,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_agent.js.html b/docs/modules_agent.js.html index bc5ec7da..4c652732 100644 --- a/docs/modules_agent.js.html +++ b/docs/modules_agent.js.html @@ -248,7 +248,7 @@

modules/agent.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_assistant.js.html b/docs/modules_assistant.js.html index f783a92a..6c73d2b2 100644 --- a/docs/modules_assistant.js.html +++ b/docs/modules_assistant.js.html @@ -101,7 +101,7 @@

modules/assistant.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_autocomplete.js.html b/docs/modules_autocomplete.js.html index 69f7fb68..535404db 100644 --- a/docs/modules_autocomplete.js.html +++ b/docs/modules_autocomplete.js.html @@ -276,7 +276,7 @@

modules/autocomplete.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_browse.js.html b/docs/modules_browse.js.html index 17e57937..6496e920 100644 --- a/docs/modules_browse.js.html +++ b/docs/modules_browse.js.html @@ -593,7 +593,7 @@

modules/browse.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_quizzes.js.html b/docs/modules_quizzes.js.html index 9ea9e65a..cdbfcb6e 100644 --- a/docs/modules_quizzes.js.html +++ b/docs/modules_quizzes.js.html @@ -329,7 +329,7 @@

modules/quizzes.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_recommendations.js.html b/docs/modules_recommendations.js.html index 377a9210..8750cb0a 100644 --- a/docs/modules_recommendations.js.html +++ b/docs/modules_recommendations.js.html @@ -243,7 +243,7 @@

modules/recommendations.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_search.js.html b/docs/modules_search.js.html index 40eeaf7f..23aed38a 100644 --- a/docs/modules_search.js.html +++ b/docs/modules_search.js.html @@ -373,7 +373,7 @@

modules/search.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/docs/modules_tracker.js.html b/docs/modules_tracker.js.html index ad4b43d8..da1ba93c 100644 --- a/docs/modules_tracker.js.html +++ b/docs/modules_tracker.js.html @@ -1398,6 +1398,8 @@

modules/tracker.js

* @param {object} [parameters.analyticsTags] - Pass additional analytics data * @param {object} [networkParameters] - Parameters relevant to the network request * @param {number} [networkParameters.timeout] - Request timeout (in milliseconds) + * @param {string} [parameters.slCampaignId] - Pass campaign id of sponsored listing + * @param {string} [parameters.slCampaignOwner] - Pass campaign owner of sponsored listing * @returns {(true|Error)} * @description User clicked an item that appeared within a list of recommended results * @example @@ -1444,6 +1446,8 @@

modules/tracker.js

item_name, itemName = item_name, analyticsTags, + slCampaignId, + slCampaignOwner, } = parameters; if (variationId) { @@ -1494,6 +1498,14 @@

modules/tracker.js

bodyParams.analytics_tags = analyticsTags; } + if (slCampaignId) { + bodyParams.sl_campaign_id = slCampaignId; + } + + if (slCampaignOwner) { + bodyParams.sl_campaign_owner = slCampaignOwner; + } + const requestURL = `${requestPath}${applyParamsAsString({}, this.options)}`; const requestMethod = 'POST'; const requestBody = applyParams(bodyParams, { ...this.options, requestMethod }); @@ -3607,7 +3619,7 @@

modules/tracker.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme.
diff --git a/src/modules/tracker.js b/src/modules/tracker.js index b8a3b41f..301800a5 100644 --- a/src/modules/tracker.js +++ b/src/modules/tracker.js @@ -1349,6 +1349,8 @@ class Tracker { * @param {object} [parameters.analyticsTags] - Pass additional analytics data * @param {object} [networkParameters] - Parameters relevant to the network request * @param {number} [networkParameters.timeout] - Request timeout (in milliseconds) + * @param {string} [parameters.slCampaignId] - Pass campaign id of sponsored listing + * @param {string} [parameters.slCampaignOwner] - Pass campaign owner of sponsored listing * @returns {(true|Error)} * @description User clicked an item that appeared within a list of recommended results * @example From 695088debe4b5fdc1190b2ddc796f5325e048794 Mon Sep 17 00:00:00 2001 From: Wilson Ler Date: Thu, 24 Jul 2025 10:40:01 -0400 Subject: [PATCH 3/3] reverted changes for docs --- docs/ConstructorIO.html | 2 +- docs/constructorio.js.html | 2 +- docs/index.html | 2 +- docs/module-agent.html | 2 +- docs/module-assistant.html | 2 +- docs/module-autocomplete.html | 2 +- docs/module-browse.html | 2 +- docs/module-quizzes.html | 2 +- docs/module-recommendations.html | 2 +- docs/module-search.html | 2 +- docs/module-tracker.html | 124 ++++++--------------------- docs/modules_agent.js.html | 2 +- docs/modules_assistant.js.html | 2 +- docs/modules_autocomplete.js.html | 2 +- docs/modules_browse.js.html | 2 +- docs/modules_quizzes.js.html | 2 +- docs/modules_recommendations.js.html | 2 +- docs/modules_search.js.html | 2 +- docs/modules_tracker.js.html | 14 +-- 19 files changed, 46 insertions(+), 126 deletions(-) diff --git a/docs/ConstructorIO.html b/docs/ConstructorIO.html index acc9f170..408d15e7 100644 --- a/docs/ConstructorIO.html +++ b/docs/ConstructorIO.html @@ -1671,7 +1671,7 @@
Properties

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/constructorio.js.html b/docs/constructorio.js.html index 872922fc..edb440c2 100644 --- a/docs/constructorio.js.html +++ b/docs/constructorio.js.html @@ -260,7 +260,7 @@

constructorio.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 6832937d..e2bfa524 100644 --- a/docs/index.html +++ b/docs/index.html @@ -114,7 +114,7 @@

Development / npm commands


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-agent.html b/docs/module-agent.html index 3136710d..ad5a2572 100644 --- a/docs/module-agent.html +++ b/docs/module-agent.html @@ -459,7 +459,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-assistant.html b/docs/module-assistant.html index 53ab7a7f..0fd57a00 100644 --- a/docs/module-assistant.html +++ b/docs/module-assistant.html @@ -457,7 +457,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-autocomplete.html b/docs/module-autocomplete.html index 9af60f3e..f978b631 100644 --- a/docs/module-autocomplete.html +++ b/docs/module-autocomplete.html @@ -798,7 +798,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-browse.html b/docs/module-browse.html index 6ef01ef7..af940956 100644 --- a/docs/module-browse.html +++ b/docs/module-browse.html @@ -3216,7 +3216,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-quizzes.html b/docs/module-quizzes.html index 212b2bbf..3f1d12b3 100644 --- a/docs/module-quizzes.html +++ b/docs/module-quizzes.html @@ -1661,7 +1661,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-recommendations.html b/docs/module-recommendations.html index 9b828021..5e69a52e 100644 --- a/docs/module-recommendations.html +++ b/docs/module-recommendations.html @@ -798,7 +798,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-search.html b/docs/module-search.html index 61ddb94f..f11281fb 100644 --- a/docs/module-search.html +++ b/docs/module-search.html @@ -1750,7 +1750,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracker.html b/docs/module-tracker.html index e81d723f..29ce7b3d 100644 --- a/docs/module-tracker.html +++ b/docs/module-tracker.html @@ -151,7 +151,7 @@

(inn
Source:
@@ -339,7 +339,7 @@

Source:
@@ -873,7 +873,7 @@

Source:
@@ -1307,7 +1307,7 @@

Source:
@@ -1708,7 +1708,7 @@

Source:
@@ -2210,7 +2210,7 @@

Source:
@@ -2678,7 +2678,7 @@

Source:
@@ -3044,7 +3044,7 @@

Source:
@@ -3580,7 +3580,7 @@

Source:
@@ -4016,7 +4016,7 @@

Source:
@@ -4419,7 +4419,7 @@

Source:
@@ -4923,7 +4923,7 @@

Source:
@@ -5393,7 +5393,7 @@

Source:
@@ -6369,7 +6369,7 @@

Source:
@@ -7246,7 +7246,7 @@

Source:
@@ -8662,7 +8662,7 @@

Source:
@@ -9858,7 +9858,7 @@

Source:
@@ -10360,7 +10360,7 @@

Source:
@@ -10895,7 +10895,7 @@

Source:
@@ -11329,7 +11329,7 @@

Source:
@@ -11763,7 +11763,7 @@

Source:
@@ -12230,7 +12230,7 @@

Source:
@@ -12697,7 +12697,7 @@

Source:
@@ -13168,7 +13168,7 @@

Source:
@@ -14174,7 +14174,7 @@

Source:
@@ -14898,7 +14898,7 @@

Source:
@@ -15657,7 +15657,7 @@

Source:
@@ -16995,74 +16995,6 @@
Properties
- - - - parameters.slCampaignId - - - - - -string - - - - - - - - - - <optional>
- - - - - - - - - - - Pass campaign id of sponsored listing - - - - - - - parameters.slCampaignOwner - - - - - -string - - - - - - - - - - <optional>
- - - - - - - - - - - Pass campaign owner of sponsored listing - - - @@ -19800,7 +19732,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_agent.js.html b/docs/modules_agent.js.html index 4c652732..bc5ec7da 100644 --- a/docs/modules_agent.js.html +++ b/docs/modules_agent.js.html @@ -248,7 +248,7 @@

modules/agent.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_assistant.js.html b/docs/modules_assistant.js.html index 6c73d2b2..f783a92a 100644 --- a/docs/modules_assistant.js.html +++ b/docs/modules_assistant.js.html @@ -101,7 +101,7 @@

modules/assistant.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_autocomplete.js.html b/docs/modules_autocomplete.js.html index 535404db..69f7fb68 100644 --- a/docs/modules_autocomplete.js.html +++ b/docs/modules_autocomplete.js.html @@ -276,7 +276,7 @@

modules/autocomplete.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_browse.js.html b/docs/modules_browse.js.html index 6496e920..17e57937 100644 --- a/docs/modules_browse.js.html +++ b/docs/modules_browse.js.html @@ -593,7 +593,7 @@

modules/browse.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_quizzes.js.html b/docs/modules_quizzes.js.html index cdbfcb6e..9ea9e65a 100644 --- a/docs/modules_quizzes.js.html +++ b/docs/modules_quizzes.js.html @@ -329,7 +329,7 @@

modules/quizzes.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_recommendations.js.html b/docs/modules_recommendations.js.html index 8750cb0a..377a9210 100644 --- a/docs/modules_recommendations.js.html +++ b/docs/modules_recommendations.js.html @@ -243,7 +243,7 @@

modules/recommendations.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_search.js.html b/docs/modules_search.js.html index 23aed38a..40eeaf7f 100644 --- a/docs/modules_search.js.html +++ b/docs/modules_search.js.html @@ -373,7 +373,7 @@

modules/search.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/modules_tracker.js.html b/docs/modules_tracker.js.html index da1ba93c..ad4b43d8 100644 --- a/docs/modules_tracker.js.html +++ b/docs/modules_tracker.js.html @@ -1398,8 +1398,6 @@

modules/tracker.js

* @param {object} [parameters.analyticsTags] - Pass additional analytics data * @param {object} [networkParameters] - Parameters relevant to the network request * @param {number} [networkParameters.timeout] - Request timeout (in milliseconds) - * @param {string} [parameters.slCampaignId] - Pass campaign id of sponsored listing - * @param {string} [parameters.slCampaignOwner] - Pass campaign owner of sponsored listing * @returns {(true|Error)} * @description User clicked an item that appeared within a list of recommended results * @example @@ -1446,8 +1444,6 @@

modules/tracker.js

item_name, itemName = item_name, analyticsTags, - slCampaignId, - slCampaignOwner, } = parameters; if (variationId) { @@ -1498,14 +1494,6 @@

modules/tracker.js

bodyParams.analytics_tags = analyticsTags; } - if (slCampaignId) { - bodyParams.sl_campaign_id = slCampaignId; - } - - if (slCampaignOwner) { - bodyParams.sl_campaign_owner = slCampaignOwner; - } - const requestURL = `${requestPath}${applyParamsAsString({}, this.options)}`; const requestMethod = 'POST'; const requestBody = applyParams(bodyParams, { ...this.options, requestMethod }); @@ -3619,7 +3607,7 @@

modules/tracker.js


- Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 10:16:03 GMT-0400 (Eastern Daylight Saving Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Jul 24 2025 14:50:52 GMT+0200 (Central European Summer Time) using the docdash theme.