Skip to content
DocsShopify

Install on Shopify

Add the script to your live theme’s layout. There is no Mayfly Shopify app to install.

Steps

  1. In Mayfly, open Install for the website, choose Shopify and copy the script.
  2. In Shopify, duplicate your live theme first, so you have a backup.
  3. Open the live theme’s code editor, then layout/theme.liquid.
  4. Paste the script just before </head> and save.
  5. Back in Mayfly, choose I’ve added the script. Check installation.
Example script
<script defer
  src="https://getmayfly.com/mayfly.js"
  data-site="YOUR_SITE_ID"
  data-verify="YOUR_VERIFICATION_CODE"></script>

Use your own script from Install: the site ID and verification code above are placeholders.

Something here doesn’t match what you see? Write to kirylapps@gmail.com.