Introduction
This guide helps you add the Crowd tracking script to your website and confirm it is working correctly. Follow these simple steps to start collecting insights about your users.
Installation Steps
1. Copy the Tracking Script
You need to add this script to your website:
html
<script>
(function() {
fetch("https://api.v2.crowdapp.io/workspace/script?pid=11c93d08-5214-4a24-a0f7-f40430a4be30")
.then(response => response.json())
.then(data => {
data.data.forEach((e)=>{
const sc = document.createElement('script');
e.src ? sc.src = e.src : ()=>{};
e.defer ? sc.defer = true : ()=>{};
e.attributes.forEach((a)=>{
sc.setAttribute(a.name,a.value)
});
e.text ? sc.text = e.text : ()=>{};
e.type ? sc.type = e.type : ()=>{};
document.head.appendChild(sc)
})
})
.catch(error => console.error('Error loading scripts:', error));
})();
</script>
2. Add the Script to Your Website
Where you add the script depends on your platform:
For most websites:
-
Add the script between the
<head>
tags of your HTML files -
If you have access to your website's code, paste it directly into your site's header
For common platforms:
-
WordPress: Use a header plugin or edit your theme's header.php file
-
Shopify: Go to Online Store → Themes → Edit code → theme.liquid
-
Webflow: Add in the Custom Code section of your site settings
-
Framer: Add in the Custom Code section of your page settings
Verify Your Installation
1. Check Your Website
After adding the script:
-
Open your website in a browser
-
Right-click and select "View Page Source" or "Inspect"
-
Look for the Crowd script in the HTML source (between the
<head>
tags)
2. Use the Verify Installation Option on Crowd
-
In your Crowd dashboard, click the "Verify installation" button
-
Crowd will check if your script is correctly installed
-
You will see a confirmation message if everything is working
3. Check for Data Collection
It may take a few minutes for Crowd to start collecting data:
-
Log in to your Crowd dashboard
-
Look for new data in the Analytics section
-
Check that Heatmaps are being generated
-
Verify that Session Recordings are being captured
Troubleshooting Common Issues
If Crowd isn't working after installation, try these steps:
-
Check your script placement - make sure it is between the
<head>
tags -
Clear your browser cache - sometimes old cached pages don't show new changes
-
Check for script blockers - ad blockers might prevent Crowd from working
-
Verify your website URL - make sure you have installed Crowd on the correct website
What You Can Do After Successful Installation
Once installed correctly, you can:
-
View Heatmaps to see where users click and scroll
-
Watch Session Recordings to see how users navigate your site
-
Access Analytics for insights on user behavior
-
Use Feedback Widgets to collect user opinions
Summary
Your Crowd installation was successful if:
-
The script appears in your website's source code
-
The "Verify installation" check passes
-
You can see data in your Crowd dashboard
-
Heatmaps and Session Recordings are being generated
If you have problems, contact Crowd support for assistance with your specific setup.