How to Install Crazy Egg on Shopify
If you’re running a Shopify store and want to understand how visitors interact with your site, Crazy Egg is one of the best tools you can use. It gives you powerful insights through heatmaps, scrollmaps, and user recordings—making it easier to optimize for conversions.
In this blog, we’ll explain what Crazy Egg is, why it’s useful for Shopify store owners, and how to install it using multiple methods.
What Is Crazy Egg?
Crazy Egg is a website optimization tool that helps you understand how users behave on your site. It offers:
- Heatmaps – See where users click the most.
- Scrollmaps – Discover how far visitors scroll down each page.
- User Recordings – Watch how users navigate your store.
- A/B Testing – Test different layouts or content to increase conversions.
- Overlay Reports – View click activity by individual page elements.
These insights help you identify what’s working and what needs improvement—without guessing.
Why Use Crazy Egg in Your Shopify Store?
Shopify offers basic analytics, but Crazy Egg goes deeper by showing how people interact with your content. Here’s why you should install it:
- Spot distractions or dead zones in your design
- Improve product placement and CTA effectiveness
- Understand mobile vs. desktop user behavior
- Increase sales by refining user experience
Methods to install Crazy Egg
Method 1: Using Shopify Theme.liquid File (Manual Installation)
This is the most common and recommended method.
Step-by-Step:
- Create a Crazy Egg Account
- Sign up at Crazy Egg and log in.
- Add your Shopify store URL to start tracking.
- Get Your Tracking Script
- Go to the Crazy Egg dashboard.
- Click “Install Crazy Egg”.
- Copy the provided JavaScript tracking code.
- Log in to Shopify Admin
- Go to Online Store > Themes > Actions > Edit Code.
- Edit
theme.liquid
File- Open the
theme.liquid
file. - Paste the Crazy Egg script just before the closing
</head>
tag.
- Open the
- Save the File
- Click Save, and you’re done!
Crazy Egg will now start collecting data from your store.
Method 2: Use Shopify’s Custom Pixels Feature (Shopify Plus Only)
If you’re using Shopify Plus, you can install Crazy Egg using the Custom Pixels section.
Steps:
- Go to Settings > Customer Events > Custom Pixels.
- Click Add Custom Pixel, name it Crazy Egg.
- Paste the JavaScript code from your Crazy Egg account.
- Choose when the pixel should run (e.g., page view).
- Save and publish it.
This keeps tracking scripts managed in one place—ideal for larger teams or enterprise use.
Method 3: Google Tag Manager
If you’re already using Google Tag Manager (GTM), this method keeps your code centralized.
Steps to install the code:
- Log in to your GTM account.
- Create a new tag and choose “Custom HTML.”
- Paste the Crazy Egg tracking code.
- Set the trigger to “All Pages.”
- Publish the changes.
To check the changes click preview on the dashboard, click continue, then it will be redirect to your website click anywhere then return to tag assistant tab check your tag is fired under summary.
Make sure you follow the steps properly.
Tips for Proper Installation
- Install Crazy Egg on all pages, especially product and checkout pages.
- Wait 1–2 hours after setup to start seeing data.
- Double-check that the code is placed before
</head>
If using the manual method. - Test on different devices (mobile/desktop) to compare results.
How to Confirm Crazy Egg is Working
After installation, check:
- The Crazy Egg dashboard should show your site as “Active.”
- You should start seeing heatmaps and recordings within a few hours.
- Use browser developer tools to verify the script is loading on-page.
Final Thoughts
Installing Crazy Egg on your Shopify store is a simple step with powerful benefits. Whether you’re a beginner or seasoned store owner, visual analytics can help you make smarter decisions that drive conversions.
Ready to take your Shopify store to the next level? Start with Crazy Egg today and see what your customers really see.
If you’d like help installing Crazy Egg or optimizing your store for better conversions, contact us — we specialize in Shopify store performance and UX enhancements.