> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/integrations/integration-reference/google-analytics/updating-from-universal-analytics-to-ga4.md).

# Updating from Universal Analytics to GA4

See the below guide to transition your Universal Analytics property to GA4.

### Converting your UA to a new GA4 property

In your Google Analytics hub, open your Universal Analytics property

<figure><img src="/files/Dd0693ZKaPKXa95JxSME" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/p9se9UN0bT3afXNg8Pji" alt=""><figcaption></figcaption></figure>

In the **Admin** panel of your UA property, click on GA4 Setup Assistant in Property.

<figure><img src="/files/0ocP7bcXXxQ1w2evB84p" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/aEXEw7011O42OVwOu50C" alt=""><figcaption></figcaption></figure>

If you don’t currently have a GA4 property, choose “**I want to create a new Google Analytics 4 property**”.

* Select **Create and Continue** at the prompt.

{% hint style="info" %}
If you already have a GA4 property you wish to connect to, you can opt to connect to that instead.
{% endhint %}

<figure><img src="/files/Z777IxR7mrncJZ5AiHof" alt=""><figcaption></figcaption></figure>

Set up the Google Tag (*optional*)

* If you already have a Google Tag that you use for Formsort, you can choose it by selecting “**Use a Google Tag…**” and selecting from the menu - Google should should connect your GTM container to your Analytics account.&#x20;
* If you need to create one, select **Install a Google tag** then **Next**.

<figure><img src="/files/XhnQuPP3SHdiJNIdcfrV" alt=""><figcaption></figcaption></figure>

* Select **Install Manually**, take note of your **GA4 Measurement ID**, then hit **Done**.

<figure><img src="/files/zZ2TZOCleMBIt8rNrk50" alt=""><figcaption></figcaption></figure>

From here you can head to our GTM guide, which will walk you through creating Google Tags and connecting them to your Analytics properties.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.formsort.com/integrations/integration-reference/google-analytics/updating-from-universal-analytics-to-ga4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
