@beworke/pixel 0.1.0-rc.6 → 0.1.0-rc.7

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.
Files changed (139) hide show
  1. package/README.md +12 -12
  2. package/RELEASE_CANDIDATE.md +19 -13
  3. package/dist/{StorageFactory-CPghDPBj.d.mts → StorageFactory-Cq29vF32.d.mts} +2 -2
  4. package/dist/{StorageFactory-tjfzk57c.d.ts → StorageFactory-DeMaZ8wk.d.ts} +2 -2
  5. package/dist/config/index.cjs.js +1 -1
  6. package/dist/config/index.cjs.js.map +1 -1
  7. package/dist/config/index.d.mts +4 -4
  8. package/dist/config/index.d.ts +4 -4
  9. package/dist/config/index.esm.js +1 -1
  10. package/dist/config/index.esm.js.map +1 -1
  11. package/dist/events/index.cjs.js.map +1 -1
  12. package/dist/events/index.d.mts +2 -2
  13. package/dist/events/index.d.ts +2 -2
  14. package/dist/events/index.esm.js.map +1 -1
  15. package/dist/examples/html-script/README.md +20 -76
  16. package/dist/examples/html-script/RELEASE_CANDIDATE.md +14 -13
  17. package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-autocomplete.html +1 -1
  18. package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-disabled.html +1 -1
  19. package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-fields.html +1 -1
  20. package/dist/examples/html-script/add-payment-info/example-add-payment-info-data-track.html +1 -1
  21. package/dist/examples/html-script/add-payment-info/example-add-payment-info-dedupe.html +1 -1
  22. package/dist/examples/html-script/add-payment-info/example-add-payment-info-manual.html +1 -1
  23. package/dist/examples/html-script/add-payment-info/example-add-payment-info-rules-card.html +1 -1
  24. package/dist/examples/html-script/add-payment-info/example-add-payment-info-security.html +1 -1
  25. package/dist/examples/html-script/add-to-cart/README.md +6 -3
  26. package/dist/examples/html-script/add-to-cart/example-add-to-cart-attribute.html +3 -2
  27. package/dist/examples/html-script/add-to-cart/example-add-to-cart-auto.html +3 -2
  28. package/dist/examples/html-script/add-to-cart/example-add-to-cart-click.html +3 -2
  29. package/dist/examples/html-script/add-to-cart/example-add-to-cart-dedupe.html +3 -2
  30. package/dist/examples/html-script/add-to-cart/example-add-to-cart-link.html +597 -0
  31. package/dist/examples/html-script/add-to-cart/example-add-to-cart-manual.html +3 -2
  32. package/dist/examples/html-script/add-to-cart/example-add-to-cart-order-bump.html +3 -2
  33. package/dist/examples/html-script/add-to-cart/example-add-to-cart-text.html +3 -2
  34. package/dist/examples/html-script/behavior/example-behavior-engagement.html +1 -1
  35. package/dist/examples/html-script/behavior/example-behavior-heartbeat.html +1 -1
  36. package/dist/examples/html-script/behavior/example-behavior-runtime-intelligence.html +1 -1
  37. package/dist/examples/html-script/behavior/example-behavior-viewport.html +1 -1
  38. package/dist/examples/html-script/behavior/example-behavior.html +1 -1
  39. package/dist/examples/html-script/example-basic.html +1 -1
  40. package/dist/examples/html-script/example-checkout-commerce.html +1 -1
  41. package/dist/examples/html-script/example-conversion.html +1 -1
  42. package/dist/examples/html-script/example-integration.html +1 -1
  43. package/dist/examples/html-script/example-landing-commerce.html +42 -1
  44. package/dist/examples/html-script/example-runtime-diagnostics.html +1 -1
  45. package/dist/examples/html-script/example-transport.html +6 -1
  46. package/dist/examples/html-script/full-funnel/README.md +1 -1
  47. package/dist/examples/html-script/full-funnel/checkout.html +1 -1
  48. package/dist/examples/html-script/full-funnel/downsell.html +1 -1
  49. package/dist/examples/html-script/full-funnel/landing.html +54 -2
  50. package/dist/examples/html-script/full-funnel/thank-you.html +1 -1
  51. package/dist/examples/html-script/full-funnel/upsell.html +1 -1
  52. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-attribute.html +1 -1
  53. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-auto.html +1 -1
  54. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-click.html +1 -1
  55. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-manual.html +1 -1
  56. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-snapshot.html +1 -1
  57. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-submit.html +1 -1
  58. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-text.html +1 -1
  59. package/dist/examples/html-script/lead/example-lead-trigger-attribute.html +1 -1
  60. package/dist/examples/html-script/lead/example-lead-trigger-auto.html +1 -1
  61. package/dist/examples/html-script/lead/example-lead-trigger-click.html +1 -1
  62. package/dist/examples/html-script/release-candidate.html +1 -1
  63. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-attribute.html +1 -1
  64. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-css.html +1 -1
  65. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-dedupe.html +1 -1
  66. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-manual.html +1 -1
  67. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-multi.html +1 -1
  68. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-state.html +1 -1
  69. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-text.html +1 -1
  70. package/dist/examples/html-script/search/example-search-attribute.html +1 -1
  71. package/dist/examples/html-script/search/example-search-button-sync.html +1 -1
  72. package/dist/examples/html-script/search/example-search-dedupe.html +1 -1
  73. package/dist/examples/html-script/search/example-search-input.html +1 -1
  74. package/dist/examples/html-script/search/example-search-manual.html +1 -1
  75. package/dist/examples/html-script/search/example-search-submit.html +1 -1
  76. package/dist/examples/html-script/search/example-search-text.html +1 -1
  77. package/dist/examples/html-script/url-context/example-url-context-allowed-domains.html +38 -9
  78. package/dist/examples/html-script/url-context/example-url-context-landing.html +53 -13
  79. package/dist/examples/html-script/url-context/example-url-context-upsell.html +48 -10
  80. package/dist/examples/html-script/url-context/example-url-context.html +51 -17
  81. package/dist/examples/html-script/view-content/example-view-content-attribute.html +1 -1
  82. package/dist/examples/html-script/view-content/example-view-content-css.html +1 -1
  83. package/dist/examples/html-script/view-content/example-view-content-dedupe.html +1 -1
  84. package/dist/examples/html-script/view-content/example-view-content-empty.html +1 -1
  85. package/dist/examples/html-script/view-content/example-view-content-manual.html +1 -1
  86. package/dist/examples/html-script/view-content/example-view-content-product-card.html +1 -1
  87. package/dist/examples/html-script/view-content/example-view-content-text.html +1 -1
  88. package/dist/examples/release-candidate/README.md +2 -1
  89. package/dist/examples/v2/README.md +15 -15
  90. package/dist/{index-CQAyT5Od.d.ts → index-B8u_3PGG.d.ts} +21 -2
  91. package/dist/{index-JlKPz4pp.d.mts → index-BxT2d-TK.d.mts} +21 -2
  92. package/dist/index.cjs.js +1 -1
  93. package/dist/index.cjs.js.map +1 -1
  94. package/dist/index.d.mts +19 -782
  95. package/dist/index.d.ts +19 -782
  96. package/dist/index.esm.js +1 -1
  97. package/dist/index.esm.js.map +1 -1
  98. package/dist/{pixel-BxZZx8l5.d.ts → pixel-2uL4LSyC.d.ts} +126 -5
  99. package/dist/{pixel-CKc4OQUx.d.mts → pixel-DMwpppf_.d.mts} +126 -5
  100. package/dist/{pixel-default-config-aAOujzwp.d.ts → pixel-default-config-BDPUVHse.d.ts} +1 -1
  101. package/dist/{pixel-default-config-CJl-eypl.d.mts → pixel-default-config-C5uLt52W.d.mts} +1 -1
  102. package/dist/runtime/index.cjs.js +1 -1
  103. package/dist/runtime/index.cjs.js.map +1 -1
  104. package/dist/runtime/index.d.mts +6 -6
  105. package/dist/runtime/index.d.ts +6 -6
  106. package/dist/runtime/index.esm.js +1 -1
  107. package/dist/runtime/index.esm.js.map +1 -1
  108. package/dist/services/index.cjs.js +1 -1
  109. package/dist/services/index.cjs.js.map +1 -1
  110. package/dist/services/index.d.mts +7 -7
  111. package/dist/services/index.d.ts +7 -7
  112. package/dist/services/index.esm.js +1 -1
  113. package/dist/services/index.esm.js.map +1 -1
  114. package/dist/{types-BP8dz1gP.d.mts → types-6HF3UlsL.d.mts} +2 -2
  115. package/dist/{types-C75pQP31.d.ts → types-BqUEoZo0.d.ts} +2 -2
  116. package/dist/{types-DMhzHSVC.d.mts → types-CgrabttM.d.mts} +2 -2
  117. package/dist/{types-D_SsCur9.d.ts → types-fFcQ1apy.d.ts} +2 -2
  118. package/dist/{url-context-BjAsQoVl.d.mts → url-context-Ck2LK18V.d.mts} +4 -2
  119. package/dist/{url-context-BjAsQoVl.d.ts → url-context-Ck2LK18V.d.ts} +4 -2
  120. package/dist/v2/global.global.js +1 -1
  121. package/dist/v2/global.global.js.map +1 -1
  122. package/dist/v2/index.cjs.js +1 -1
  123. package/dist/v2/index.cjs.js.map +1 -1
  124. package/dist/v2/index.d.mts +793 -9
  125. package/dist/v2/index.d.ts +793 -9
  126. package/dist/v2/index.esm.js +1 -1
  127. package/dist/v2/index.esm.js.map +1 -1
  128. package/docs/public/README.md +13 -11
  129. package/docs/public/api/pixel.md +1 -1
  130. package/docs/public/configuration/commerce.md +1 -1
  131. package/docs/public/getting-started/installation.md +6 -3
  132. package/docs/public/getting-started/react-nextjs.md +3 -3
  133. package/docs/public/getting-started/script-tag.md +1 -1
  134. package/docs/public/guides/funnel-checkout.md +1 -1
  135. package/docs/public/guides/funnel-full.md +3 -3
  136. package/docs/public/guides/funnel-landing.md +1 -1
  137. package/docs/public/limitations.md +1 -1
  138. package/docs/public/release-candidate/validation.md +22 -17
  139. package/package.json +8 -12
