Integration through a Google Tag
If your website already uses Google Tag Manager (GTM), copy the Heyday code snippet into a “Custom HTML tag” in the GTM workspace. The code snippet will be executed when the page is launched.
As reference, the steps below shows how to create the custom HTML tag.
1. Click on "Add a new tag"
![](https://help.heyday.ai/~gitbook/image?url=https%3A%2F%2F4034817757-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lv6XLhjwb7f7cxmJf4g-887967055%252Fuploads%252FMHtSMWpYEgImvL1VH3pA%252FScreenshot%25202023-06-09%2520at%25208.04.48%2520AM.png%3Falt%3Dmedia%26token%3D4c752336-f60d-4eaf-81e5-55491879f04a&width=768&dpr=4&quality=100&sign=a87c79b8&sv=1)
2. Click on the Tag Configuration box
![](https://help.heyday.ai/~gitbook/image?url=https%3A%2F%2F4034817757-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lv6XLhjwb7f7cxmJf4g-887967055%252Fuploads%252FsmGVt78QPBEw5LGsAQPZ%252Fimage.png%3Falt%3Dmedia%26token%3D04ce3466-0745-4f35-82f5-3a363d89e556&width=768&dpr=4&quality=100&sign=ac7b7a65&sv=1)
3. This will open the 'Choose tag type', scroll down and select "Custom HTML".
![](https://help.heyday.ai/~gitbook/image?url=https%3A%2F%2F4034817757-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lv6XLhjwb7f7cxmJf4g-887967055%252Fuploads%252FjUhngrPxWrvTdxpt4i0S%252Fimage.png%3Falt%3Dmedia%26token%3D1540aa2d-ca8e-4132-893c-f6ca42949c99&width=768&dpr=4&quality=100&sign=9ba60fb&sv=1)
4. Paste the code snippet in the designated section.:
![](https://help.heyday.ai/~gitbook/image?url=https%3A%2F%2F4034817757-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lv6XLhjwb7f7cxmJf4g-887967055%252Fuploads%252FhXcxEM0f1uLJf98YzDak%252Fimage.png%3Falt%3Dmedia%26token%3D4ffed4c5-aa3c-4262-9e34-f5cd82077a5f&width=768&dpr=4&quality=100&sign=2e099b4a&sv=1)
5. Below the Tag Configuration section, you'll see 'Triggering', click on that box:
![](https://help.heyday.ai/~gitbook/image?url=https%3A%2F%2F4034817757-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lv6XLhjwb7f7cxmJf4g-887967055%252Fuploads%252Fixh6jWdlimjjXyLMlAJ0%252Fimage.png%3Falt%3Dmedia%26token%3D89cc3634-39e7-43c0-94c8-a58f8f5211c7&width=768&dpr=4&quality=100&sign=e63f8508&sv=1)
6. This will open the 'Choose a trigger' tab, select the first option and Save it:
👉 name = “All Pages”, type = “Page view” 👈
![](https://help.heyday.ai/~gitbook/image?url=https%3A%2F%2F4034817757-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lv6XLhjwb7f7cxmJf4g-887967055%252Fuploads%252FzkSjEpr1GQYwAFbGLmrC%252Fimage.png%3Falt%3Dmedia%26token%3Dd79f0913-8cb2-4657-a45d-a4c322b399ae&width=768&dpr=4&quality=100&sign=7d287c4f&sv=1)
7. On the main page, on the top right, click on Submit to enable the tag.
![](https://help.heyday.ai/~gitbook/image?url=https%3A%2F%2F4034817757-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lv6XLhjwb7f7cxmJf4g-887967055%252Fuploads%252FLeh4ucJYchHi4zza1uRC%252FScreenshot%25202023-06-09%2520at%25208.03.25%2520AM.png%3Falt%3Dmedia%26token%3D145b6443-c877-423d-8096-f4809c6bbf3d&width=768&dpr=4&quality=100&sign=da76ee12&sv=1)
At this point the Heyday chat should appear on the website. 🎉
Last updated