Google Analytics 4 Server-Side Reference
Last updated
Was this helpful?
Last updated
Was this helpful?
Accepts calls
Supports
Refer to this destination as Google Analytics 4 in the
If you've configured multiple Measurement IDs, you can choose a specific one by suffixing the Measurement ID, such as: Google Analytics 4::G-PSW1MY7HB4. You can retrieve this value from the Google Analytics 4 (Server-Side) configuration page for the Measurement ID of interest.
Connection Modes:
Web
Mobile
Server
Once the GA4 integration is enabled, you can now set it as an event destination:
Events sent from Freshpaint to GA4 will show up as standard GA4 events. From there you can use your events in any of the GA4 reports and use it to generate insights into your business.
The fastest way to confirm if the integration is working is to:
Send an event to GA4 via the toggle like in the screenshot above
Trigger the event you just toggled to send to GA4
Wait a few minutes, then check GA4's Realtime overview for the events. To navigate here, go to Reports > Realtime and scroll down to view the events:
Freshpaint will automatically send a page_view
event to Google Analytics. This page view event will behave the same as the native Google Analytics page_view
event.
GA4 will only accept GA4 event/property names that follow a certain convention. Valid GA4 event and property names:
Contain only alphanumeric characters & underscores
Start with a letter
Don't worry! If you provide an invalid event/property name, Freshpaint will handle this for you. We will replace all characters other than the alphanumeric & underscores, with underscores, and if the event/property name doesn't start with a letter, we will prefix it with 'FP_'.
On July 1, 2023, standard Universal Analytics properties will no longer process data. You'll be able to see your Universal Analytics reports for a period of time after July 1, 2023. However, new data will only flow into Google Analytics 4 properties.
Out of the box there will be some differences between a native Google Analytics 4 integration and a Freshpaint Google Analytics 4 Server Side integration. These are currently the following:
Reduced Geo-location accuracy for HIPAA customers only - We will reduce the geo-location accuracy to remain in compliance with HIPAA guidance. Google Analytics uses the IP address to geo-locate the user. Freshpaint will replace the IP address of the customer with another IP address within the same State and Country.
Realtime overview will not show users currently on the page.
Time on page not captured out of the box.
The Google Analytics Measurement Protocol limits the amount of characters in event and parameter names as follows:
Event names must be 40 characters or fewer, may only contain alpha-numeric characters and underscores, and must start with an alphabetic character.
Parameter names (including item parameters) must be 40 characters or fewer, may only contain alpha-numeric characters and underscores, and must start with an alphabetic character.
All events will be sent to GA4 from Freshpaint's servers. Your website will not send data directly to GA4. Instead, your website and all other sources will send data to Freshpaint, which is translated then sent to GA4. Freshpaint will send your data server-side to .
Manually sending a page view event to Freshpaint by calling is not currently supported.
Google Analytics 4 is fully equipped to support your measurement needs today and into the future. Google will be turning down , so it is recommended you to make the switch to Google Analytics 4 as soon as possible. To get help in migrating to GA4, you can refer to Google's docs .
not supported out of the box. If you have enhanced event measurement enabled, a native Google Analytics integration will capture a number of events out of the box that Freshpaint does not. If you are interested in capturing these events, contact support@freshpaint.io for assistance in capturing the properties.
URL path not sent to Google Analytics by default. For non-pageview events, Freshpaint will by default not send the path of the event to Google Analytics. To add the URL path to your events, you can use a .
If you would like more parity with a native Google Analytics 4 installation, check out our destination.
Set up transformations to modify your data before it's sent to your destination. Read more about transformations .
You can read more about that in Google's documentation .