Skip to content

Conversation

@jasonbekolay
Copy link

The integrations config option will disable a destination that is configured in Segment, but the destination's code is still loaded. If you have a Segment destination and a plugin for this library configured for the same service, that will cause it to be loaded twice. In the case of Customer.io, this causes errors.

The loadIntegrations option added here allow you avoid this by disabling a Segment destination when analytics.load is called.

Thank you for this library and for reviewing my PR! I'm happy to integrate any feedback you may have.

@jasonbekolay jasonbekolay force-pushed the segment/disable-destination-on-load branch from 19c7c5d to 2c69403 Compare October 31, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant