logos-kit 1.0.3 → 1.0.4

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.
@@ -2,6 +2,7 @@
2
2
 
3
3
  import Script from "next/script";
4
4
  import type { ReactElement } from "react";
5
+ import ClickTracker from "./ClickTracker";
5
6
 
6
7
  type Props = {
7
8
  measurementId: string | undefined;
@@ -21,6 +22,7 @@ export default function GoogleAnalytics({
21
22
  <Script id="ga-init" strategy="lazyOnload">
22
23
  {`window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','${measurementId}');`}
23
24
  </Script>
25
+ <ClickTracker />
24
26
  </>
25
27
  );
26
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logos-kit",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Shared components and styles for Logos Web Studio sites",
5
5
  "license": "MIT",
6
6
  "repository": {