Skip to content

Segment integration performance question #1295

@sk-roofr

Description

@sk-roofr

I'm using several integrations (around 5–6) with Segment. Since some of them are heavy—like Google Tag Manager—they noticeably slow down the initial load. I know there are techniques to load Google Tag Manager asynchronously, but I don’t think that’s possible when it's loaded through Segment.

I’m aware that Segment supports buffering, so events can be sent later. However, Amplitude needs to load early in order to identify the user and fetch A/B testing data.

Is there a way to load one of the integrations separately and inject it into Segment later? Also, are there any known tips or tricks to improve page load performance when using multiple Segment integrations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions