๐ How to Add EaseFy Insights Tracking Code
This guide shows you how to install the EaseFy tracking script on different platforms so your analytics start flowing into your dashboard instantly.
๐ ๏ธ 1. Custom HTML / PHP / React
Insert the tracking script right before the closing </body>
tag on all your pages. For frameworks, use your global layout file such as footer.php
(PHP) or App.js
(React).
<script src="https://easefyinsights.com/track.js" data-website="yourdomain.com" data-secret="YOUR_SECRET_KEY"></script>
๐๏ธ 2. Shopify
To apply tracking to every page in Shopify:
- Go to Online Store > Themes
- Select Actions > Edit Code
- Open
layout/theme.liquid
- Paste the code just before
</body>
<script src="https://easefyinsights.com/track.js" data-website="yourdomain.com" data-secret="YOUR_SECRET_KEY"></script>
๐ 3. WordPress (Ensure Tracking Loads on All Pages)
Option A: Use Header/Footer Plugin (Recommended)
- Install the Insert Headers and Footers plugin
- Navigate to Settings > Insert Headers and Footers
- Paste the tracking code into the Scripts in Footer section
<script src="https://easefyinsights.com/track.js" data-website="yourdomain.com" data-secret="YOUR_SECRET_KEY"></script>
Option B: Manual Theme Edit
- Go to Appearance > Theme File Editor
- Open
footer.php
from your active theme - Paste the script just before the closing
</body>
tag
<script src="https://easefyinsights.com/track.js" data-website="yourdomain.com" data-secret="YOUR_SECRET_KEY"></script>
๐งฉ 4. Web Commerce Platforms
For platforms like Wix, Squarespace, BigCommerce, and Webflow, insert the tracking code in the custom code section of your website's settings. Make sure itโs placed in the Footer or global code area so it loads across all pages.
<script src="https://easefyinsights.com/track.js" data-website="yourdomain.com" data-secret="YOUR_SECRET_KEY"></script>
๐ฌ Need Help?
If youโre not sure where to place your script, email us at support@easefyinsights.com and weโll guide you step-by-step.