Skip to content

martijnvv/GAcustomdimsR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GA custom dimension export to Excel with R

Using the googleanalyticsR and writexl R package, I pull all the data from a Google Analytics view. It exports all the data in a summarised tab, and each custom dimension is also exported to each own Excel tab.

summary output tab in export

Output in Excel

The script returns several tabs in the Excel:

  • Summary tab with a list of all custom dimensions with their names, scope, number of results, creation date, last update date
  • Summary of custom dimensions with zero results (including creation date, update date, etc.)
  • A tab for each custom dimension, returning metrics (users, sessions, pageviews, total events) for each value.

Usecases

This has been helpful to me for several usecases:

  • Validation of dataquality
  • Startingpoint of basic analysis and/or reporting

About

Documentation of GA custom dimensions with R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages