Google Tag Manager Integration & Implementation

Google Tag Manager Integration & Implementation

  • Integrating Google Tag Manager With OCP
  • Using Google Tag Manager In OCP
  • Sending Custom Events To Google Tag Manager
  • Video Tutorial For Google Tag Manager Integration

OCP now lets its users integrate with their Google Tag Manager and Google Analytics 4 accounts and let them monitor and send tag events to keep analytics and metrics of relevant flows and data.

For this integration, you must have the following things

  1. GA4 Account with Website added as a data stream

  2. GTM account with a website added

  3. Web widget already live on a website

Integrating Google Tag Manager With OCP

In order to integrate your Google tag manager we first have to connect your website with Google Analytics 4

On your GA4 dashboard, click on admin settings



Go to Data Streams and add your website



After adding, click on the website, and copy the measurement ID. We will need this to integrate with OCP .



On your OCP dashboard, click on Integrations and scroll down till you see Google Tag Manager. Click on it and paste the Measurement ID



Your OCP is now integrated with your Google Tag Manager.

It is assumed that you have already connected your Google Tag Manager with your Google Analytics 4 Account

 

Using Google Tag Manager In OCP

 

Currently only webchat channel is supported

 

OCP sends several events back to Google Analytics, they are listed below:


Event NameFunction
bot:loadedLOADED
bot:conversation-startedCONVERSATION_STARTED
bot:message-sentMESSAGE_SENT
bot:message-recievedMESSAGE_RECEIVED
bot:button-clickedBUTTON_CLICKED
bot:chat-openCHAT_OPENED
bot:chat-closeCHAT_CLOSED
bot:channel-openedCHANNEL_OPENED

In order to track them, in your GTM, click on triggers and click on Create New Trigger


When setting up the trigger, choose custom event and the name of the event should be the same as defined in the table above.

When trigger is setup, you can now create a tag and attach it to this trigger.


This will enable you to receive the tag you created in your GA4 and you can keep track of this event as well.


Sending Custom Events To Google Tag Manager

You can send custom events to GTM by using bot automation flows inside the omnichannel.

Click on action block, click on Advance Actions and select Send gtag event


Click on edit action and create the event.


Once the event is made, you can now use it in a flow and the tag will be fired whenever you will reach the desired point in your flow.


Video Tutorial For Google Tag Manager Integration

 

 

 


    • Related Articles

    • Intercom (integration)

      Intercom is a popular live chat platform, OCP integration with Intercom will help reduce 80% of the support through chatbot automation & A.I. Key Benefits Solve the customer's support issues in the chatbot automation and Google Artificial ...
    • Google Business Messenger

      The whole process will be: connect Google account create agent, build flow & test verify agent launch chatbot go live Connect Google Account Follow steps 1, 2 and 3 to connect to your Google account. Note - Please note that this Google account must ...
    • Managing your Google reviews with OCP

      We have released additional features to our Google integration where it is now possible to manage your Google reviews very easily directly inside your chatbot. How to enable Google Permissions Go to your Google integration by pressing Google on the ...
    • Business Manager Verification Process

      Access Business manager security center To start the verification process go to the Security Center and click Start Verification in the Business verification section.
    • Integration of Shopify

      Streamlining E-commerce: Integrating Shopify with Marketing Platforms Shopify: What is it? Shopify is a full-featured e-commerce platform that makes it easier for businesses to start, grow, and run. Shopify is an authority and leader in the ...