Install Visisto via Google Tag Manager
Already using GTM? Deploy Visisto through a Custom HTML tag in minutes. No direct code changes needed on your website.
- A Google Tag Manager account with a container already installed on your site
- Publish access to your GTM container
- Your Visisto Site Key. Go to Sites → [your site] → Install → Advanced options
Your install snippet
Replace YOUR_SITE_ID with your Site Key from the dashboard under Sites → [your site] → Install → Advanced options. Paste both script blocks before the closing </head> tag.
<script>
window.__VISISTO__ = {
site: "YOUR_SITE_ID",
api: "https://api.visisto.com"
};
</script>
<script
src="https://cdn.visisto.com/loader.js"
data-site="YOUR_SITE_ID"
data-api="https://api.visisto.com"
defer
></script>Step-by-step installation
- 1Open Google Tag Manager and select your container
Go to tagmanager.google.com, log in, and select the container for the site where you want to add Visisto.
- 2Go to Tags and click New
In the left menu, click Tags, then click New in the top-right corner.
- 3Choose Custom HTML as the tag type
Click Tag Configuration, scroll down to Custom, and select Custom HTML.
- 4Paste the Visisto snippet into the HTML field
Copy the full snippet above (both script blocks) and paste it into the HTML text area.
- 5Add an All Pages trigger
Under Triggering, click the + icon and choose All Pages so the tag fires on every page.
You can also choose a specific Page View trigger if you want Visisto on select pages only.
- 6Name the tag "Visisto" and save
Enter "Visisto" as the tag name in the top field, then click Save.
- 7Submit and publish the container
Click Submit in the top-right corner, add a version description, and click Publish to push the tag live.
- 8Verify on your site
Open your site in a browser and confirm the widget appears. Use GTM Preview mode to debug if needed.
- Use GTM Preview mode to test the tag fires correctly before publishing to all users.
- Set tag firing options to "Once per page" to avoid duplicate events.
- GTM adds a small loading delay compared to direct head injection. Use direct HTML if widget timing is critical.
- Scope Visisto to specific pages using a Page View trigger with URL contains conditions.
Other platform guides
Ready to capture your first contact?
Start free. No credit card required. Setup in minutes.