Plain HTML & other platforms
If your site is plain HTML files, or you’re using a platform not listed in these guides, the process is the same: paste the snippet into the <head> of every page.
Plain HTML files
Open each HTML file and paste the snippet inside <head>:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Page</title>
<script defer src="https://api.snowanalytics.app/sa.js" data-site="YOUR_SITE_ID"></script>
</head>
<body>
<!-- page content -->
</body>
</html>If you have many pages, look for a shared header include or partial, such as _header.html, header.php, partials/head.html, or similar. Add the snippet there once and it applies everywhere.
Other platforms
Most website builders and CMS platforms have a “Custom Code”, “Header Scripts”, or “Code Injection” box somewhere in their settings. Paste the snippet there and it will be added to the <head> of every page.
Some places to look depending on your platform:
| Platform type | Where to look |
|---|---|
| Site builders | Site-wide Settings → Custom Code / Head |
| CMS (headless) | Root layout template or <head> partial |
| Static site generators | Base layout file or site config |
| E-commerce | Theme settings → Custom scripts |
If you’re not sure where your platform puts head scripts, search its documentation for “custom code” or “header scripts”.
Verify
Visit your site in a browser, then check the Live view in the Snow dashboard. See Troubleshooting if nothing appears.