Google Tag Manager
Add cside to your website using a Custom HTML tag in Google Tag Manager for quick testing.
GTM does not guarantee script load order, so other scripts may execute before cside can intercept them. For production, use direct script installation to ensure cside loads first.
Install cside in Google Tag Manager with a Custom HTML tag. This is the fastest way to try cside on your site without touching any code.
Setup
Create a Custom HTML tag
In Google Tag Manager, go to Tags > New, click Tag Configuration, and select Custom HTML.
Paste the script
Copy the snippet below and paste it into the HTML field. Replace [your-team-id] with your team ID from the cside dashboard.
<script type="text/javascript" src="https://[your-team-id].csidetm.com/client.js" referrerpolicy="origin"></script>Set trigger to All Pages
Under Triggering, select All Pages so cside monitors every page on your site.
Publish
Save the tag and publish your GTM container. Visit your website - you should see script traffic appear in the cside dashboard within seconds.
Moving to production
When you’re ready for production, switch from GTM to a direct integration method. This guarantees cside loads before any other scripts on the page:
- Manual script tag - Works with any framework
- Next.js package -
@cside.dev/next - Vite plugin -
@cside.dev/vite - CLI tool - For static sites
Thanks for your feedback!