Website showing before AgeGate loads

Hi all,

I just noticed the website loads and show before the age gate widget shows? I’m using the script before body closing tag on the liquid template in Shopify. Is there anyway to stop this?

thank you!

Paul

  • Link to the page with the widget in question:
2 Likes

Hi there, @user20372 :wave:

The Age Verification widget shows up with a delay because there’s data-elfsight-app-lazy attribute in the code. Please remove this attribute from the installation code and the widget will load faster:


We also recommend moving the widget code higher up on the page - ideally right after the opening <body> tag or in the <header> .

These steps should make the Age Verification appear much quicker.

Try it out and let me know if it helped :wink:

1 Like

Thanks @Max ! That definitely seems to have helped :slight_smile:

1 Like

Great, you’re most welcome :wink: