How to get Meiro User ID

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