Skip to content
SpinLoop

Install guides

Every install is the same idea: paste one script tag on your site and list the addresses it may run on. Pick your platform for the exact clicks.

What every install has in common

Whatever runs your site, the install is three steps and usually takes about five minutes:

  1. Copy the snippet from your game's Install tab. It is one <script> tag with your game id in a data-campaign attribute.
  2. Paste it once, just before the closing </body> tag of the template every page shares. On Shopify that is theme.liquid; on Wix and Squarespace it is the site-wide custom code box.
  3. List where it may run. Add every address your site uses under “Where it can run”. The game refuses to load anywhere else, so nobody can copy your snippet onto another site and hand out your codes.

Then press Test install and open your site in another tab. The Install tab turns to “Installed” as soon as it sees the game load from one of your addresses. If your site sets a Content Security Policy, the guide for any other site lists the two origins to allow.

Install questions

Will the script slow my site down?

The snippet loads with async, so it never blocks your page from rendering. The loader is about 3 KB gzipped, and the game itself only downloads when the popup is about to open.

Can I install it before my game is ready?

Yes. Nothing shows to visitors until you set the game live, so you can paste the snippet first and finish your prizes later.

Is there a Shopify app or WordPress plugin?

Not yet. On every platform you paste the same one-line script tag. A Shopify theme app embed is planned for a later version.

Will the game clash with my theme?

No. The game draws inside a Shadow DOM, so your theme's styles cannot change it and its styles cannot leak onto your pages.

Need a hand with the install?

The guides cover Shopify, WordPress, Wix, Squarespace and any site that takes a script tag.