JSON Response tag can be used to export Google Universal Analytics raw data to BigQuery.
Create a new JSON HTTP request tag and fill “Destination URL” with the URL you got when creating Cloud Function and add to the end of it your secret key like this “?key=your-secret-key”. Don’t forget to add the trigger you use to determine Universal Analytics.
For Google Universal Analytics, Google still has not provided free options to export raw data to BigQuery or any other database for that matter. But what if you don’t have plans to migrate to GA4 and want to get the benefits of BigQuery raw data? I decided to solve this question with GTM Server Side tagging and created this how-to article for you.
Updated Mar 21, 2024This article will discuss how to set cookieless Google Analytics 4 tracking using the server Google Tag Manager.