Skip to main content

How to connect Aidan Chat to Google Analytics 4

Connect Aidan Chat to your Google Analytics 4 property so you can track completed quote requests and report on which services customers ask about.

What it is

When a customer completes a quote request in Aidan Chat, Duranta sends a generate_aidan_lead event to your Google Analytics 4 property.

This event can include:

  • The service the customer requested

  • Whether pricing was shown on request

  • The estimate range shown to the customer

This helps you understand which services customers are interested in and what estimates they saw before submitting a quote request.

What you need

Before you start, you need:

  • A Google Analytics account with a GA4 property

  • A GA4 web stream

  • Your GA4 Measurement ID, which starts with G-

You do not need access to Duranta’s internal admin settings. Send your Measurement ID to Duranta support, and we will add it to your Aidan Chat configuration.

Create a GA4 web stream

  1. Go to Google Analytics.

  2. Open Admin.

  3. Go to Data collection and modification → Data streams.

  4. Click Add stream.

  5. Select Web.

  6. Enter a stream name.

  7. Enter the website URL where Aidan Chat appears. This can be your own company website.

  8. Save the stream.

After the stream is created, Google Analytics shows the Measurement ID. It starts with G-.

Copy the Measurement ID

In GA4, open the web stream details and copy the Measurement ID.

Example format:

G-XXXXXXXXXX

Send the Measurement ID to Duranta

Send your GA4 Measurement ID to Duranta support [email protected] or your account executive.

Once it is added to your Aidan Chat configuration, completed quote requests can start sending events to your GA4 property.

Removing the Measurement ID disables tracking. If no Measurement ID is saved, Aidan Chat will not send events to your GA4 property.

Add custom definitions in GA4

GA4 does not report on event parameters until you register them as custom dimensions.

To add them:

  1. In GA4, open Admin.

  2. Go to Data display → Custom definitions.

  3. Click Create custom dimension.

  4. Add the custom dimensions below.

Dimension name

Scope

Event parameter

service_name

Event

service_name

pricing_on_request

Event

pricing_on_request

estimate_low

Event

estimate_low

estimate_high

Event

estimate_high

What Aidan Chat sends to GA4

Each completed quote request sends one generate_aidan_lead event.

Event parameter

What it means

service_name

The service the customer asked about. This may be blank if the service cannot be resolved.

pricing_on_request

Shows true only when no estimate was shown to the customer.

estimate_low

The low end of the estimate shown. This is not sent when pricing_on_request is true.

estimate_high

The high end of the estimate shown. This is not sent for single-price estimates or when pricing_on_request is true.

How quote request events may appear

A quote request can appear in GA4 in one of three ways:

Quote request type

Parameters sent

Estimate range

service_name, pricing_on_request: false, estimate_low, estimate_high

Single price

service_name, pricing_on_request: false, estimate_low

No estimate shown

service_name, pricing_on_request: true

Some parameters may be missing depending on the quote request type. This is expected.

For example, estimate_high is not sent when the customer sees a single price instead of a range.

Did this answer your question?