Go to file
2024-05-09 20:38:08 +02:00
_example feat: update example 2024-05-09 20:00:54 +02:00
.github chore: update workflows 2024-05-09 20:33:54 +02:00
.husky feat: initial commit 2024-03-07 13:43:53 +01:00
cmd style: update go linter 2024-05-09 20:34:27 +02:00
internal fix: allow empty structs 2024-05-09 20:01:38 +02:00
pkg style: update go linter 2024-05-09 20:34:27 +02: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 style: update go linter 2024-05-09 20:34:27 +02: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 chore: bump go & deps 2024-05-09 20:38:08 +02:00
go.sum chore: bump go & deps 2024-05-09 20:38:08 +02:00
LICENSE feat: initial commit 2024-03-07 13:43:53 +01:00
main.go feat: add send_page_view option 2024-04-29 10:59:32 +02:00
Makefile feat: add send_page_view option 2024-04-29 10:59:32 +02:00
README.md docs: add send_page_view option 2024-04-29 11:00:53 +02: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:
  gt:
    send_page_views: true
    server_container_url: https://sst.your.domain.com

  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.