Adding your AI Agent via Google Tag Manager
Want to add your Heyloha AI Agent to your website with Google Tag Manager? An embed code makes the chat widget visible on your site while you keep full control from the Heyloha dashboard.
The embed code ensures you can turn your AI Agent on or off at any moment, without technical knowledge. This way your chatbot is always up to date and fully under your control.
How to add the embed code via Google Tag Manager
Open the Embed tab
Go to Agent, then Channels. Open Web and click the Embed tab.
Copy the embed code
Copy the line under Add to your website. This is the code you paste on your site.
Create a new tag in Google Tag Manager
Open your Google Tag Manager and add a new tag with the type Custom HTML. Paste the copied embed code here.
Set the trigger
Determine on which pages the chatbot should be visible. We recommend all pages. Within Heyloha you can then still hide the agent on specific pages or only show it on specific pages.
Your AI Agent is now active on your website. You can adjust the settings at any time via the Heyloha dashboard.
WordPress plugin
You can also add your AI Agent via the Heyloha WordPress plugin from the WordPress Plugin Directory. Install and activate the plugin, paste the embed code in the settings and the chatbot is immediately active.
Remove the old Google Tag Manager code if you switch to the WordPress plugin, to prevent the chatbot from loading twice.