Configuring a Destination

Now that you've installed Freshpaint, Freshpaint is automatically collecting every user action performed on your site through the Autotrack source. To start making use of this data, you can configure a destination as a place to send the data to. For this quick start guide, we'll show you how to setup Google Analytics 4 Proxy but similar steps work for other destinations.

If you already have Google Analytics 4 installed on your site, make sure to remove it before you turn it on through Freshpaint. If you configure Google Analytics 4 Proxy through Freshpaint at the same time you have it installed directly on your site, your Google Analytics account will start counting every user twice.

To turn on Google Analytics 4 Proxy, navigate to the destinations > apps page and search for the Google Analytics 4 Proxy destination:

Go to the Google Analytics 4 Proxy configuration page in Freshpaint and click Configure. Then, configure the app credentials by providing your Measurement ID. You can find your Measurement ID in your Google Analytics account by following these steps: go to Admin > Data Streams > [select data stream from list] and copy the Measurement ID value:

That's it! Now all you need to do to send an event to Google Analytics 4 Proxy is enable the destination in the Freshpaint event definition:

Navigate to your Freshpaint event, and toggle the destination on to enable the event to be sent to the Google Analytics 4 Proxy destination.

You will need to follow extra steps to finish setting up a destination if you are a HIPAA account. You can look at the extra steps needed for Google Analytics 4 Proxy here.

The fastest way to confirm if the integration is working is to:

  1. Send an event to GA4 via the toggle like in the screenshot above

  2. Trigger the event you just toggled to send to GA4

  3. 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:

There are other reports in Google Analytics you may be interested in verifying. You can read more about how to do that here.

If you are using a client-side integration, by default the only data sent to a destinations is the same data that is natively collected by the destination. Out of the box, Freshpaint does not send any additional data to a destination. In the next section, we'll look at how you can use Freshpaint to send additional data to a destination without writing code.

If you are setting up a client-side destination, it takes 2 minutes for the Freshpaint CDN to clear and the new destination to show up on your website.

Last updated