ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Page views: How to pass additional data into page view event

It is possible to pass custom_payload object to MeiroEvents.track("pageView") method.

Below an example of the code where custom_payload is customizable object structure holding additional data:

MeiroEvents.track("pageView", {
  custom_payload: {
    whatever: "whatever value",
  }
});