feat: update schema

This commit is contained in:
Kevin Franklin Kim 2025-02-25 15:33:17 +01:00
parent 7a4829e3b5
commit 1621055a7e
No known key found for this signature in database
3 changed files with 36 additions and 0 deletions

View File

@ -88,6 +88,15 @@ googleTagManager:
containerId: '175348980'
# The workspace id that should be used by the api
workspaceId: '10'
# Web container variables
webContainerVariables:
dataLayer:
- link_url
lookupTables:
link_url_conversion_label:
input: '{{dlv.link_url}}'
valueTable:
123456: 'https://foomo.org/'
# Server container variables
serverContainerVariables:
eventData:

View File

@ -451,6 +451,10 @@
"$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.GoogleTagManagerContainer",
"description": "Google Tag Manager server container settings"
},
"webContainerVariables": {
"$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.GoogleTagManagerWebContainerVariables",
"description": "Google Tag Manager web container variables"
},
"serverContainerVariables": {
"$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.GoogleTagManagerServerContainerVariables",
"description": "Google Tag Manager server container variables"
@ -491,6 +495,20 @@
"additionalProperties": false,
"type": "object"
},
"github.com.foomo.sesamy-cli.pkg.config.GoogleTagManagerWebContainerVariables": {
"properties": {
"dataLayer": {
"$ref": "#/$defs/[]string",
"description": "List of event data variables"
},
"lookupTables": {
"$ref": "#/$defs/map[string]config.LookupTable",
"description": "Map of lookup table variables"
}
},
"additionalProperties": false,
"type": "object"
},
"github.com.foomo.sesamy-cli.pkg.config.Hotjar": {
"properties": {
"enabled": {

View File

@ -36,6 +36,15 @@ googleTagManager:
containerId: '175348980'
# The workspace id that should be used by the api
workspaceId: '10'
# Web container variables
webContainerVariables:
dataLayer:
- link_url
lookupTables:
link_url_conversion_label:
input: '{{dlv.link_url}}'
valueTable:
123456: 'https://foomo.org/'
# Server container variables
serverContainerVariables:
eventData: