Skip to content

Using batch event upload api manually #227

Open
@n1rna

Description

@n1rna

I am not sure about this one being a feature-request or not. But I would like to be able to send multiple events batched in one single request to amplitude, without needing to wait for a specific amount of time or a behavior similar to batchEvents option.

There are times that I want to submit more than one (sometimes 20-100) events based on a user's single action. What do you offer to do in such scenarios?

I would like to be able to do something like this:

let events = []; // list of events, each element includes eventProperties and eventType
let amp = amplitude.getInstance();
amp.logBatchEvents(events);

And Identity (User) information should be the same for all the events.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions