This is for internal SharePoint sites, especially those behind a login.
Before You Begin:
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:
Go to Install Crazy Egg > I can install Crazy Egg myself and 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 and paste the Crazy Egg script just before it. Save and publish your changes
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 in to 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.