@metrone-io/react 1.2.0 → 1.2.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 (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -59,6 +59,15 @@ function MyComponent() {
59
59
  | `trackAISession(data)` | Track AI session lifecycle |
60
60
  | `flush()` | Flush pending events |
61
61
 
62
+ ## Human vs AI traffic
63
+
64
+ Events are classified at ingest as human or AI automatically. Visitors
65
+ arriving from ChatGPT, Gemini, Perplexity, Claude, and other AI platforms
66
+ are grouped under canonical AI sources on the Metrone **AI Traffic**
67
+ dashboard — no extra code in your React app. To also capture AI agents
68
+ that fetch your pages without running JavaScript (GPTBot, ChatGPT-User,
69
+ PerplexityBot, …), add [server-side or edge capture](https://metrone.io/docs#agent-capture).
70
+
62
71
  ## Documentation
63
72
 
64
73
  [metrone.io/docs](https://metrone.io/docs)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metrone-io/react",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Metrone React integration - Privacy-first analytics for React",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -13,7 +13,7 @@
13
13
  "build": "rollup -c",
14
14
  "build:watch": "rollup -c -w",
15
15
  "dev": "rollup -c -w",
16
- "test": "jest",
16
+ "test": "jest --passWithNoTests",
17
17
  "test:watch": "jest --watch",
18
18
  "lint": "eslint src --ext .ts,.tsx",
19
19
  "lint:fix": "eslint src --ext .ts,.tsx --fix",