@sentecacommerce-theme/lib 0.13.16 → 0.13.17
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.
@@ -98,7 +98,7 @@ function AnalyticsScripts() {
|
|
98
98
|
}) : null,
|
99
99
|
gtm: hasGoogleId ? /*#__PURE__*/ _react.default.createElement("script", {
|
100
100
|
dangerouslySetInnerHTML: {
|
101
|
-
__html: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat((ref6 = config.google) === null || ref6 === void 0 ? void 0 : ref6.id, "', {\n page_path: window.location.pathname,\n });\n ").concat(hasGoogleReMarketing ? "gtag('config', ".concat((ref7 = config.google) === null || ref7 === void 0 ? void 0 : (ref8 = ref7.reMarketing) === null || ref8 === void 0 ? void 0 : ref8.id, ")") : '', "\n ")
|
101
|
+
__html: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat((ref6 = config.google) === null || ref6 === void 0 ? void 0 : ref6.id, "', {\n page_path: window.location.pathname,\n });\n ").concat(hasGoogleReMarketing ? "gtag('config', '".concat((ref7 = config.google) === null || ref7 === void 0 ? void 0 : (ref8 = ref7.reMarketing) === null || ref8 === void 0 ? void 0 : ref8.id, "')") : '', "\n ")
|
102
102
|
}
|
103
103
|
}) : null,
|
104
104
|
pixel: ((ref9 = config.facebook) === null || ref9 === void 0 ? void 0 : ref9.pixelId) ? /*#__PURE__*/ _react.default.createElement("script", {
|
@@ -68,7 +68,7 @@ export function AnalyticsScripts() {
|
|
68
68
|
}) : null,
|
69
69
|
gtm: hasGoogleId ? /*#__PURE__*/ React.createElement("script", {
|
70
70
|
dangerouslySetInnerHTML: {
|
71
|
-
__html: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat((ref6 = config.google) === null || ref6 === void 0 ? void 0 : ref6.id, "', {\n page_path: window.location.pathname,\n });\n ").concat(hasGoogleReMarketing ? "gtag('config', ".concat((ref7 = config.google) === null || ref7 === void 0 ? void 0 : (ref8 = ref7.reMarketing) === null || ref8 === void 0 ? void 0 : ref8.id, ")") : '', "\n ")
|
71
|
+
__html: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat((ref6 = config.google) === null || ref6 === void 0 ? void 0 : ref6.id, "', {\n page_path: window.location.pathname,\n });\n ").concat(hasGoogleReMarketing ? "gtag('config', '".concat((ref7 = config.google) === null || ref7 === void 0 ? void 0 : (ref8 = ref7.reMarketing) === null || ref8 === void 0 ? void 0 : ref8.id, "')") : '', "\n ")
|
72
72
|
}
|
73
73
|
}) : null,
|
74
74
|
pixel: ((ref9 = config.facebook) === null || ref9 === void 0 ? void 0 : ref9.pixelId) ? /*#__PURE__*/ React.createElement("script", {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sentecacommerce-theme/lib",
|
3
3
|
"sideEffects": false,
|
4
|
-
"version": "0.13.
|
4
|
+
"version": "0.13.17",
|
5
5
|
"main": "dist/cjs/index.js",
|
6
6
|
"module": "dist/esm/index.js",
|
7
7
|
"types": "dist/types/index.d.ts",
|
@@ -31,13 +31,13 @@
|
|
31
31
|
"watch:cjs": "swc src --out-dir dist/cjs -w",
|
32
32
|
"watch:esm": "swc src --out-dir dist/esm --no-swcrc -w"
|
33
33
|
},
|
34
|
-
"gitHead": "
|
34
|
+
"gitHead": "44b51525b48496e5cb6ff9dc08cd99084dbd2d3f",
|
35
35
|
"peerDependencies": {
|
36
36
|
"react-query": "^2.26.2"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@sentecacommerce-theme/base": "^0.13.
|
40
|
-
"@sentecacommerce-theme/cms": "^0.13.
|
39
|
+
"@sentecacommerce-theme/base": "^0.13.17",
|
40
|
+
"@sentecacommerce-theme/cms": "^0.13.17",
|
41
41
|
"@sentecacommerce/sdk": "2.0.175",
|
42
42
|
"body-scroll-lock": "^3.1.5",
|
43
43
|
"copy-to-clipboard": "^3.3.1",
|