Closed Dgiulian closed 8 months ago
I have the Amplitude Integration configured in Segment. But it's not loading correctly using @segment/analytics-next.
@segment/analytics-next
When I track an event the payload includes this metadata
"_metadata": { "failedInitializations": [ "Amplitude" ], "bundled": [ "Amplitude", "Intercom", "Segment.io" ], "unbundled": [], "bundledIds": [ ".....", "....." ] }
this is the code I'm using to load Segment:
const [analytics] = useState( import.meta.env.VITE_SEGMENT_KEY ? AnalyticsBrowser.load({ writeKey: import.meta.env.VITE_SEGMENT_KEY, }) : undefined, );
After checking in Segment I can see the event being tracked, but it's not getting through to Amplitude.
I can see the https://cdn.segment.com/v1/projects/<WriteKey>/settings being called and includes the correct Amplitude apiKey.
https://cdn.segment.com/v1/projects/<WriteKey>/settings
apiKey
The console is showing this error when Segment loads:
@Dgiulian, sorry you're having an issue.
Can you take out a support ticket through the Segment website? This repo does not include the actual action destinations themselves.
I have the Amplitude Integration configured in Segment. But it's not loading correctly using
@segment/analytics-next
.When I track an event the payload includes this metadata
this is the code I'm using to load Segment:
After checking in Segment I can see the event being tracked, but it's not getting through to Amplitude.
I can see the
https://cdn.segment.com/v1/projects/<WriteKey>/settings
being called and includes the correct AmplitudeapiKey
.The console is showing this error when Segment loads: