Skip to content

This is a simple golang cli to export data from Google Analytics 4 to BigQuery.

License

Notifications You must be signed in to change notification settings

hillfolk/go-ga4-to-bigquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go GA4 to BigQuery

This is a simple golang cli to export data from Google Analytics 4 to BigQuery.

Reference

Requirements

Go 1.16 or later Google Cloud SDK Google Analytics 4 Property Google Cloud Project with BigQuery enabled

Setup

  1. Create a Google Cloud Project
  2. Enable BigQuery API
  3. Create a BigQuery Dataset
  4. Create a Google Analytics 4 Property

Usage

  1. Clone the repository
  2. Run the following command to build the binary
go build -o go-ga4-to-bigquery
  1. Run the binary
./go-ga4-to-bigquery run-report --config ./config.json
  1. Supported Report Types
    • daily-active-users
    • daily-events
    • daily-user-technology
    • daily-user-channel-grouping
    • daily-cross-channel

About

This is a simple golang cli to export data from Google Analytics 4 to BigQuery.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages