# Google Analytics 4 Server-Side

{% hint style="info" %}
This destination uses the Google Analytics Measurement Protocol which provides a more limited API than a direct Google Analytics integration. Unless you want to send data to Google Analytics through the Freshpaint [HTTP API](/reference/developer/http-api.md) we recommend you use the [Google Analytics 4 Proxy](/integrations/destinations/apps/google-analytics-4-proxy.md) integration instead.
{% endhint %}

{% hint style="info" %}
If you have been running your analytics using Google Tag Manager, check out our [Google Tag Manager Integration](https://documentation.freshpaint.io/google-tag-manager-integration), in which the GTM native tag type is changed to a Freshpaint-template tag type. Freshpaint makes it easy to migrate all your tags from Google Tag Manager to the Freshpaint Google Tag Manage Template - you can learn more about this process [here](https://documentation.freshpaint.io/google-tag-manager-integration/migration).&#x20;

Contact <support@freshpaint.io> if you'd like to learn more.
{% endhint %}

If you are interested in migrating from native GA4 to running GA4 in Freshpaint, check out our [step by step migration guide](/reference/faqs/how-do-i-switch-from-native-google-analytics-to-the-freshpaint-google-analytics-destination.md)

{% content-ref url="/pages/1ZS9ZoJonOHLRcSbRk8n" %}
[Google Analytics 4 Server-Side Quick Start Guide](/integrations/destinations/apps/google-analytics-4/google-analytics-4-server-side-quick-start-guide.md)
{% endcontent-ref %}

{% content-ref url="/pages/HGQ9GWx4OcZHNJBPfH1z" %}
[Google Analytics 4 Server-Side Reference](/integrations/destinations/apps/google-analytics-4/google-analytics-4-server-side-reference.md)
{% endcontent-ref %}


---

# 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://documentation.freshpaint.io/integrations/destinations/apps/google-analytics-4.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.
