Whitepage solution

If you do not have the possibility to add the SiteGainer script to the top of the tag or experience flickering for some reason, you might want to use our whitepage solution.

It needs to be added at the absolute top of the tag to work as intended, but takes 1.8kb and is hosted by our reliable CDN partner Cloudfront.

The script to add before SiteGainer and at the top of the tag is:

<script src="https://d191y0yd6d0jy4.cloudfront.net/whitepage.js"></script>

Always make sure you try this out on your website for all the main browsers before you put this code in production as it hides your website while it’s loading and shows it when its ready ( Reaches ”Document Ready” state ). Issues with this script might lead to your visitors seeing a white page when loading your website.