How to Setup in Google Analytics 4

WordPress WhatsApp Support Event Tracking in Google Analytics

Requirements:

  1. Google Analytics 4 on your website

Step 1: Insert gtag.js into your WordPress site if not inserted.

Step 2: Goto the WordPress admin panel > WhatsApp Support > FB & GA Analytics.

Step 3: Enable the “Google Event Tracking” option.

Step 4: Enter the following details as per your need.

  1. GA Event: Enter the name of custom the event to track on Google Analytics 4.
  2. GA Event Category: Enter the name of the event category.
  3. GA Event Label: Enter the label of the event.

Step 5: Hit on the Save Changes button to save the changes.

It will take 24-48 hours to show the entries on your Google Analytics 4 events dashboard.

How to Setup in Google Tag Manager

WordPress WhatsApp Support Event Tracking using Google Tag Manager

Requirements:

  1. Google Tag Manager on your website
  2. WordPress WhatsApp Support version 2.4.0 or higher.

Step 1: Insert gtm.js into your WordPress site if not inserted.

Step 2: Goto the WordPress admin panel > WhatsApp Support > FB & GA Analytics.

Step 3: Enable the “Google Event Tracking” option.

Step 3: Enable the “Google Event Tracking” option.

Step 4: Enter the following details as per your need.

  1. GA Event: Enter the name of custom the event to track on Google Tag Manager.
  2. GA Event Category: Enter the name of the event category.
  3. GA Event Label: Enter the label of the event.

Step 5: Hit on the Save Changes button to save the changes.

Step 6: Open https://tagmanager.google.com/ and select your Tag Manager Account, or create a new account if you haven’t. Under the Tag Manager Account, add your website as a new Container, which includes these details:

Container Name: ‘yourdomain.com’
Container Type: ‘Web’
Container ID: This GTM ID will be given. e.g. ‘GTM-ABCD123

After that, you can enter the Container > Workspace and land on a new dashboard with a left panel including Overview, Tags, Triggers, Variables, etc.

Step 7: Now Click on the Tags and the New button to create one.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 1

After clicking on the New button from the above step, a new slide popup will open. Enter any name like we entered the WhatsApp GTM then click on the pencil icon from the Tag Configuration.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 2

A new Choose tag type window will open to select the tag. From the tag list, select Google Analytics: GA4 Event.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 3

Now, Select the None – Manually Set ID From the Configuration Tag option. Enter Google Analytics 4 Measurement ID. Enter the Event Name which should be WeCreativez WhatsApp and then click on the pencil icon from Triggering.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 4

Now, click on the + icon from the Choose a trigger popup.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 5

Enter any name for the trigger like we entered WhatsApp Trigger and then click on the pencil button from the Trigger Configuration.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 6

Now, select the Custom Event from the Choose trigger type popup.

Now, Set the Event Name as WeCreativez WhatsApp, Trigger fire type as Some Custom Events.

Select Event from the first dropdown, contains from the second dropdown, and enter WeCreativez WhatsApp into the third input box.

Then click on the Save button to save the trigger.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 8

Click on the Save button again to save the Tag.

WordPress WhatsApp Support Event Tracking in Google Analytics 4 9

Now, the Google Tag Manager event fires when the user/customer clicks on the send message button from the widget or when the user/customer clicks on the support person.

 

It will take 24-48 hours to show the entries on your Google Analytics 4 events dashboard.

Leave a Reply

Your email address will not be published. Required fields are marked *