analytics-next icon indicating copy to clipboard operation
analytics-next copied to clipboard

Segment Analytics.js 2.0

Results 140 analytics-next issues
Sort by recently updated
recently updated
newest added

Adds a console error with the error status text from the API explaining to users what went wrong with the `settings` call. .

**Breaking change introduced** I have a breaking change trying to upgrade [1.41.0 -> 1.42.1](https://renovatebot.com/diffs/npm/@segment%2fanalytics-next/1.41.0/1.42.1) # Expected I should be able to pass any `Record` as traits into the `identify` call....

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action...

Hello 👋 Since https://github.com/segmentio/analytics-next/pull/561 we are unable to pass undefined as a value to track/identify calls as JSONValue does not accept undefined values Meaning this kind of (pseudo) function ```ts...

Hello, We were led to believe that it is possible to run two instances of analytics-next with different write keys side by side. One via segment source snippet (exposed on...

enhancement

In the previous version you had this tutorial https://github.com/segmentio/analytics.js/wiki/Building-A-Custom-Distribution How to do that with the new version?

enhancement

For CSP, I'd like to do `AnalyticsBrowser.load({ writeKey, nonce })` where nonce is a CSP nonce passed to allow specific scripts

enhancement

when using analytics-next with react if `initialPageview` is true page() fires twice in segment debugger. ``` const analytics = useMemo( () => AnalyticsBrowser.load({ writeKey }, { initialPageview: true }), [writeKey],...

@silesky Please review the package.json with extra caution to make sure things are as they should be

It seems that [Privacy Badger](https://privacybadger.org/) blocks the call to get the settings. The problem is, that means that the `load` call throws. And i have in my code the `analytics`...