HelpPage BuildersHow to install Lead Recorder on Shopify
Page Builders

How to install Lead Recorder on Shopify

Add the Lead Recorder snippet to Shopify by editing your theme's layout file.

On Shopify, add the snippet to your theme's main layout file (theme.liquid) so it loads on every page.

Skip the manual setup: install the Lead Recorder app from the Shopify App Store and it wires up your tracking snippet for you, no theme code editing required.

Get the Shopify app

Step 1: Copy your snippet (manual setup)

<script src="https://www.leadrecorder.com/api/script/YOUR_KEY" defer></script>

Step 2: Edit your theme

  1. 1In your Shopify admin, go to Online Store > Themes.
  2. 2Click the three dots next to your active theme and select Edit Code.
  3. 3In the left file tree, under Layout, click theme.liquid.
  4. 4Find the closing </head> tag.
  5. 5Paste your Lead Recorder snippet on the line just before </head>.
  6. 6Click Save.
  <script src="https://www.leadrecorder.com/api/script/YOUR_KEY" defer></script>
</head>

Step 3: Verify installation

Visit your Shopify store and right-click, then View Page Source. Search for leadrecorder to confirm it's loading.

Note: Before editing theme code, duplicate your theme first. Go to Themes > three dots > Duplicate so you have a backup.

Was this helpful?Send feedback