No commit activity in last 3 years
No release in over 3 years
This plugin performs the data import and measurement protocol into Google Analytics.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.10.6
>= 0.8.38
>= 10.0

Runtime

 Project Readme

Google Analytics output plugin for Embulk

This plugin performs the data import and measurement protocol into Google Analytis. However, Measurement Protocol feature is not implemented.

Overview

  • Plugin type: output
  • Load all or nothing: no
  • Resume supported: no
  • Cleanup supported: no

Configuration

  • action: "dataimport" or "measurement_protocol" (string, default: "dataimport")
  • client_id: authentication (string, required)
  • client_secret: authentication (string, required)
  • refresh_token: authentication (string, required)
  • account_id: Your google analytics account id (string, required)
  • webproperty_id: Your google analytics Web Property id (string, required)
  • datasource_id: Your google analytics Data Source id (string, default: nil)
  • filename: Your upload filename (string, default: nil)

Example

out:
  type: google_analytics
  action: dataimport
  client_id: xxxxxxxxx.apps.googleusercontent.com
  client_secret: yyyyyyyyyyyyyyy
  refresh_token: 1/zzzzzzzzzzzzzzzzzzzzz
  account_id: xyz
  webproperty_id: UA-xyz-a
  datasource_id: xxxxxxxxxxxxx
  filename: "Sample Cost Data.csv"

Build

$ rake