Skip to content

Introduction

Agoraform is an open-source Go CLI for Marketing as Code. You declare marketing-platform configuration in YAML, review a non-mutating plan, and apply creates and updates through provider APIs.

This documentation describes Agoraform v0.3.0. It is generated from the public repository at tag v0.3.0, not from main.

Areav0.3.0
Commandsvalidate, plan, apply, import
ProvidersMatomo, Google Ads (googleads)
Matomo resourcesmatomo.goal, matomo.variable, matomo.trigger, matomo.tag
Google Ads resourcesgoogleads.conversion_action, googleads.customer_conversion_goal
ReferencesLogical $ref dependencies
ImportSupported Matomo resources plus supported Google Ads conversion measurement
Matomo publicationDeclarative through provider configuration, visible in plan, executed during apply
StateLocal agoraform.state.json
MutationsCreate and update

v0.2.0 introduced the dependency-aware Matomo Tag Manager workflow. v0.1.0 was the first public release and managed matomo.goal only.

validate -> plan -> apply -> plan

The last plan reports no changes when desired configuration, local state, and remote state are unchanged. import adopts supported existing remote objects without mutating them.

  • There is no destroy command. apply does not delete remote resources.
  • Meta Ads is not implemented.
  • Google Ads support is limited to website (WEBPAGE) conversion actions and WEBSITE customer conversion-goal biddability. Search campaigns, budgets, ad groups, keywords, targeting, ads, offline/call/app conversions, and conversion-event uploads are not implemented.
  • Google Ads authentication uses a developer token plus a single-user OAuth refresh token. Service-account, multi-user, and interactive OAuth flows are not implemented.
  • Matomo Tag Manager is limited to one configured container (MATOMO_CONTAINER_ID) and the variable, trigger, and tag types documented for v0.2.0.
  • Remote state, workspaces, locking, and encryption are not implemented.
  • Rollback, scheduled publication, and approval workflows are not implemented.

Pre-1.0 releases may introduce documented breaking changes.

  1. Install Agoraform v0.3.0
  2. Follow the quick start
  3. Read Marketing as Code