Want to see exactly what’s happening on your website? 🚀
With Sortlist Radar, you can track visits, clicks, form submissions, and contact requests automatically. All it takes is adding one simple code snippet to your site’s header.
In just a few minutes, you’ll start collecting the insights you need to understand visitor behavior and measure performance. Let’s get started.
Step 1: Copy your snippet
Here’s the script you’ll need.
👉 Replace ID_PROVIDED_BY_SORTLIST with the profile ID you received from Sortlist.
<script>
!function(e){"use strict";var a=e&&e.namespace;if(a&&e.profileId&&e.cdn){var r=window[a];if(r&&Array.isArray(r)||(r=window[a]=[]),!r.initialized&&!r._loaded)if(r._loaded)console&&console.warn("[Radar] Duplicate initialization attempted");else{r._loaded=!0;["track","page","identify","group","alias","ready","debug","on","off","once","trackClick","trackSubmit","trackLink","trackForm","pageview","screen","reset","register","setAnonymousId","addSourceMiddleware","addIntegrationMiddleware","addDestinationMiddleware"].forEach((function(e){var i;r[e]=(i=e,function(){var e=window[a];if(e.initialized)return e[i].apply(e,arguments);var r=[].slice.call(arguments);return r.unshift(i),e.push(r),e})})),r.bootstrap=function(){var a=document.createElement("script");a.async=!0,a.type="text/javascript",a.id="__radar__",a.dataset.settings=JSON.stringify(e),a.src="https://"+e.cdn+"/releases/latest/radar.min.js";var r=document.scripts[0];r.parentNode.insertBefore(a,r)},r.bootstrap()}}else"undefined"!=typeof console&&console.error("[Radar] Configuration incomplete")}({
"cdn": "collector.sortlist.com",
"apiEndpoint": "radar.sortlist.com",
"profileId": "ID_PROVIDED_BY_SORTLIST",
"namespace": "SortlistRadar",
features: {
sessionTracking: true,
formTracking: true,
clickTracking: true,
downloadTracking: true,
},
});
</script>
Step 2: Paste it in the right place
The snippet must be loaded site-wide, in your website’s Header (just before the </head> tag).
Here’s how to do it on the most common platforms:
Google Tag Manager (recommended if you use GTM)
GTM → Tags → New → Tag Configuration → Custom HTML.
Paste the Loader Script.
Triggering → All Pages → Save → Submit/Publish.
WordPress
Option A: Sortlist Radar plugin (recommended, no code editing)
2. In your WordPress admin, go to **Plugins > Add New > Upload Plugin** and upload the .zip file
3. Activate the plugin
4. Go to Settings > Sortlist Radar
5. Enter your Profile ID — you can find it in the Sortlist agency app under Radar > Settings > Tracking snippet
6. Click Save Changes
The plugin loads the Radar tracking script automatically on all public pages.
Option B: Using a code snippet plugin (WPCode)
If you prefer using a generic snippet manager:
1. Install and activate Insert Headers and Footers (WPCode) or similar
2. Go to Header snippets
3. Copy the tracking snippet from the Sortlist agency app (Radar > Settings > Tracking snippet)
4. Paste it in the Header section
5. Save
Option C: WordPress.com sites
If you’re on WordPress.com (not self-hosted):
1. Go to your site’s Settings
2. Find the option to add code to headers
3. Copy the tracking snippet from the Sortlist agency app (Radar > Settings > Tracking snippet)
4. Paste it and save
Webflow
Project Settings → Custom Code → Head code.
Paste the Loader Script → Save → Publish.
(Head code applies site-wide before
</head>.) (help.webflow.com)
Wix
Dashboard → Settings → Advanced → Custom Code.
Add Custom Code → paste the Loader Script.
Choose All Pages and Head → Apply/Publish. (support.wix.com)
Squarespace
Settings → Advanced → Code Injection.
Paste the Loader Script in Header → Save → Publish.
(Header injection runs on every page.) (support.squarespace.com)
Shopify
Online Store → Themes → … → Edit code.
Open
layout/theme.liquid.Paste the Loader Script just before
</head>→ Save.
HubSpot CMS
Settings → Website → Pages.
Use Header HTML (domain or site-wide) → paste the Loader Script → Save/Publish. (knowledge.hubspot.com)
Joomla
Either use your template’s Custom Code (Head) field, or edit the template and add the snippet before
</head>. (Exact location varies by template provider; most offer a header code field in Template Options.)
Drupal
If your theme or a module (e.g., Header and Footer Scripts) provides a Header field, paste the script there. Otherwise, add it in your theme’s base HTML layout before
</head>and clear caches.
Step 3: Publish & Verify
Publish your changes.
Visit your website in a browser.
Open Developer Tools → Network tab.
Look for activity from:
collector.sortlist.com
radar.sortlist.com
If you see these, 🎉 Sortlist Radar is up and running!
✅ That’s it! Once installed, Sortlist Radar starts tracking sessions, clicks, forms, and downloads automatically—so you can focus on insights, not setup.
Troubleshooting checklist
Nothing appears? Make sure you published/republished: GTM container, site/theme, and cleared caches/CDN where relevant.
Wrong place? The script must be site-wide (Header or All Pages), not only on a single page.
Typos? Double-check
profileId.Consent tools/GDPR: If you gate trackers behind consent, fire this tag after consent in GTM or your CMP.
Need help? Contact product@sortlist.com
