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.

    May 8, 2025

    Why Every Business Needs an AI Marketing Copilot

    In this ever-competing world of digital marketing, where everything keeps changing, it's having a partner you can trust that ...

    Read Image

    May 6, 2025

    Guide to Adding TXT, MX, and CNAME Records in GoDaddy DNS

    Prerequisites A GoDaddy account with a registered domain. Access to the Domain Portfolio. Steps to Add Records Log in ...

    Read Image

    Guide to Adding TXT, MX, and CNAME Records in Azure DNS

    Prerequisites An Azure account with a subscription. A DNS zone created for your domain. Steps to Add Records Log ...

    Read Image

    Subscribe to learn about new product features, the latest in technology, solutions, and updates.

    Leave a comment