Install Snappy
Install Snappy
Snappy uses a single script tag to load in the Snappy code on your website.
The script is compiled and cached on our CDN for maximum speed and maximum availability.
Overivew
Installation in HTML
To setup Snappy you simply copy your <script>
tag from below and insert it on
your website. The script tag should preferrably be inserted in the <head>
tag
on the site to prevent unexpected behaviour.
<script src="https://scripts.letsbesnappy.com/YOUR_DOMAIN/admin.js"></script>
Make sure to replace YOUR_DOMAIN
with the domain the script should be
installed on.
Using a Framework
Different frameworks compile your website in different ways. To be sure that
Snappy always works as expected it's important that the <script>
tag is
included in the <head>
tag of all your subpages.
It is safe to not include Snappy on some pages, but will it limit what Snappy can scan, track and perform A/B tests on. If a page renders on the client without the script installed, then no widgets will be available on that site. This also means that the admin frame will not be injected on the website either.
<script src="https://scripts.letsbesnappy.com/YOUR_DOMAIN/admin.js"></script>
Make sure to replace YOUR_DOMAIN
with the domain the script should be
installed on.
Using a Webiste Builder
If your site is build using a website builder then most will give you the ability to inject head scripts on your site. Snappy provided tutorials for installing on most popular website builders and even extension for a few them. The tutorials can be found on here.
<script src="https://scripts.letsbesnappy.com/YOUR_DOMAIN/admin.js"></script>
Make sure to replace YOUR_DOMAIN
with the domain the script should be
installed on.