@tracelog/lib 3.1.1-rc.118.5 → 3.1.1-rc.120.6
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 +2 -8
- package/dist/browser/tracelog.esm.js +462 -404
- package/dist/browser/tracelog.esm.js.map +1 -1
- package/dist/browser/tracelog.js +2 -2
- package/dist/browser/tracelog.js.map +1 -1
- package/dist/public-api.cjs +2 -2
- package/dist/public-api.cjs.map +1 -1
- package/dist/public-api.d.mts +7 -9
- package/dist/public-api.d.ts +7 -9
- package/dist/public-api.js +2 -2
- package/dist/public-api.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -189,7 +189,6 @@ await tracelog.init({
|
|
|
189
189
|
integrations: {
|
|
190
190
|
tracelog: {
|
|
191
191
|
projectId: 'your-project-id',
|
|
192
|
-
collectUrl: 'https://ingest.tracelog.io/p/your-project-id/collect', // Optional: explicit managed ingest endpoint
|
|
193
192
|
shopify: false // Optional: enable Shopify cart attribute linking
|
|
194
193
|
}
|
|
195
194
|
}
|
|
@@ -278,17 +277,12 @@ Perfect for custom analytics pipelines, testing, or privacy-focused implementati
|
|
|
278
277
|
```typescript
|
|
279
278
|
await tracelog.init({
|
|
280
279
|
integrations: {
|
|
281
|
-
tracelog: {
|
|
282
|
-
projectId: 'your-project-id',
|
|
283
|
-
collectUrl: 'https://ingest.tracelog.io/p/your-project-id/collect' // recommended
|
|
284
|
-
}
|
|
280
|
+
tracelog: { projectId: 'your-project-id' }
|
|
285
281
|
}
|
|
286
282
|
});
|
|
287
283
|
```
|
|
288
284
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
**Domain requirement (CNAME fallback).** When `collectUrl` is omitted, the SaaS endpoint is derived from the host page's domain (`https://{projectId}.{rootDomain}/collect`), so `init()` rejects when called from `localhost` or a raw IP address. For local development, omit `integrations.tracelog` to run in standalone mode, or test against a staging domain mapped via `/etc/hosts`.
|
|
285
|
+
**Domain requirement.** The SaaS endpoint is derived from the host page's domain (`https://{projectId}.{rootDomain}/collect`), so `init()` rejects when called from `localhost` or a raw IP address. For local development, omit `integrations.tracelog` to run in standalone mode, or test against a staging domain mapped via `/etc/hosts`.
|
|
292
286
|
|
|
293
287
|
**→ [Integration Reference](./API_REFERENCE.md#integration-configuration)**
|
|
294
288
|
|