This is for internal SharePoint sites, especially those behind a login.
Microsoft SharePoint has various configurations—online, On-Premise, and hybrid setups. Not all pages are protected behind a login, and site customization levels vary.
This guide outlines the most common manual installation method, which works well if:
-
Your SharePoint site is internal (i.e., requires login)
-
You have access to edit the page layout or template
-
You want to track user behavior with Crazy Egg
🛠️ Not sure what kind of SharePoint setup you have?
Work with your internal IT team or SharePoint administrator to confirm.
-----------------------------------------------------------------------
Method: Manual Installation
You'll manually install the tracking code since automatic script injection isn’t supported on SharePoint. Here's how:
-
Log into your Crazy Egg account
-
Go to Install Crazy Egg > I can Install Crazy Egg myself
-
Copy the full tracking script
-
-
Access your SharePoint page layout or master page
-
This may require admin or designer permissions
-
Edit the page's HTML
-
-
Paste the tracking code before the
</head>
tag-
Locate the closing
</head>
in the HTML -
Paste the Crazy Egg script just before it
-
Save and publish your changes
-
💡 If your SharePoint site uses a global layout or template, placing the script once will apply across multiple pages.
-----------------------------------------------------------------------
Verifying Installation
If your site is behind a login, Crazy Egg’s crawler won’t be able to reach it on its own. Follow the notes in How to Check That Crazy Egg Is Installed.
-----------------------------------------------------------------------
Creating Snapshots for your Pages (behind a login)
-
After installing the script, log into your site in a browser
-
Use Crazy Egg’s Page Camera to capture a Snapshot from your logged-in view manually
This allows Crazy Egg to track the page, even though it’s not publicly accessible.
-----------------------------------------------------------------------
Troubleshooting
Not seeing data? Here are some things to check:
-
Is the page behind a login?
If so, you must use Page Camera (see above). -
Is the page inside an iframe?
Crazy Egg may not be able to track content within frames. Try installing the Crazy Egg script inside the iFrame. -
Using a custom SharePoint theme or page builder?
Some setups may block script insertion. Check with your IT team to confirm that the tracking code can be added.