Skip to content

OpenAI Ads ​

OpenAI Ads server-side conversion tracking via the Conversions API.

WARNING

This provider relies on the OpenAI Ads Conversions API by Stape tag template. Install it into your server container from the GTM Community Template Gallery before provisioning, or point templates.conversionsApiTag at a local copy.

Configuration ​

yaml
openAiAds:
  enabled: true
  pixelId: ''
  apiKey: ''
  templates:
    conversionsApiTag: ''
  googleConsent:
    enabled: true
    mode: ad_storage
  conversion:
    enabled: true
    validateOnly: false
    serverContainer:
      directory: .
      settings:
        page_view:
          eventName: page_viewed
      packages:
        - path: github.com/foomo/sesamy-go/pkg/event
          types:
            - Purchase
FieldPurpose
pixelIdOpenAI Ads pixel ID.
apiKeyOpenAI Ads API key.
googleConsent.modeDefaults to ad_storage.
conversion.validateOnlyValidate events without persisting them. Applies to every event.
conversion.serverContainer.settings.<event>.eventNameStandard OpenAI Ads event name. Defaults to the event name.
conversion.serverContainer.packagesEvents to wire conversion tags for.
templates.conversionsApiTagPath to a custom conversions api tag template file. Empty (default) uses the manually installed one.

TIP

Field names are based on the current schema. Run sesamy config -c sesamy.yaml to see the resolved values your build will use.