Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
/ gtm-downloader Public archive

Creates a BigQuery dataset of all your Google Tag Manager containers, tags, triggers, and variables to be used as a data source in Looker Studio or other data viz tool.

License

Notifications You must be signed in to change notification settings

tyssejc/gtm-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Tag Manager Downloader

Created and maintained by tyssejc (charlie.tysse at searchdiscovery dot com).

The goal of this project is to allow you to have a Looker Studio dashboard that provides a "panopticon" view of all the GTM containers you manage.

Kudos

This project was heavily inspired by b-kuehn's excellent google/analytics-settings-database utility.

Requirements

Implementation

  1. Navigate to your Google Cloud project and open Cloud Shell
  2. Enter the following into Cloud Shell:
rm -rf gtm-database && git clone https://github.com/searchdiscovery/gtm-database.git && cd gtm-database && bash deploy.sh
  1. Enter the information when prompted during the deployment process. a. When asked if unauthenticated invocations should be allowed for the Cloud Function, answer no.
  2. When finished, add the service account email generated during the deployment process to your Google Tag Manager accounts.

This will create the following:

  • A Cloud Function (2nd gen)
  • A Cloud Scheduler Job
  • A BigQuery dataset with the name "gtm_database"
  • The following tables:
    • gtm_accounts
    • gtm_containers
    • gtm_tags
    • gtm_variables
    • gtm_built_in_variables
    • gtm_triggers
  • A service account with the Editor role

About

Creates a BigQuery dataset of all your Google Tag Manager containers, tags, triggers, and variables to be used as a data source in Looker Studio or other data viz tool.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •