# Conversion rate in Google Analytics 4

#### What is a Key Event?

Formerly known as conversions, GA4 "key events" reveal the actions that drive business success, offering insights into how users interact with your site or app.

#### Key Event Rate: Understanding the Metrics

GA4 introduced two types of key event rates (previously known as *session/user conversion rate*):

* **Session Key Event Rate**: The percentage of sessions that converted. This metric is calculated by dividing sessions with at least one key event by the total number of sessions.
* **User Key Event Rate:** Unlike the session key event rate, this measures the percentage of users who complete a key event at least once, regardless of how many sessions they have.

For example:

* Session Key Event Rate: If a user visits the site twice, with one of those visits leading to a key event, you have a 50% session key event rate.
* User Key Event Rate: If that same user completes a key event in one session, they’ll still be counted as a “converted” user even if they visit again without completing another key event

#### Session key event rate

The session key rate in Google Analytics is:

**Session Key Event Rate = (Number of Sessions with key events / Total Number of Sessions) x 100**

The session key event rate *won’t match* if you divide the number of key events by sessions because the formula is based on the number of sessions with key events. And **key events** will account for *all the events marked as key events.*

{% hint style="success" %}
The key event rate could be used in calculating the product conversion rate - how many users need to see a product before one of them decides to buy it?
{% endhint %}

For example, if a user triggered two key events in one session it will be counted as two key events, but will only be a single converted session.

{% embed url="<https://www.youtube.com/watch?v=Bs3rlH9Yc2M>" %}

#### Key Event Rate in Standard GA4 Reports

To see the session key event rate in your GA4 reports:

1.Go to Reports > Acquisition > Traffic Acquisition.

2.Click the pencil icon in the top-right corner to customize.

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-b54df53b2fd02e08225d3689c50fc8f12477b681%2Fscreenshot-2024-10-29-at-11.15.45-am.png?alt=media)

3.Under Metrics, add “Session Key Event Rate” to view it within your report.

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-4bb81376c1c367d77490f02a67c151a8ae572199%2Fscreenshot-2024-10-29-at-11.17.49-am.png?alt=media)

The user key event rate can be added the same way and provides a user-based view of conversions rather than a session-based one.

{% hint style="success" %}
Make sure you select the **purchase** event in the dropdown under the session key event rate if you want to view the conversion rate for this particular event.
{% endhint %}

#### Creating a Custom Exploration in GA4

For more detailed insights, you can build a custom exploration to see how specific traffic sources and mediums influence your key event rate.

1.Navigate to Explore > Blank to create a new report.

2.Add Dimensions like “Session source/medium.”

3.Add Metrics such as “Sessions,” “Total users,” “Key events,” and “Session key event rate.”

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-d54323659ebe7ecc9e9f65b8c88d7657a7004d06%2Fscreenshot-2024-10-29-at-11.46.59-am.png?alt=media)

1. Filter the data to focus on specific events, if needed (e.g., only “purchase” events). Filter pattern: **Event name** *matches regex* **session\_start|purchase**.

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-87340731c2db648af781d6e0e65fcdb84461b3e9%2Fscreenshot-2024-10-29-at-12.58.23-pm.png?alt=media)

This will ensure that only the *purchase* event is counted as the key event in the key event rate calculation.

**Summary**: Both the session and user key event rate metrics are essential in understanding your traffic sources, the performance of marketing campaigns and conversion actions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.littledata.io/google-analytics/conversions/conversion-rate-ga4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
