fbpx

This guide covers how to install the basic Beacon Insights code into your Shopify site.

IMPORTANT: This involves editing the theme files for your site. Knowledge of web design languages such as HTML, CSS, Javascript and Liquid is recommended.

  1. From your Shopify admin, click Online Store, then click Themes
  2. Find the theme you want to edit, click the ... button,
  3. Then click Edit HTML/CSS:
  4.  Add the Tracking Code to your site
    On the Edit HTML/CSS page in your shop admin, click on theme.liquid under Layouts to open the layout in the online code editor. Scroll through the file until you find the closing body </body> tag add the following code:

    <script type="text/javascript"> (function(a, d, w){ var h= d.getElementsByTagName(a[0])[0]; var s= d.createElement(a[1]); s.type= a[2]; s.src= a[3]; h.appendChild(s); })(['head', 'script', 'text/javascript', '//tracker.thisisbeacon.com/tracker/'], document, window); </script>
  5. Click Save

 

If you still have any questions regarding placing Beacon dynamic links, please contact Support.