@blotoutio/providers-blotout-popup-sdk 1.74.0 → 1.74.1
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/README.md +5 -2
- package/index.cjs.js +854 -105
- package/index.js +854 -105
- package/index.mjs +854 -105
- package/package.json +1 -1
- package/stores/shopify/index.cjs.js +352 -0
- package/stores/shopify/index.js +352 -0
- package/stores/shopify/index.mjs +352 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Browser-side Blotout Popup runtime for EdgeTag. Renders popup rules authored in the
|
|
4
4
|
Blotout Popup dashboard into the merchant storefront — modal, slide-in, bar, floating
|
|
5
|
-
box,
|
|
5
|
+
box, fullscreen takeover, and cart drawer formats.
|
|
6
6
|
|
|
7
7
|
## Loading
|
|
8
8
|
|
|
@@ -10,7 +10,10 @@ The CDN worker emits the bundle URL on every storefront page-load when the
|
|
|
10
10
|
provider's `uiPreferences.mode` is `enabled` or `preview`. The bundle's `init`
|
|
11
11
|
entry point reads `manifest.variables.popupRules`, picks the first rule whose
|
|
12
12
|
conditions, schedule, and fatigue all pass, and appends the rendered popup to
|
|
13
|
-
`document.body
|
|
13
|
+
`document.body` — except the `cartDrawer` format, which mounts in normal flow
|
|
14
|
+
inside the theme's own cart container above the checkout block. With no
|
|
15
|
+
container found it falls back to a floating box while the shopper is in the
|
|
16
|
+
cart, and does not render at all anywhere else.
|
|
14
17
|
|
|
15
18
|
## Events
|
|
16
19
|
|