react-marketing-tools 1.0.0 → 1.0.2
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/README.md +14 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
# React Marketing Tools
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/react-marketing-tools)
|
|
4
|
+
[](https://www.npmjs.com/package/react-marketing-tools)
|
|
5
|
+
[](https://bundlejs.com/?q=react-marketing-tools)
|
|
6
|
+
[](https://www.npmjs.com/package/react-marketing-tools)
|
|
7
|
+
[](https://www.npmjs.com/package/react-marketing-tools)
|
|
4
8
|
[](./LICENSE)
|
|
5
9
|
|
|
10
|
+
[](https://github.com/bronz3beard/react-marketing-tools/actions/workflows/ci.yml)
|
|
11
|
+
[](https://github.com/bronz3beard/react-marketing-tools/actions/workflows/codeql.yml)
|
|
12
|
+
[](https://scorecard.dev/viewer/?uri=github.com/bronz3beard/react-marketing-tools)
|
|
13
|
+
[](https://www.bestpractices.dev/projects/14943)
|
|
14
|
+
[](https://github.com/bronz3beard/react-marketing-tools/commits/main)
|
|
15
|
+
|
|
16
|
+
[](https://github.com/bronz3beard/react-marketing-tools/blob/main/docs/agent-setup.md)
|
|
17
|
+
[](https://github.com/bronz3beard/react-marketing-tools/discussions)
|
|
18
|
+
[](https://github.com/bronz3beard/react-marketing-tools/blob/main/CONTRIBUTING.md)
|
|
19
|
+
|
|
6
20
|
Send one event from your React app and it reaches Google Tag Manager, Google Analytics 4 and the Meta Pixel at once.
|
|
7
21
|
The library keeps the visitor's privacy choices, remembers which campaign brought them, strips personal data out of
|
|
8
22
|
events, and can send the same events again from your server so they still arrive when a browser blocks tracking.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-marketing-tools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "One track() call for Google Tag Manager, Google Analytics 4 and the Meta Pixel, with Consent Mode v2, UTM attribution and personal-data redaction built in. React bindings included.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "bronz3beard <exempli.gratia.webdesign@gmail.com> (https://www.heyrory.com/)",
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"lint": "eslint .",
|
|
88
88
|
"mock:publish": "npm pack --dry-run",
|
|
89
89
|
"prepublishOnly": "npm run build && npm run check:size",
|
|
90
|
+
"release": "node scripts/release.mjs",
|
|
90
91
|
"test": "vitest run",
|
|
91
92
|
"test:watch": "vitest",
|
|
92
93
|
"typecheck": "tsc --noEmit"
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"eslint": "^10.11.0",
|
|
116
117
|
"eslint-config-prettier": "^10.1.8",
|
|
117
118
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
119
|
+
"fast-check": "^4.10.2",
|
|
118
120
|
"jsdom": "^30.1.0",
|
|
119
121
|
"prettier": "^3.9.8",
|
|
120
122
|
"publint": "^0.3.24",
|