Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/tame-buses-relax.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tame-lions-relax.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/tender-donkeys-drum.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/thick-otters-tickle.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/tidy-wombats-clap.md

This file was deleted.

24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @stackmade/gtm-as-code

## 0.4.0

### Minor Changes

- 6b2b557: Add `exceptTrigger` on `gtm.tags` entries, mapping to GTM's blocking-trigger mechanism
(`blockingTriggerId`). Works the same way `trigger` already does: validated against declared
triggers, ordered in the dependency graph, applied and read back through `plan`/`apply`/`pull`.
- 0e8b4e5: Add `gtm.folders` as a new GTM resource kind, with an optional `folder` field on variables,
triggers, and tags. Maps to GTM's `parentFolderId`. Ownership-tracked and dependency-ordered like
any other kind, and supported end to end by `plan`/`apply`/`pull`/`--from-export`.
- b4ad582: Add most remaining GTM trigger, variable, and tag types (page view, click, timer, trigger groups,
constant, custom JavaScript, lookup/regex tables, cookie, custom HTML, custom image, and more), tag
firing behavior (`priority`, `firingOption`, `scheduleStart`/`scheduleEnd`, `setupTags`/
`teardownTags`), and regex matching on custom-event triggers (`eventNameMatchType: 'regex'`).
Conversion linker and community-gallery template tags, and custom templates, are still not covered.
- b8be458: Add `gtm.builtInVariables` config, so `plan`/`apply`/`drift` can enable GTM built-in variables
(`Click Text`, `Page Path`, and the rest of the click/page/form/error/history/debug set). It only
enables variables; one not listed in config is left alone.

### Patch Changes

- 9dd1994: Fix `gtm-code adopt`, which was implemented and tested but never registered in the CLI, so the
command didn't actually run.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stackmade/gtm-as-code",
"version": "0.3.0",
"version": "0.4.0",
"description": "GTM & GA4 as code — define Google Tag Manager and Analytics 4 config in YAML, plan/apply like Terraform.",
"license": "MIT",
"type": "module",
Expand Down