Installing the Activly Script on Your Website
Add the Activly tracking script to your website in under 2 minutes — no developer required.
One script tag is all it takes to get Activly running on your site. Once it is in place, you can create and manage every notification from your dashboard — no further code changes required.
Find your script
- Log in to app.activly.io.
- Go to Settings in the left navigation, then click Install Script.
- Copy the unique script tag shown on that page. It looks like this:
<script src="https://cdn.activly.io/v1/script.js" data-site-id="YOUR_SITE_ID" async></script>
Your data-site-id is unique to your account. Do not share it publicly. Every site you add to Activly gets its own script tag.
Installation methods
1. Directly in HTML
Open your site's HTML and paste the script tag immediately before the closing </body> tag. This works for any hand-coded site or static HTML file.
<!-- paste here -->
<script src="https://cdn.activly.io/v1/script.js" data-site-id="YOUR_SITE_ID" async></script>
</body>
2. Google Tag Manager
- In GTM, click Add a new tag.
- Choose Custom HTML as the tag type.
- Paste your Activly script tag into the HTML field.
- Set the trigger to All Pages.
- Save and publish the container.
3. WordPress
Use the Insert Headers and Footers plugin (or any equivalent). After installing and activating it, go to Settings → Insert Headers and Footers, paste your script into the Footer field, and save. Alternatively, add it directly to your theme's functions.php using wp_enqueue_script.
4. Shopify
- In your Shopify admin, go to Online Store → Themes.
- Click Actions → Edit code on your active theme.
- Open
layout/theme.liquid. - Paste your script tag immediately before
</body>. - Save the file.
5. Webflow
- Open your Webflow project settings (the gear icon in the Designer).
- Go to the Custom Code tab.
- Paste your script into the Footer Code field.
- Publish your site for the change to take effect.
6. Squarespace
- Go to Settings → Advanced → Code Injection.
- Paste your script into the Footer field.
- Save. The script will load on all pages automatically.
Verify installation
After adding the script, visit any page on your site — just loading the page is enough. Then return to your Activly dashboard and check Settings → Install Script. The installation status indicator should turn green within a minute or two.
- Green — script detected. You are ready to create notifications.
- Yellow — script seen before but not recently. Double-check that the tag is still present and that your page cache has been cleared.
- Red — script not detected. Confirm the tag is placed before
</body>and that no ad blockers or browser extensions are interfering with your test.
If you run into trouble, try opening your site in an incognito window and checking again.
What's next
Was this article helpful?
Still stuck? Contact support