ReplyCX Documentation
Login
  • ⛩️Welcome to ReplyCX Knowledge Base! 📚
    • ReplyCX Basics
  • ▶️GETTING STARTED
    • Building a Chatbot
    • Testing a Chatbot
    • Channel Configurations
    • Deploying a Chatbot
    • Utility Tools
  • 🧩ACTION BLOCKS
    • Overview
    • Trigger
    • Send Message
    • Collect Input
    • Buttons
    • Carousel
    • Calendar
    • Send an Email
    • Condition
    • Image Carousel
    • Human Handover
    • Slider
    • Collect File
    • Delay
    • Form
    • Flow
    • Code-block
    • Options
    • Jump
    • List
    • Reply Button
    • AI Model
    • SET AI
    • Answer AI
    • AI AGENT
    • Webhook
    • Javascript
    • Send Status
    • Http Request
    • Dynamic data
    • Whatsapp flow
  • 🦾AI Studio
    • Building a GPT Chatbot
    • Knowledge Base
    • Training on historical live chat to generate response
    • Retrain frequency for URL data source
    • Custom Answers
    • Function Call
    • Prompts
    • Tokens
    • Setting up retrain
    • Advanced Crawling Criteria
  • ⛓️Integrations
    • Types of Integrations
    • Service Call
    • Google Sheets
      • Support for “Update Record” in Google Sheets
    • Codeblock
    • Google Calendar
    • Calendly
    • Zoho CRM
    • Hubspot
    • Dialog Flow
    • Events
    • Google Analytics
    • Freshdesk
    • Salesforce
    • Zapier
    • Airtable
    • Public API's
  • 🟢WhatsApp Business API
    • Prerequisites
    • WhatsApp Business API - Meta
    • Using a test WhatsApp Business API account
    • Product catalog on WhatsApp
    • Sync WhatsApp Template
    • Support for Carousel template message
  • Instagram
    • Using the Instagram Channel
  • 💬Live Chat
    • Overview
    • Saved Replies
    • Manage Saved Replies
    • Message status on live chat
    • Generating Response Using AI.
    • Rewriting existing response with AI
    • Labels
    • Managing Labels
    • Qualification details covered during a conversation
    • Settings
    • Filter conversations
    • Conversation History
    • Close a conversation
    • Related / Past Conversations
    • Elements on conversation card
    • Kind of Conversation Status
    • Copy Chat Transcript of a Conversation
    • Customize Live Chat Screen
    • Restart Conversation
    • Blocking Contacts
    • Agent status on live chat
  • ⚙️Troubleshooting
    • Variable Manager
    • Fallback Variables
    • Human Handover Configuration
    • Clone a bot
    • Preffered Image Dimensions
    • Working of Link Tracking
    • Setting up variables using trigger block
    • Availability of agents in Human Handover
    • Creating loop in the conversational flow
    • Requesting Edit Access
    • Cookies
  • 📢Outbound Bots
    • Outbound Action Blocks
      • Delay
      • Send WhatsApp
      • Send SMS
      • Send Email
    • Building a One-Off Campaign
    • Building a Ongoing Campaign
    • Creating WhatsApp Templates
  • 📱Chat Widget Customization
    • Embedding Chat Widgets
    • Customize Chat Widget UI using CSS
    • Display Chat Widget in iFrame
    • Change Appearance
    • Chat widget 3.0
  • 🏦Account Management
    • Manage Teams
    • Manage Teammates
    • Manage Roles
      • Channel configuration Permission
    • Opt Out Management
  • 📊Reporting
    • Custom Reports
    • Contacts Feature Recap
    • Scheduling Contact Report
    • Weekly Reports and Interactions
    • Export a contact list
    • Tracking link clicks on chatbot messages
    • Agent Report
    • AI Agent Report
    • Outbound Report
  • 🧑‍💻 Support
    • Forget Password
Powered by GitBook
On this page
  • Method 1: Client-Side Tracking
  • Method 2: Server-side tracking

Was this helpful?

  1. Integrations

Google Analytics

Fire events to your Google Analytics account from the chatbot flow.

PreviousEventsNextFreshdesk

Last updated 2 months ago

Was this helpful?

Google Analytics (GA) is a powerful analytics tracking tool developed by Google. It enables businesses to monitor and analyze website traffic and user behavior, providing valuable insights to enhance decision-making.

With our Google Analytics integration, you can send events to your GA account using two methods:

Method 1: Client-Side Tracking

This approach allows you to fire GA events directly on the client side using GA's JavaScript methods in the browser.

  • Simply add a "Google Analytics" block at the desired point in your chatbot flow.

  • Configure the block to define the event you want to fire.

To configure a GA action block, you need to add the following details:

Measurement ID

The Measurement ID acts as a critical link between your website and the corresponding data stream in Google Analytics 4 (GA4). It ensures that all the data collected from your website is sent to the correct location within GA4.

You can find your Measurement ID in your GA4 property settings. Be sure to include it when configuring the integration to enable accurate event tracking.

Event Name

The event name specifies the action you want to track in Google Analytics. It should be written in lowercase without spaces to ensure clarity and consistency.

Examples of event names include:

  • chat-started

  • menu-selected

  • lead-generated

Event Parameter

An event parameter provides additional context about a user interaction on a website or app. It adds valuable details to the event being tracked, enabling deeper insights into user behavior.

For instance, consider a chatbot flow with a main menu offering multiple options. You can create an event named menu-selected and include an event parameter to specify which menu option the user selected (e.g., under the parameter "option").

You can use variables in the Event name, and while defining value to event parameters.

Method 2: Server-side tracking

For non-web channels like Instagram, WhatsApp, Facebook Messenger, and SMS, the client-side tracking method does not apply since these platforms do not support browser-based tracking.

Instead, server-side tracking is used. This involves firing Google Analytics APIs to record events directly on the server.

Configuration Requirements

To set up server-side tracking, you’ll need the following:

  1. Measurement ID

    • This identifies the GA account where the events will be recorded.

  2. API Secret

    • Navigate to Settings → Data Stream → Measurement Protocol API Secrets.

    • Click "Create" to generate your API secret.

This setup allows you to track events across various non-web platforms effectively.

⛓️
Find your measurement ID