@@ -132,7 +132,7 @@
132
132
 
133
133
  <div id="logs"></div>
134
134
 
135
- <script src="../../../dist/v2/global.global.js"></script>
135
+ <script src="../../../v2/global.global.js"></script>
136
136
  <script>
137
137
  (function () {
138
138
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
@@ -152,7 +152,7 @@
152
152
  <p>Zona dinâmica</p>
153
153
  </div>
154
154
 
155
- <script src="../../../dist/v2/global.global.js"></script>
155
+ <script src="../../../v2/global.global.js"></script>
156
156
  <script>
157
157
  (function () {
158
158
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
@@ -150,7 +150,7 @@
150
150
 
151
151
  <div id="scroll-spacer">Role a página para gerar eventos SCROLL</div>
152
152
 
153
- <script src="../../../dist/v2/global.global.js"></script>
153
+ <script src="../../../v2/global.global.js"></script>
154
154
  <script>
155
155
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
156
156
 
@@ -78,7 +78,7 @@
78
78
  <div id="state">Aguardando inicialização...</div>
79
79
  <pre id="logs"></pre>
80
80
 
81
- <script src="../../dist/v2/global.global.js"></script>
81
+ <script src="../../v2/global.global.js"></script>
82
82
  <script>
83
83
  const { Pixel, DEFAULT_PIXEL_CONFIG, resolveStorageAdapterName } =
84
84
  window.PixelV2;
@@ -342,7 +342,7 @@
342
342
  </div>
343
343
  </div>
344
344
 
345
- <script src="../../dist/v2/global.global.js"></script>
345
+ <script src="../../v2/global.global.js"></script>
346
346
  <script>
347
347
  (function () {
348
348
  var params = new URLSearchParams(window.location.search);
@@ -149,7 +149,7 @@
149
149
 
150
150
  <pre id="logs"></pre>
151
151
 
152
- <script src="../../dist/v2/global.global.js"></script>
152
+ <script src="../../v2/global.global.js"></script>
153
153
  <script>
154
154
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
155
155
 
@@ -297,7 +297,7 @@
297
297
  <h2>Dispatcher Logs</h2>
298
298
  <pre id="logs"></pre>
299
299
 
300
- <script src="../../dist/v2/global.global.js"></script>
300
+ <script src="../../v2/global.global.js"></script>
301
301
  <script>
302
302
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
303
303
 
@@ -110,6 +110,7 @@
110
110
  <strong>Contexto:</strong> página de vendas sem checkout. O Core dispara PAGE_VIEW no init
111
111
  (<code>trackInitialPageView: true</code>). O enrichment completa o payload com dados do
112
112
  carrinho seed (<code>initialItems</code> + catálogo).
113
+ CTA externo usa source <code>type: 'link'</code> (destino do href).
113
114
  </div>
114
115
 
115
116
  <div class="hero" data-product-id="main_offer" data-product-price="197" data-currency="BRL">
@@ -119,6 +120,13 @@
119
120
  <div class="actions">
120
121
  <button type="button" class="primary" data-track="view_content">Ver conteúdo</button>
121
122
  <button type="button" data-track="add_to_cart">Quero começar</button>
123
+ <a
124
+ id="checkout-link"
125
+ data-demo-stay
126
+ data-product-id="main_offer"
127
+ href="https://checkout.example.com/pay/offer_landing?product=main_offer"
128
+ style="display:inline-block;text-decoration:none;border-radius:8px;padding:0.5rem 0.85rem;background:#0f766e;color:#fff;border:1px solid #0f766e;font:inherit;"
129
+ >Ir ao checkout (link)</a>
122
130
  </div>
123
131
  </div>
124
132
 
@@ -140,6 +148,7 @@
140
148
  <li>[ ] <code>commerce.cart.mode</code> = landing_page</li>
141
149
  <li>[ ] <code>enrichment.pageView.enabled</code> = true</li>
142
150
  <li>[ ] VIEW_CONTENT manual por clique (opcional)</li>
151
+ <li>[ ] Link checkout → <code>ConfiguredLink</code> + ADD_TO_CART</li>
143
152
  </ul>
144
153
  </div>
145
154
  </div>
@@ -160,7 +169,7 @@
160
169
  </div>
161
170
  </div>
162
171
 
163
- <script src="../../dist/v2/global.global.js"></script>
172
+ <script src="../../v2/global.global.js"></script>
164
173
  <script>
165
174
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
166
175
  const API_ENDPOINT =
@@ -285,6 +294,31 @@
285
294
  trigger: 'click',
286
295
  fireOnce: false,
287
296
  },
297
+ {
298
+ name: 'checkout-product-link',
299
+ type: 'link',
300
+ fireOnce: false,
301
+ match: {
302
+ protocols: ['https:'],
303
+ origins: ['https://checkout.example.com'],
304
+ path: { template: '/pay/:offerId' },
305
+ query: {
306
+ mode: 'all',
307
+ conditions: [
308
+ { key: 'product', operator: 'exists' },
309
+ ],
310
+ },
311
+ },
312
+ bindings: {
313
+ productId: {
314
+ from: [
315
+ { source: 'dataset', key: 'productId' },
316
+ { source: 'query', key: 'product' },
317
+ ],
318
+ required: true,
319
+ },
320
+ },
321
+ },
288
322
  ],
289
323
  },
290
324
  removeFromCart: { enabled: false, sources: [] },
@@ -372,6 +406,13 @@
372
406
  renderCounts();
373
407
  });
374
408
 
409
+ document.querySelectorAll('[data-demo-stay]').forEach(function (el) {
410
+ el.addEventListener('click', function (event) {
411
+ event.preventDefault();
412
+ appendLog('(playground) navegação bloqueada — link source já trackeou em capture');
413
+ });
414
+ });
415
+
375
416
  initPixel().catch(function (err) {
376
417
  els.runtimeStatus.textContent = 'Erro: ' + (err && err.message ? err.message : err);
377
418
  });
@@ -24,7 +24,7 @@
24
24
  <button type="button" id="btn-reinit">Reinit</button>
25
25
  </p>
26
26
  <pre id="out">Aguardando…</pre>
27
- <script src="../../dist/v2/global.global.js"></script>
27
+ <script src="../../v2/global.global.js"></script>
28
28
  <script>
29
29
  (async function () {
30
30
  var out = document.getElementById('out');
@@ -294,7 +294,12 @@
294
294
  <h2>Dispatcher Logs</h2>
295
295
  <pre id="logs"></pre>
296
296
 
297
- <script src="../../dist/v2/global.global.js"></script>
297
+ <script
298
+ data-pixel-id="213123"
299
+ data-funnel="123"
300
+ data-channel="123"
301
+ src="../../v2/global.global.js"
302
+ ></script>
298
303
  <script>
299
304
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
300
305
 
@@ -50,7 +50,7 @@ linkDecoration.allowedDomains: '*' | string[] // '*' = todos os hosts
50
50
 
51
51
  ```bash
52
52
  npm run build
53
- # servir examples/html-script ou abrir via file:// após build
53
+ # servir apps/playground-html ou abrir via file:// após build
54
54
  ```
55
55
 
56
56
  1. Abra `landing.html?utm_source=facebook&affid=aff_demo&fbclid=test_fb`.
@@ -24,7 +24,7 @@
24
24
  <a id="to-upsell" href="upsell.html">Ir ao upsell</a>
25
25
  </p>
26
26
  <pre id="out">init…</pre>
27
- <script src="../../../dist/v2/global.global.js"></script>
27
+ <script src="../../../v2/global.global.js"></script>
28
28
  <script>
29
29
  (async function () {
30
30
  var out = document.getElementById('out');
@@ -16,7 +16,7 @@
16
16
  <p class="hint">Última oferta — contexto de URL deve continuar intacto.</p>
17
17
  <p><a id="finish" href="thank-you.html?accepted=0">Finalizar</a></p>
18
18
  <pre id="out">init…</pre>
19
- <script src="../../../dist/v2/global.global.js"></script>
19
+ <script src="../../../v2/global.global.js"></script>
20
20
  <script>
21
21
  (async function () {
22
22
  var { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
@@ -22,9 +22,16 @@
22
22
  <button type="button" id="btn-lead">LEAD</button>
23
23
  <button type="button" id="btn-atc">ADD_TO_CART</button>
24
24
  <a id="to-checkout" href="checkout.html#step">Ir ao checkout</a>
25
+ <a
26
+ id="ext-checkout"
27
+ data-demo-stay
28
+ data-product-id="main_offer"
29
+ href="https://checkout.example.com/pay/offer_ff?product=main_offer"
30
+ >Checkout externo (link source)</a
31
+ >
25
32
  </p>
26
33
  <pre id="out">init…</pre>
27
- <script src="../../../dist/v2/global.global.js"></script>
34
+ <script src="../../../v2/global.global.js"></script>
28
35
  <script>
29
36
  (async function () {
30
37
  var out = document.getElementById('out');
@@ -72,7 +79,39 @@
72
79
  },
73
80
  },
74
81
  },
75
- conversion: { ...DEFAULT_PIXEL_CONFIG.modules.conversion, enabled: true },
82
+ conversion: {
83
+ ...DEFAULT_PIXEL_CONFIG.modules.conversion,
84
+ enabled: true,
85
+ auto: {
86
+ ...DEFAULT_PIXEL_CONFIG.modules.conversion.auto,
87
+ enabled: true,
88
+ detectors: {
89
+ ...DEFAULT_PIXEL_CONFIG.modules.conversion.auto.detectors,
90
+ addToCart: {
91
+ enabled: true,
92
+ sources: [
93
+ {
94
+ name: 'ff-checkout-link',
95
+ type: 'link',
96
+ match: {
97
+ origins: ['https://checkout.example.com'],
98
+ path: { template: '/pay/:offerId' },
99
+ },
100
+ bindings: {
101
+ productId: {
102
+ from: [
103
+ { source: 'dataset', key: 'productId' },
104
+ { source: 'query', key: 'product' },
105
+ ],
106
+ required: true,
107
+ },
108
+ },
109
+ },
110
+ ],
111
+ },
112
+ },
113
+ },
114
+ },
76
115
  behavior: { ...DEFAULT_PIXEL_CONFIG.modules.behavior, enabled: false },
77
116
  transport: { ...DEFAULT_PIXEL_CONFIG.modules.transport, enabled: false },
78
117
  integrations: { ...DEFAULT_PIXEL_CONFIG.modules.integrations, enabled: false },
@@ -84,6 +123,9 @@
84
123
  href: location.href,
85
124
  snapshot: uc.getSnapshot(),
86
125
  checkoutHref: document.getElementById('to-checkout').getAttribute('href'),
126
+ detectors: pixel.getDebugActiveDetectors
127
+ ? pixel.getDebugActiveDetectors()
128
+ : [],
87
129
  });
88
130
  document.getElementById('btn-lead').onclick = function () {
89
131
  pixel.lead({ email: 'demo@example.com' });
@@ -93,6 +135,16 @@
93
135
  pixel.addToCart();
94
136
  log('ADD_TO_CART', uc.getSnapshot());
95
137
  };
138
+ document.querySelectorAll('[data-demo-stay]').forEach(function (el) {
139
+ el.addEventListener('click', function (event) {
140
+ event.preventDefault();
141
+ log('link-click (nav blocked)', {
142
+ detectors: pixel.getDebugActiveDetectors
143
+ ? pixel.getDebugActiveDetectors()
144
+ : [],
145
+ });
146
+ });
147
+ });
96
148
  })();
97
149
  </script>
98
150
  </body>
@@ -20,7 +20,7 @@
20
20
  <button type="button" id="btn-reinit">Reinit</button>
21
21
  </p>
22
22
  <pre id="out">init…</pre>
23
- <script src="../../../dist/v2/global.global.js"></script>
23
+ <script src="../../../v2/global.global.js"></script>
24
24
  <script>
25
25
  (async function () {
26
26
  var out = document.getElementById('out');
@@ -20,7 +20,7 @@
20
20
  <a id="decline" class="secondary" href="downsell.html">Recusar → downsell</a>
21
21
  </p>
22
22
  <pre id="out">init…</pre>
23
- <script src="../../../dist/v2/global.global.js"></script>
23
+ <script src="../../../v2/global.global.js"></script>
24
24
  <script>
25
25
  (async function () {
26
26
  var { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
@@ -163,7 +163,7 @@ code { font-size: 0.85em; }
163
163
  </div>
164
164
  </div>
165
165
 
166
- <script src="../../../dist/v2/global.global.js"></script>
166
+ <script src="../../../v2/global.global.js"></script>
167
167
  <script>
168
168
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
169
169
  const API_ENDPOINT =
@@ -165,7 +165,7 @@ code { font-size: 0.85em; }
165
165
  </div>
166
166
  </div>
167
167
 
168
- <script src="../../../dist/v2/global.global.js"></script>
168
+ <script src="../../../v2/global.global.js"></script>
169
169
  <script>
170
170
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
171
171
  const API_ENDPOINT =
@@ -167,7 +167,7 @@ code { font-size: 0.85em; }
167
167
  </div>
168
168
  </div>
169
169
 
170
- <script src="../../../dist/v2/global.global.js"></script>
170
+ <script src="../../../v2/global.global.js"></script>
171
171
  <script>
172
172
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
173
173
  const API_ENDPOINT =
@@ -162,7 +162,7 @@ code { font-size: 0.85em; }
162
162
  </div>
163
163
  </div>
164
164
 
165
- <script src="../../../dist/v2/global.global.js"></script>
165
+ <script src="../../../v2/global.global.js"></script>
166
166
  <script>
167
167
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
168
168
  const API_ENDPOINT =
@@ -171,7 +171,7 @@ code { font-size: 0.85em; }
171
171
  </div>
172
172
  </div>
173
173
 
174
- <script src="../../../dist/v2/global.global.js"></script>
174
+ <script src="../../../v2/global.global.js"></script>
175
175
  <script>
176
176
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
177
177
  const API_ENDPOINT =
@@ -167,7 +167,7 @@ code { font-size: 0.85em; }
167
167
  </div>
168
168
  </div>
169
169
 
170
- <script src="../../../dist/v2/global.global.js"></script>
170
+ <script src="../../../v2/global.global.js"></script>
171
171
  <script>
172
172
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
173
173
  const API_ENDPOINT =
@@ -163,7 +163,7 @@ code { font-size: 0.85em; }
163
163
  </div>
164
164
  </div>
165
165
 
166
- <script src="../../../dist/v2/global.global.js"></script>
166
+ <script src="../../../v2/global.global.js"></script>
167
167
  <script>
168
168
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
169
169
  const API_ENDPOINT =
@@ -314,7 +314,7 @@
314
314
  </div>
315
315
  </div>
316
316
 
317
- <script src="../../../dist/v2/global.global.js"></script>
317
+ <script src="../../../v2/global.global.js"></script>
318
318
  <script>
319
319
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
320
320
  const API_ENDPOINT =
@@ -159,7 +159,7 @@ code { font-size: 0.85em; }
159
159
  </div>
160
160
  </div>
161
161
 
162
- <script src="../../../dist/v2/global.global.js"></script>
162
+ <script src="../../../v2/global.global.js"></script>
163
163
  <script>
164
164
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
165
165
  const API_ENDPOINT =
@@ -303,7 +303,7 @@
303
303
  </div>
304
304
  </div>
305
305
 
306
- <script src="../../../dist/v2/global.global.js"></script>
306
+ <script src="../../../v2/global.global.js"></script>
307
307
  <script>
308
308
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
309
309
  const API_ENDPOINT =
@@ -342,7 +342,7 @@
342
342
  </div>
343
343
  </div>
344
344
 
345
- <script src="../../dist/v2/global.global.js"></script>
345
+ <script src="../../v2/global.global.js"></script>
346
346
  <script>
347
347
  (function () {
348
348
  var params = new URLSearchParams(window.location.search);
@@ -176,7 +176,7 @@ code { font-size: 0.85em; }
176
176
  </div>
177
177
  </div>
178
178
 
179
- <script src="../../../dist/v2/global.global.js"></script>
179
+ <script src="../../../v2/global.global.js"></script>
180
180
  <script>
181
181
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
182
182
  const API_ENDPOINT =
@@ -168,7 +168,7 @@ code { font-size: 0.85em; }
168
168
  </div>
169
169
  </div>
170
170
 
171
- <script src="../../../dist/v2/global.global.js"></script>
171
+ <script src="../../../v2/global.global.js"></script>
172
172
  <script>
173
173
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
174
174
  const API_ENDPOINT =
@@ -174,7 +174,7 @@ code { font-size: 0.85em; }
174
174
  </div>
175
175
  </div>
176
176
 
177
- <script src="../../../dist/v2/global.global.js"></script>
177
+ <script src="../../../v2/global.global.js"></script>
178
178
  <script>
179
179
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
180
180
  const API_ENDPOINT =
@@ -167,7 +167,7 @@ code { font-size: 0.85em; }
167
167
  </div>
168
168
  </div>
169
169
 
170
- <script src="../../../dist/v2/global.global.js"></script>
170
+ <script src="../../../v2/global.global.js"></script>
171
171
  <script>
172
172
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
173
173
  const API_ENDPOINT =
@@ -168,7 +168,7 @@ code { font-size: 0.85em; }
168
168
  </div>
169
169
  </div>
170
170
 
171
- <script src="../../../dist/v2/global.global.js"></script>
171
+ <script src="../../../v2/global.global.js"></script>
172
172
  <script>
173
173
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
174
174
  const API_ENDPOINT =
@@ -182,7 +182,7 @@ code { font-size: 0.85em; }
182
182
  </div>
183
183
  </div>
184
184
 
185
- <script src="../../../dist/v2/global.global.js"></script>
185
+ <script src="../../../v2/global.global.js"></script>
186
186
  <script>
187
187
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
188
188
  const API_ENDPOINT =
@@ -165,7 +165,7 @@ code { font-size: 0.85em; }
165
165
  </div>
166
166
  </div>
167
167
 
168
- <script src="../../../dist/v2/global.global.js"></script>
168
+ <script src="../../../v2/global.global.js"></script>
169
169
  <script>
170
170
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
171
171
  const API_ENDPOINT =
@@ -162,7 +162,7 @@ code { font-size: 0.85em; }
162
162
  </div>
163
163
  </div>
164
164
 
165
- <script src="../../../dist/v2/global.global.js"></script>
165
+ <script src="../../../v2/global.global.js"></script>
166
166
  <script>
167
167
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
168
168
  const API_ENDPOINT =
@@ -159,7 +159,7 @@ code { font-size: 0.85em; }
159
159
  </div>
160
160
  </div>
161
161
 
162
- <script src="../../../dist/v2/global.global.js"></script>
162
+ <script src="../../../v2/global.global.js"></script>
163
163
  <script>
164
164
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
165
165
  const API_ENDPOINT =
@@ -166,7 +166,7 @@ code { font-size: 0.85em; }
166
166
  </div>
167
167
  </div>
168
168
 
169
- <script src="../../../dist/v2/global.global.js"></script>
169
+ <script src="../../../v2/global.global.js"></script>
170
170
  <script>
171
171
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
172
172
  const API_ENDPOINT =
@@ -160,7 +160,7 @@ code { font-size: 0.85em; }
160
160
  </div>
161
161
  </div>
162
162
 
163
- <script src="../../../dist/v2/global.global.js"></script>
163
+ <script src="../../../v2/global.global.js"></script>
164
164
  <script>
165
165
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
166
166
  const API_ENDPOINT =
@@ -161,7 +161,7 @@ code { font-size: 0.85em; }
161
161
  </div>
162
162
  </div>
163
163
 
164
- <script src="../../../dist/v2/global.global.js"></script>
164
+ <script src="../../../v2/global.global.js"></script>
165
165
  <script>
166
166
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
167
167
  const API_ENDPOINT =
@@ -149,7 +149,7 @@ code { font-size: 0.85em; }
149
149
  </div>
150
150
  </div>
151
151
 
152
- <script src="../../../dist/v2/global.global.js"></script>
152
+ <script src="../../../v2/global.global.js"></script>
153
153
  <script>
154
154
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
155
155
  const API_ENDPOINT =
@@ -149,7 +149,7 @@ code { font-size: 0.85em; }
149
149
  </div>
150
150
  </div>
151
151
 
152
- <script src="../../../dist/v2/global.global.js"></script>
152
+ <script src="../../../v2/global.global.js"></script>
153
153
  <script>
154
154
  const { Pixel, DEFAULT_PIXEL_CONFIG } = window.PixelV2;
155
155
  const API_ENDPOINT =