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

How to get Meiro User ID

Knowing 1PT Meiro Web ID may be useful for integration with other services, like Facebook Pixel.
You can get current visitorĀ meiro_user_id via javascript by calling:
MeiroEvents.getUserId();
Make sure you haveĀ MeiroEvents already initialised. Keep in mind that, due to fingerprinting, assigning user ID to new visitor may take a few hundred milliseconds.