Tori
  • Documentation
  • Pricing
Sign InSign Up
  • Getting started
  • Tori JavaScript guides
    • Add Tori to your site
    • Logged-in users
    • Google Tag Manager
    • Control the popup
    • Control conversations
    • Sizing and styling
  • Understanding Tori
    • Knowledge and research
    • Instructions and customisation
    • Conversations and context
    • Working with humans
  • Tori JavaScript reference
    • <tori-popup>
    • <tori-chatbox>
  • Default behaviour
    • Replies and language
    • Clarifying questions
    • Research and answers
    • Escalation
    • Staff messages and instructions
    • Off-topic questions and misuse

Google Tag Manager

Google Tag Manager supports Custom HTML tags that can include HTML and JavaScript. For Tori, create a Custom HTML tag and paste in the popup snippet.

Custom HTML tag

Create a new Custom HTML tag with this code:

<script type="module" src="https://asktori.ai/cdn/tori-latest.js"></script>

<tori-popup
  app-id="APP_ID"
  agent-id="AGENT_ID"
></tori-popup>

Trigger

Use the "All Pages" trigger when Tori should be available everywhere.

Use a page-view trigger with URL rules when Tori should only appear on some pages, such as:

  • /docs/*
  • /help/*
  • /pricing
  • /contact
Tori

Here you can add a description about your company or product

© Copyright 2026 AskTori. All Rights Reserved.

About
  • Contact
Product
  • Documentation
Legal
  • Terms of Service
  • Privacy Policy
  • Cookie Policy