We have recently refreshed our branding across our offerings and changed the names of our pricing plans. If you have signed up before Aug 9, 2021, please click Previous plans to view your applicable plans.
We assure you that this change will not impact your product experience, and no action is required on your part.
To integrate Google Analytics event tracking,
- Go to analytics.google.com (Google Analytics) and login with your credentials
- Open the source code/main script of your website.
Copy the entire script at this link and paste it on your website. This is a sample script.
Modify the following lines,
token: "WEB_CHAT_TOKEN",
gtag('config', 'UA-XXXXXXXX-1');
ga('create', 'UA-XXXXXXXX-1', 'auto', 'FreshchatEvents');
Go to Web Messenger Settings in Freshchat .
Copy the token value in Step 2.
Replace it with “WEB_CHAT_TOKEN” in the above lines.
Go back to Google Analytics (GA) page.
Click Admin.
Select User Management.
Click Tracking Info and then select Tracking Code.
Copy the tracking ID.
Paste it in the script, replacing it with "UA-XXXXXXXX-1".
Go to tagmanager.google.com and log in with your credentials.
Select the required Container. You will be redirected to the Workspace page.
Click Add a new tag. A window appears.
Enter the Tag title.
Click Tag Configuration. The Choose tag type window appears.
Select Custom HTML.
Paste this code in the HTML text area.
Select the Support document write option.
Click Advanced Settings.
Select Only fire this tag in the published containers option.
Click Triggering.
Select All Pages. Click Add.
Click Save. You will be redirected to Workspace.
Click Submit. The Submit Changes window appears.
Enter the Version Name and Version Description.
Click Publish.
You can also refer to the following video, which demonstrates the above steps.
https://www.useloom.com/share/9d65daaa4cc04ff682ab38de7c9dd19d
Note: The above video is only for your reference on where to add the code. It does not contain the code itself. Please refer to the link in Steps 3 & 7 for the actual code.