@griddo/cx 1.67.8 → 1.68.0
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/cx",
|
|
3
3
|
"description": "Griddo SSG based on Gatsby",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.68.0",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"react-helmet": "^6.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@griddo/eslint-config-back": "^1.
|
|
67
|
+
"@griddo/eslint-config-back": "^1.68.0",
|
|
68
68
|
"eslint": "^7.5.0",
|
|
69
69
|
"eslint-plugin-node": "^11.1.0",
|
|
70
70
|
"eslint-plugin-react": "7.14.3",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"publishConfig": {
|
|
97
97
|
"access": "public"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "67446292a36acae620ba0097671ec43fd026343f"
|
|
100
100
|
}
|
package/src/components/seo.js
CHANGED
|
@@ -30,7 +30,6 @@ export default function SEO(props) {
|
|
|
30
30
|
const showMetaRobots =
|
|
31
31
|
showBasicMetaRobots || metaRobots !== 'index,follow,translate';
|
|
32
32
|
|
|
33
|
-
|
|
34
33
|
const emptyCodeScript = { props: { dangerouslySetInnerHTML: {} } };
|
|
35
34
|
|
|
36
35
|
const analyticsSrc =
|
|
@@ -112,8 +111,8 @@ export default function SEO(props) {
|
|
|
112
111
|
|
|
113
112
|
{/* Data Layer */}
|
|
114
113
|
{/* Solo cuando se ejecuta en el navegador */}
|
|
115
|
-
{typeof window !== 'undefined' && (
|
|
116
|
-
<script>{`const newDataLayer = ${analyticsDimensions};newDataLayer && window.dataLayer && window.dataLayer.push(newDataLayer);`}</script>
|
|
114
|
+
{typeof window !== 'undefined' && analyticsDimensions && (
|
|
115
|
+
<script>{`const {__HIDDEN, ...newDataLayer} = ${analyticsDimensions};newDataLayer && window.dataLayer && window.dataLayer.push(newDataLayer);`}</script>
|
|
117
116
|
)}
|
|
118
117
|
</Helmet>
|
|
119
118
|
</>
|