Setup
Paste the Gerald code into the <head> of every page and when youre ready, hit the Verify button below.
Shopify Plus Remember to add the script to your Checkout.liquid file, too. Need a hand? Catch Doug on Slack!
1<!-- Gerald Main Snippet -->
2 <script>
3 (function(g, e, r, a, l, d) {
4 g.gerald = g.gerald || function() {
5 (g.gerald.q = g.gerald.q || []).push(arguments)
6 };
7 g.gerald.settings = {
8 gn: 'undefined',
9 gid: 'undefined', // This should be your Gerald Site ID.
10 gsv: 1,
11 };
12 l = e.getElementsByTagName('head')[0];
13 d = e.createElement('script');
14 d.async = 1;
15 d.src = r + g.gerald.settings.gid + a + g.gerald.settings.gsv;
16 l.appendChild(d);
17
18 })(window, document, '//delivery.getGerald.com/g/gerald-', '.js?sv=',);
19 </script>