Open location popup on page load

Is there a way to have the location popup open along with this, on desktop specifically? I only have one location and would love for it to be automatically visible on desktop

Hi there, @Lily_Gamble1 :waving_hand:

I think it’s possible to achieve using a JS script. I’ve forwarded your request to the devs and will update you once I have their response :slightly_smiling_face:

Hi there, @Lily_Gamble1 :waving_hand:

Thank you for waiting!

Here is a script to open the location popup on all devices:


util.waitForElement('[class*="marker__Container-sc"]').then((marker) => {
	marker.click();
});

And here is a script for all devices except for mobiles:

if (window.innerWidth > 480) {
util.waitForElement('[class*="marker__Container-sc"]').then((marker) => {
		marker.click();
	});
}

Please add one of the scripts to the Custom JS field on the Settings tab and let me know if it worked :slightly_smiling_face:

Thank you SO much for the quick response! It worked perfectly

That’s great! You’re always welcome :wink: