How to Use Beacon with Shopify
Sendlane’s Beacon tracking pixel allows you to follow your Contacts through their entire customer journey, from pages viewed to purchases made, even if you don't use a deep data eCommerce integration!
Read on to learn how to install general tracking on your Shopify store and start collecting valuable customer journey data.
🚦 Before Getting Started
Make sure you have admin access to your Shopify store
- 1
-
- Head to the Beacon tab of your Account page
- Click Get Beacon Code
- Click Copy code
Copy Beacon General Tracking Code
- 2
-
- Log in to Shopify
- Click Online Store
- Click the three dot menu next to your active theme
- Click Edit Code
- Search for
header.liquid
- Click into the
header.liquid file
- Press CMD + F to open the search panel
- Type
</header>
- If your
header.liquid
file has a</header>
tag, paste your Beacon code right before</header>
- If your
header.liquid
file does not have a</header>
tag, paste your Beacon code at the top of theheader.liquid
file
- If your
- Click Save
Add Beacon General Tracking Code to Shopify
- 3
-
Once you've saved your Beacon code inside your Shopify theme's header file, check that Beacon is firing correctly by inspecting your website. This process assumes you are using Chrome, which is the most compatible browser for Sendlane:
- Copy the event ID from your Beacon installation code
- Open your Shopify store
- Right click anywhere on the page
- Click Inspect
- Type Command/Control + F to open the finder
- Paste the event ID from your Beacon code
If your event ID is highlighted, Beacon is installed correctly! If your event ID was not found, try installing Beacon again and reach out to your Customer Success Manager or Sendlane's 24/7 Product Support team for next steps.
- Copy the event ID from your Beacon installation code
Check Beacon Installation
Beacon is now equipped to track site visits, conversions, and events on your Shopify website and the information will be available inside of your Sendlane account, within each contact profile!