Integrating the Chat with Google Tag Manager
Follow these steps to embed Demystify AI Studio's Build-A-Bot on your website using Google Tag Manager. This method allows you to manage and deploy the chat script efficiently without editing your website's HTML directly.
Step 1: Copy the Code Snippet for Embedded Chat
If you've already created an assistant:
- Log in to Demystify AI.
- Open your assistant.
- Navigate to the ‘Customize’ tab.
- In the ‘Embed & Share’ section, select ‘Embedded chat’ and copy the code snippet.
If you're setting up an assistant:
- After completing the appearance customization, you’ll be able to copy the code snippet.
Step 2: Set Up Google Tag Manager
- Go to the Google Tag Manager website and create an account if you don’t already have one.
- Enter an account name (e.g., your company name) and a container name (e.g., your website URL).
- Select ‘Web’ as the platform, then click ‘Create’ and accept the terms.
Install the Container Code:
You’ll receive two code snippets: