starMeet Us at   SaaStr AI 2025   SF Bay Area,US   |   13 - 15 May, 2025

Integrate Wyzard’s AI Chatbot in Google Tag Manager

Published
Categorized as Knowledge Base

Subscribe Now

    I allow Wyzard to send me regular updates and marketing communication as per its policy.

    Step 1: Log in to Google Tag Manager

    Step 2: Select the Correct Domain Account

    • Action: From the GTM dashboard, select the appropriate Account and Container corresponding to your website.

    Step 3: Create a Custom HTML Tag

    • Action:
      1. Navigate to the Tags section in the left-hand menu.
      2. Click “New” to create a new tag.
      3. Click Tag Configuration and select Custom HTML.

    Screenshot:

    1. Create a new tag

    2. Select Custom Html Tag as option

    Step 4: Add Wyzard AI Chatbot Code Snippet

    • Action:
      1. Paste the Wyzard AI Chatbot code snippet provided by the Wyzard team into the HTML box.
      2. Ensure the code is correctly formatted and complete.
      3. Leave the “Support document.write” checkbox unchecked unless specifically instructed otherwise.
    • Screenshot:


    Step 5: Create an All-Pages Trigger (if not already present)

    • Action:
      1. In the same tag editor, click on Triggering.
      2. If an All Pages trigger exists, select it.
      3. If not, click the “+” button to create a new trigger.
      4. Choose Page View > All Page Views.
      5. Name it (e.g., All Pages) and save.

    Screenshot:


    Step 6: Attach the Trigger to the Custom HTML Tag

    • Action: Ensure the All Pages trigger is selected and attached to your Wyzard AI Chatbot tag.

    Step 7: Preview the Setup in GTM

    • Action:
      1. Click “Preview” in the top right corner of GTM.
      2. Enter your website’s URL and click Connect.
      3. Navigate through a few pages on your site to verify:
        • The tag fires correctly.
        • The chatbot loads and behaves as expected.
      4. Use the GTM debug console to confirm the tag’s status.

    Step 8: Publish the Tag

    • Action:
      1. Once verified in preview mode, click Submit in the top right corner.
      2. Add a descriptive name (e.g., “Add Wyzard AI Chatbot”).
      3. Optionally, add a version description (e.g., “Implemented Wyzard AI Chatbot on all pages”).

    Click Publish to make the change live.


    Other blogs

    The latest industry news, interviews, technologies, and resources.

    June 27, 2025

    Smarter GTM > Bigger GTM: How AI Agents Level the Playing Field for Lean Teams

    In today’s B2B world, the race isn’t always won by the team with the most headcount or the biggest ...

    Read Image

    June 26, 2025

    The Rise of Intent-Based Conversations: What B2B Marketers Must Know

    There was a time when B2B marketing success was measured by the volume of leads in your CRM. But ...

    Read Image

    June 23, 2025

    How a Marketing Copilot Dramatically Improves Marketing-to-Sales Handoffs

    In B2B marketing, few breakdowns are as costly as the handoff from marketing to sales. It’s that moment when ...

    Read Image

    Leave a comment