Go to file
2024-03-14 16:30:53 +01:00
_example feat: make prefix configurable 2024-03-14 14:00:52 +01:00
.github chore: bump deps 2024-03-07 14:48:41 +01:00
.husky feat: initial commit 2024-03-07 13:43:53 +01:00
cmd feat: make prefix configurable 2024-03-14 14:00:52 +01:00
internal feat: make prefix configurable 2024-03-14 14:00:52 +01:00
pkg fix: built in variables 2024-03-14 16:30:53 +01:00
.editorconfig feat: initial commit 2024-03-07 13:43:53 +01:00
.gitignore feat: initial commit 2024-03-07 13:43:53 +01:00
.golangci.yml feat: initial commit 2024-03-07 13:43:53 +01:00
.goreleaser.yml fix: build version 2024-03-07 14:53:17 +01:00
.husky.yaml feat: initial commit 2024-03-07 13:43:53 +01:00
CODE_OF_CONDUCT.md feat: initial commit 2024-03-07 13:43:53 +01:00
go.mod fix: built in variables 2024-03-14 16:30:53 +01:00
go.sum fix: built in variables 2024-03-14 16:30:53 +01:00
LICENSE feat: initial commit 2024-03-07 13:43:53 +01:00
main.go feat: initial commit 2024-03-07 13:43:53 +01:00
Makefile feat: initial commit 2024-03-07 13:43:53 +01:00
README.md feat: add request quota throttle 2024-03-08 23:12:53 +01:00

Sesamy CLI

Build Status Go Report Card godoc goreleaser

CLI to keep you sane while working with GTM.

Installing

Install the latest release of the cli:

$ brew update
$ brew install foomo/tap/sesamy-cli

Usage

Add a sesamy.yaml configurtion

google:
  ga4:
    measurement_id: G-PZ5ELRCR31

  gtm:
    account_id: 6099238525
    server:
      container_id: 175348980
      workspace_id: 10
      measurement_id: GTM-5NWPR4QW

    web:
      container_id: 175355532
      workspace_id: 23
      measurement_id: GTM-57BHX34G

  credentials_file: ./tmp/google_service_account_creds.json

events:
  packages:
    - path: "github.com/foomo/sesamy-cli/_example/server"
      output_path: "./_example/client/types.d.ts"
      indent: "\t"

Caveats

You might need to increase your Google Tag Manager API quotas, since they are limited to 15 r/m by default.

How to Contribute

Make a pull request...

License

Distributed under MIT License, please see license file within the code for more details.