# Analytics integration (GA4 not working)

**URL:** <https://forum.juce.com/t/analytics-integration-ga4-not-working/64659>\
**Category:** General JUCE discussion\
**Created:** [December 16, 2024, 7:41pm UTC](https://forum.juce.com/t/analytics-integration-ga4-not-working/64659 "2024-12-16T19:41:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![facundogadola](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@facundogadola](https://forum.juce.com/u/facundogadola)\
**Post date:** [December 16, 2024, 7:41pm UTC](https://forum.juce.com/t/analytics-integration-ga4-not-working/64659/1 "2024-12-16T19:41:18Z")

</div>

Hi,

I’m having some issues with Google Analytics (GA4) integration. I made some changes to the JUCE example but still I’m not getting all the events to show up.

I’m using:

```auto

 juce::String baseURL = "https://www.google-analytics.com/mp/collect";
    auto url = juce::URL(baseURL)
                  .withParameter("measurement_id", apiKey)
                  .withParameter("api_secret", secret)
                  .withPOSTData(postData.joinIntoString("\r\n"));

```

Has anyone managed to get it working? Or does anyone know of another analytics tool that can be easily integrated with JUCE?
