How Do I Switch From Native Google Analytics to the Freshpaint Google Analytics Destination?
Switching from Native Google Analytics to the Freshpaint Google Analytics destination takes only two steps:
Setup your destinations in Freshpaint
Replace the Google Analytics tag with the Freshpaint tag
Reroute events that were going to Google Analytics to Freshpaint
1. Setting up your Google Analytics Destination in Freshpaint
See our guide to getting started with Google Analytics 4 in order to get data flowing from Google Analytics to Freshpaint.
2. Replacing the Google Analytics Tag with the Freshpaint Tag
First remove the Google Analytics tag and replace it with the Freshpaint tag. You can find the Freshpaint tag in the Freshpaint sources page which will look something like the Freshpaint snippet below:
3. Reroute events that were going to Google Analytics to Freshpaint
With that done, you need to point your Google Analytics tags to Freshpaint. This can be done by replacing any code that looks like:
with the Freshpaint equivalent:
Congrats! You're Done.
After replacing the Google Analytics tag with the Freshpaint tag, you've finished the migration process. We promised this would be easy. If you want to run a test to show that everything is working properly, try performing an action that would normally trigger an event in Google Analytics. You should see that event show up in the Freshpaint Liveview and in Google Analytics too!
If you are curious about any differences in how the data will appear, see the relevant section of the relevant section of the Google Analytics 4 integration.
Last updated