Website Installation Instructions
Overview
You can install Springtime in one of two ways, pick the one that fits your needs:
- Most Coverage (Recommended): the most thorough protection, with a small performance cost.
- Best Performance: lighter and faster, with the pre-consent shim restoring full coverage.
Both options use the same pre-consent shim as their first step.
Before you start: you'll need your
Site Hash (a 32-character code, shown as
<SITE_HASH>
below) and/or the ready-made
Site Code snippet from your Springtime account. Everywhere you see
<SITE_HASH>
, substitute your own.
Option A: Most Coverage (Recommended)
Add
both lines below to the
<head>
of your site, in this order, as the
first scripts in the
<head>,
above Google Tag Manager and any other analytics or advertising tags. Do
not add
async
or
defer
:
This method loads the full Springtime engine synchronously (parser-blocking), which gives the broadest coverage but slightly delays page rendering.
<!-- 1. Springtime pre-consent shim — must be first, above all tags -->
<script src="https://wsv3cdn.audioeye.com/springtimeShim.js"></script>
<!-- 2. Springtime -->
<script src="https://wsv3cdn.audioeye.com/springtime.js?h=<SITE_HASH>"></script>
This method loads the full Springtime engine synchronously (parser-blocking), which gives the broadest coverage but slightly delays page rendering.
Option B: Best Performance
This method loads Springtime after the page finishes, so it doesn't block rendering. On its own, that timing means tracking requests could fire before Springtime is ready, so the pre-consent shim is what closes that gap. With the shim in place you get the performance benefit and full pre-consent protection.
1. Add the pre-consent shim as the
first script in your
<head>
, above Google Tag Manager and any other tags. Do
not add
async
or
defer
:
<script src="https://wsmcdn.audioeye.com/springtimeShim.js"></script>
2. Add the Springtime Site Code (the deferred loader): this is the snippet from your Springtime account. It can stay where you already have it (typically near the end of the page):
<script type="text/javascript">!function(){var b=function(){window.__AudioEyeSiteHash="<SITE_HASH>";var a=document.createElement("script");a.src="https://wsmcdn.audioeye.com/aem.js";a.type="text/javascript";document.getElementsByTagName("body")[0].appendChild(a)};"complete"!==document.readyState?window.addEventListener?window.addEventListener("load",b):window.attachEvent&&window.attachEvent("onload",b):b()}();</script>
Working with Consent Maximization
Consent Maximization is a way of maximizing consent while adhering to local laws. Please read the documentation on Consent Maximization for more information on configuring your installation of Springtime to work with Consent Maximization.

