Your business’ website is a critical tool to generate revenue. Knowing what visitors are reading, downloading, and clicking will help you focus on creating content that turns visitors into customers. Instead of relying on a web developer, you can create tags (which are snippets of codes) using the Google Tag Manager’s user-friendly interface. These tags are then placed on your website to track things like AdWord conversion, page views, button clicks, form submissions, and much more.
After installing Webchat™ on your website, you can use Google Tag Manager to track when a visitor clicks on Webchat and a conversation is started. If you’ve haven’t already, you can follow these steps to set up and install Google Tag Manager.
To track Webchat widget clicks and conversations started:
- Sign in to Google Tag Manager as an administrator.
- Select the container name that is currently installed on your website.
- Click Triggers.
- Click New.
- Name the trigger Podium Webchat - Trigger.
- Click Trigger Configuration.
- Select Custom Event.
- Name the event Podium Webchat - Event.
- Select All Custom Events to choose when the trigger should fire.
- Click Save.
- Click Variables.
- In the User-Defined Variables section, click New.
- Name the variable eventAction.
- Click Variable Configuration.
- Select Data Layer Variable.
- Name the data layer variable eventAction.
- Click Save.
- Click Tags.
- Click New.
- Name the tag Podium Webchat - Tag.
- Click Tag Configuration.
- Select a tag type (e.g., Google Analytics: Universal Analytics or Google Ads Conversion Tracking).
- Select Event as the Track Type.
- Click Action.
- Select eventAction.
- For analytics settings, select your Google Analytics account or set one up.
- Click Triggering.
- Select Podium Webchat - Trigger.
- Click Save.
Now you’ll be able to track the number of times Webchat has been clicked on and how many conversations have been started. If you’re tracking the conversion rate of an ad campaign through Google Ads, you’ll need each visitor’s Google Click Identifier (GCLID). To get the GCLID and other information like IP address, your website administrator will need to add some custom code to the header of your website.
To track Google Click Identifier or IP address:
- Sign in to your website as an administrator.
- Edit your website’s HTML.
- Paste the following code into the header.
<script>
window.PodiumEventsCallback = function(e, properties) {
console.log('Got event', e);
console.log('Got properties', properties); };
</script>