To integrate Audenticity with Shopify stores who have headless e-commerce sites, you need to add two different codes: one for tracking referred visitors and for tracking purchases made by those referred visitors.
Copy this code
<script defer type="text/javascript" src="https://app.audenticity.com/external/tracking/v1/shopify.js?audenticity_code=AUD-#######"></script>Find the header or footer section and paste the code. Replace the ###### with your Unique Tracking ID.
By adding this code you are now tracking referred visitors to your site. If you do not have access to edit your site's front-end, you'll need to provide this code to your developers.
Copy this code
<script defer type="text/javascript" src="https://app.audenticity.com/external/tracking/v1/shopify_thank_you.js?audenticity_code=AUD-#######"></script>This code should be placed on the page that is immediately displayed after finishing a purchase on your site. Make sure to add this to a page is only displayed once after finishing an order, and not again, such as the order status, order history, order tracking, email confirmation.
Replace the ###### with your Unique Tracking ID.
From your Shopify admin, go to Settings > Checkout.
In the Order status page section, go to the Additional scripts text box.