docs: update README

This commit is contained in:
Kevin Franklin Kim 2025-09-10 16:03:09 +02:00
parent 97ef3a7ce6
commit c3a1a68c9b
No known key found for this signature in database
3 changed files with 78 additions and 15 deletions

View File

@ -493,6 +493,37 @@ mixpanel:
- ViewItem - ViewItem
- ViewItemList - ViewItemList
# --- Pinterest
pinterest:
# Enable provider
enabled: true
# Pinterest advertiser id
advertiserId: ''
# Pinterest API access token
apiAccessToken: ''
# Enable test mode
testModeEnabled: false
# Google Consent settings
googleConsent:
# Enable consent mode
enabled: true
# Consent mode name
mode: analytics_storage
# Google Tag Manager server container settings
serverContainer:
# Directory containing the go.mod file
directory: .
# Contemplate package config for generated events
packages:
- path: 'github.com/foomo/sesamy-go/pkg/event'
types:
- AddToCart
- GenerateLead
- PageView
- Purchase
- Search
- SignUp
- ViewItemList
``` ```
## Caveats ## Caveats

View File

@ -105,6 +105,10 @@
"$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.Mixpanel", "$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.Mixpanel",
"description": "Mixpanel provider settings" "description": "Mixpanel provider settings"
}, },
"pinterest": {
"$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.Pinterest",
"description": "Pinterest provider settings"
},
"emarsys": { "emarsys": {
"$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.Emarsys", "$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.Emarsys",
"description": "Emarsys provider settings" "description": "Emarsys provider settings"
@ -745,6 +749,36 @@
"additionalProperties": false, "additionalProperties": false,
"type": "object" "type": "object"
}, },
"github.com.foomo.sesamy-cli.pkg.config.Pinterest": {
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable provider"
},
"advertiserId": {
"type": "string",
"description": "Pinterest advertiser id"
},
"apiAccessToken": {
"type": "string",
"description": "Pinterest API access token"
},
"testModeEnabled": {
"type": "boolean",
"description": "Enable test mode"
},
"googleConsent": {
"$ref": "#/$defs/github.com.foomo.sesamy-cli.pkg.config.GoogleConsent",
"description": "Google Consent settings"
},
"serverContainer": {
"$ref": "#/$defs/github.com.foomo.gocontemplate.pkg.contemplate.Config",
"description": "Google Tag Manager server container settings"
}
},
"additionalProperties": false,
"type": "object"
},
"github.com.foomo.sesamy-cli.pkg.config.Tracify": { "github.com.foomo.sesamy-cli.pkg.config.Tracify": {
"properties": { "properties": {
"enabled": { "enabled": {

View File

@ -495,18 +495,16 @@ pinterest:
mode: analytics_storage mode: analytics_storage
# Google Tag Manager server container settings # Google Tag Manager server container settings
serverContainer: serverContainer:
# Track events # Directory containing the go.mod file
track: directory: .
# Directory containing the go.mod file # Contemplate package config for generated events
directory: . packages:
# Contemplate package config for generated events - path: 'github.com/foomo/sesamy-go/pkg/event'
packages: types:
- path: 'github.com/foomo/sesamy-go/pkg/event' - AddToCart
types: - GenerateLead
- AddToCart - PageView
- GenerateLead - Purchase
- PageView - Search
- Purchase - SignUp
- Search - ViewItemList
- SignUp
- ViewItemList