keystone-design-bootstrap 1.0.77 → 1.0.78

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,6 +1,6 @@
1
1
  {
2
2
  "name": "keystone-design-bootstrap",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "Keystone Design Bootstrap - Sections, Elements, and Theme System for customer websites",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -1,7 +1,3 @@
1
- 'use client';
2
-
3
- import Script from 'next/script';
4
-
5
1
  const GTM_SCRIPT = (containerId: string) => `
6
2
  (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
7
3
  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
@@ -29,11 +25,7 @@ export function GoogleTagManager({ containerId }: GoogleTagManagerProps) {
29
25
 
30
26
  return (
31
27
  <>
32
- <Script
33
- id="google-tag-manager"
34
- strategy="afterInteractive"
35
- dangerouslySetInnerHTML={{ __html: GTM_SCRIPT(id) }}
36
- />
28
+ <script id="google-tag-manager" dangerouslySetInnerHTML={{ __html: GTM_SCRIPT(id) }} />
37
29
  <noscript>
38
30
  <iframe
39
31
  src={`https://www.googletagmanager.com/ns.html?id=${id}`}