Shopify Social Analytics Tracking Manual Installation

  1. Open your Shopify store Admin
  2. Click on the “Online Store” option
  3. Click on Themes
  4. Click on the three dot box and choose “Edit HTML/CSS”
  5. Select your main Layout Theme (i.e. theme.liquid)
  6. Copy and Paste the analytics code (provided below) just above the last </body> tag.
  7. Replace the XXXXXX with your specific site ID, which you can find in your AddShoppers Dashboard inside your Site Configuration settings.
  8. Click Save!

<!-- AddShoppers Tracking Code Start -->

<script type="text/javascript">

var js = document.createElement('script'); js.type = 'text/javascript'; js.async = true; js.id = 'AddShoppers';

js.src = ('https:' == document.location.protocol ? 'https://shop.pe' : 'http://cdn.shop.pe') + '/widget/widget_async.js#XXXXXXX';

document.getElementsByTagName("head")[0].appendChild(js);

</script>

<!-- AddShoppers Tracking Code End -->

Shopify ROI Tracking Codes Installation Instructions:

  1. Open your shopify store dashboard.
  2. Click Settings
  3. Click Checkout
  4. Scroll down the page to ‘Order Processing’
  5. Go to the ‘additional content and scripts’ field
  6. Paste in this code:

  7. <script type="text/javascript"> AddShoppersConversion = { order_id: '#{{ order_number }}', value: '#{{ total_price | money_without_currency }}' }; var js = document.createElement('script'); js.type = 'text/javascript'; js.async = true; js.id = 'AddShoppers'; js.src = ('https:' == document.location.protocol ? 'https://shop.pe/widget/' : 'http://cdn.shop.pe/widget/') + 'widget_async.js#XXXXXXXX'; document.getElementsByTagName("head")[0].appendChild(js); </script>

<!-- AddShoppers ROI Tracking Start -->

<!-- AddShoppers ROI Tracking End -->

Did this answer your question?