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

How to define/collect external ID from Meiro Events

 

Meiro Events supports defining external_id. It’s possible to define it via init function in a header following way:

// current initialization 
// MeiroEvents.init(domain); 
// initialization with external_id 
MeiroEvents.init({ domain: domain, external_id: "some_external_id_1234" });

You can also define multiple external ids via JSON object passed to init function following way:

// current initialization 
// MeiroEvents.init(domain); 
// initialization with external_id 
MeiroEvents.init({ 
  domain: domain, 
  external_id: { 
    ga: "ga client id",
    app_cid: "site client id"
  }
});