How do I trigger a lightbox in URL that contain utm query parameter?

Thank you Yisrael!
So if I understood correctly this is how the code should look like?

import wixLocation from 'wix-location';
import wixWindow from 'wix-window';
$w.onReady(function () {
let query = wixLocation.query;
if (query.indexOf("utm_source=facebook") !== -1)
{wixWindow.openLightbox("LightboxName");}
})

Because unfortunately it still does not work properly :frowning: