@graphcommerce/googleanalytics 1.2.0 → 2.0.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +27 -26
  2. package/README.md +1 -4
  3. package/package.json +8 -11
package/CHANGELOG.md CHANGED
@@ -1,56 +1,57 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ ## 2.0.1
5
4
 
6
- # [1.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googleanalytics@1.1.4...@graphcommerce/googleanalytics@1.2.0) (2021-12-21)
5
+ ### Patch Changes
7
6
 
7
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
8
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
9
+ so that the packages link to back to the website and repository
8
10
 
9
- ### Features
11
+ ## 2.0.0
12
+
13
+ ### Major Changes
10
14
 
11
- * **googleanalytics:** moved to gtag ([c586a8f](https://github.com/ho-nl/m2-pwa/commit/c586a8f66547cf7c332113e991a257181ce8d338))
15
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
16
+ [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
17
+ Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
12
18
 
19
+ All notable changes to this project will be documented in this file. See
20
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
13
21
 
22
+ # [1.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googleanalytics@1.1.4...@graphcommerce/googleanalytics@1.2.0) (2021-12-21)
14
23
 
24
+ ### Features
15
25
 
26
+ - **googleanalytics:** moved to gtag
27
+ ([c586a8f](https://github.com/ho-nl/m2-pwa/commit/c586a8f66547cf7c332113e991a257181ce8d338))
16
28
 
17
29
  ## [1.1.4](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googleanalytics@1.1.3...@graphcommerce/googleanalytics@1.1.4) (2021-12-20)
18
30
 
19
-
20
31
  ### Bug Fixes
21
32
 
22
- * make sure analytics only tracks once on page load ([94def43](https://github.com/ho-nl/m2-pwa/commit/94def43db7075b6b039696612547c6b6ff7c7c6e))
23
- * make sure we're not loading gogole properties when keys are not given ([8636715](https://github.com/ho-nl/m2-pwa/commit/8636715d61985e0919208ffb64354c3ebb43ed01))
24
-
25
-
26
-
27
-
33
+ - make sure analytics only tracks once on page load
34
+ ([94def43](https://github.com/ho-nl/m2-pwa/commit/94def43db7075b6b039696612547c6b6ff7c7c6e))
35
+ - make sure we're not loading gogole properties when keys are not given
36
+ ([8636715](https://github.com/ho-nl/m2-pwa/commit/8636715d61985e0919208ffb64354c3ebb43ed01))
28
37
 
29
38
  ## [1.1.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googleanalytics@1.1.1...@graphcommerce/googleanalytics@1.1.2) (2021-12-17)
30
39
 
31
-
32
40
  ### Bug Fixes
33
41
 
34
- * pageview with analytics not registered ([7cdb68d](https://github.com/ho-nl/m2-pwa/commit/7cdb68d9770a00044fa5a1f143fd05701ea72d59))
35
-
36
-
37
-
38
-
42
+ - pageview with analytics not registered
43
+ ([7cdb68d](https://github.com/ho-nl/m2-pwa/commit/7cdb68d9770a00044fa5a1f143fd05701ea72d59))
39
44
 
40
45
  ## [1.1.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/googleanalytics@1.1.0...@graphcommerce/googleanalytics@1.1.1) (2021-12-17)
41
46
 
42
-
43
47
  ### Bug Fixes
44
48
 
45
- * **googleanalytics:** make sure ga is defined ([787dd9f](https://github.com/ho-nl/m2-pwa/commit/787dd9f6945469e36ebf627213fdb5eefb8146cd))
46
-
47
-
48
-
49
-
49
+ - **googleanalytics:** make sure ga is defined
50
+ ([787dd9f](https://github.com/ho-nl/m2-pwa/commit/787dd9f6945469e36ebf627213fdb5eefb8146cd))
50
51
 
51
52
  # 1.1.0 (2021-12-17)
52
53
 
53
-
54
54
  ### Features
55
55
 
56
- * **googleanalytics:** created pacakge to support Google Analytics ([308b6df](https://github.com/ho-nl/m2-pwa/commit/308b6df1f216d2bc726c770a9ead039bd114a995))
56
+ - **googleanalytics:** created pacakge to support Google Analytics
57
+ ([308b6df](https://github.com/ho-nl/m2-pwa/commit/308b6df1f216d2bc726c770a9ead039bd114a995))
package/README.md CHANGED
@@ -7,8 +7,5 @@ webshop.
7
7
 
8
8
  1. Fill `NEXT_PUBLIC_GOOGLE_ANALYTICS` in your .env file
9
9
  [example](../../examples/magento-graphcms/.env.example)
10
- 2. Add `<GoogleTagManagerScript/>` to your `pages/_app.tsx` file.
10
+ 2. Add `<GoogleAnalyticsScript/>` to your `pages/_app.tsx` file.
11
11
  [example](../../examples/magento-graphcms/pages/_app.tsx)
12
- 3. Add `<GoogleTagManagerNoScript/>` to your `pages/_document.tsx` file, in the
13
- body section above `<Main />`
14
- [example](../../examples/magento-graphcms/pages/_document_.tsx)
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@graphcommerce/googleanalytics",
3
- "version": "1.2.0",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "2.0.1",
4
6
  "sideEffects": false,
5
7
  "prettier": "@graphcommerce/prettier-config-pwa",
6
- "browserslist": [
7
- "extends @graphcommerce/browserslist-config-pwa"
8
- ],
9
8
  "eslintConfig": {
10
9
  "extends": "@graphcommerce/eslint-config-pwa",
11
10
  "parserOptions": {
@@ -13,16 +12,14 @@
13
12
  }
14
13
  },
15
14
  "devDependencies": {
16
- "@graphcommerce/browserslist-config-pwa": "^3.0.3",
17
- "@graphcommerce/eslint-config-pwa": "^3.1.9",
18
- "@graphcommerce/prettier-config-pwa": "^3.0.5",
19
- "@graphcommerce/typescript-config-pwa": "^3.1.2",
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.1",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.1",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.1",
20
18
  "@types/gtag.js": "^0.0.8"
21
19
  },
22
20
  "dependencies": {
23
- "next": "^12.0.7",
21
+ "next": "^12.0.10",
24
22
  "react": "^17.0.2",
25
23
  "react-dom": "^17.0.2"
26
- },
27
- "gitHead": "a9ce93f83b7dda9f973cef16950d3c0d844971d3"
24
+ }
28
25
  }