Git Product home page Git Product logo

gtm-slack-integration's Introduction

gtm-slack-integration

This is a node.js project designed to be run with Google Cloud Functions.

How it works

Once the app is running as a Cloud Function, each time the function is invoked, it will go through all the Google Tag Manager containers listed in the config.json file, and query Google Tag Manager's API for what the most recent published version is.

If this version differs from the one in state (stored in a Google Cloud Storage file), a Slack message is pushed notifying about this.

What you'll need

Here are the things you need to have in order for the setup to work:

  • Google Cloud Platform project with billing enabled.
  • Cloud Functions API and Tag Manager API enabled in the project.
  • A service account (you can use the default SA created by the Cloud Functions API) added as a READ user to each Google Tag Manager container you want to audit for changes to the published version.
  • A Slack app per Slack workspace you want to publish messages to.
  • An Incoming Webhook per GTM account/container, which forwards the message sent by the app to a given channel (or direct message) in the workspace.

It's also recommended to install the gcloud command-line tool.

How to set it up

The instructions for setting up the integration are detailed in this blog post (FORTHCOMING).

gtm-slack-integration's People

Contributors

sahava avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.