Skip to content

PageView with event ID #82

@octocat512

Description

@octocat512

PageView event with Event ID for deduplication.

Hi, We're using this package and it's really good.
The only problem is related to deduplication.
We want to add eventID into PageView event.

In order to add eventID, I used this code.
ReactPixel.fbq('track', 'PageView', {}, { eventID });.
I put this code after initialization of ReactPixel package.
ReactPixel.init(PIXEL_ID);

When first page is loaded, since the above code is executed, the eventID is attaching to event info of PageView Event.
But after first page, for other pages, no eventID is attaching to event Info.
I added the above code for every pages ( ComponentDidMount ), but it seems that PageView event request is called automatically when page is loaded.
Is there any way to add eventID into PageView Event?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions