Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Google Google `yaml:"google"` // https://github.com/gzuidhof/tygo Typescript Typescript `yaml:"typescript"` // https://github.com/gzuidhof/tygo Tagmanager Tagmanager `yaml:"tagmanager"` }
type Tagmanager ¶ added in v0.1.5
type Tagmanager struct { Packages []*tygo.PackageConfig `yaml:"packages"` TypeMappings map[string]string `yaml:"type_mappings"` Prefixes TagmanagerPrefixes `yaml:"prefixes"` }
func (Tagmanager) PackageConfig ¶ added in v0.1.5
func (e Tagmanager) PackageConfig(path string) *tygo.PackageConfig
func (Tagmanager) PackageNames ¶ added in v0.1.5
func (e Tagmanager) PackageNames() []string
type TagmanagerPrefixes ¶ added in v0.1.5
type TagmanagerPrefixes struct { Client string `yaml:"client"` Folder string `yaml:"folder"` Tags TagmangerTagPrefixes `yaml:"tags"` Triggers TagmangerTriggerPrefixes `yaml:"triggers"` Variables TagmangerVariablePrefixes `yaml:"variables"` }
func (TagmanagerPrefixes) ClientName ¶ added in v0.1.5
func (p TagmanagerPrefixes) ClientName(name string) string
func (TagmanagerPrefixes) FolderName ¶ added in v0.1.5
func (p TagmanagerPrefixes) FolderName(name string) string
type TagmangerTagPrefixes ¶ added in v0.1.5
type TagmangerTagPrefixes struct { GA4Event string `yaml:"ga4_event"` GoogleTag string `yaml:"google_tag"` ServerGA4Event string `yaml:"server_ga4_event"` }
func (TagmangerTagPrefixes) GA4EventName ¶ added in v0.1.5
func (p TagmangerTagPrefixes) GA4EventName(name string) string
func (TagmangerTagPrefixes) GoogleTagName ¶ added in v0.1.5
func (p TagmangerTagPrefixes) GoogleTagName(name string) string
func (TagmangerTagPrefixes) ServerGA4EventName ¶ added in v0.1.5
func (p TagmangerTagPrefixes) ServerGA4EventName(name string) string
type TagmangerTriggerPrefixes ¶ added in v0.1.5
type TagmangerTriggerPrefixes struct { Client string `yaml:"client"` CustomEvent string `yaml:"custom_event"` }
func (TagmangerTriggerPrefixes) ClientName ¶ added in v0.1.5
func (p TagmangerTriggerPrefixes) ClientName(name string) string
func (TagmangerTriggerPrefixes) CustomEventName ¶ added in v0.1.5
func (p TagmangerTriggerPrefixes) CustomEventName(name string) string
type TagmangerVariablePrefixes ¶ added in v0.1.5
type TagmangerVariablePrefixes struct { Constant string `yaml:"constant"` EventModel string `yaml:"event_model"` GTEventSettings string `yaml:"gt_event_settings"` GTSettings string `yaml:"gt_settings"` }
func (TagmangerVariablePrefixes) ConstantName ¶ added in v0.1.5
func (p TagmangerVariablePrefixes) ConstantName(name string) string
func (TagmangerVariablePrefixes) EventModelName ¶ added in v0.1.5
func (p TagmangerVariablePrefixes) EventModelName(name string) string
func (TagmangerVariablePrefixes) GTEventSettingsName ¶ added in v0.1.5
func (p TagmangerVariablePrefixes) GTEventSettingsName(name string) string
func (TagmangerVariablePrefixes) GTSettingsName ¶ added in v0.1.5
func (p TagmangerVariablePrefixes) GTSettingsName(name string) string
type Typescript ¶ added in v0.1.5
type Typescript struct { Packages []*tygo.PackageConfig `yaml:"packages"` TypeMappings map[string]string `yaml:"type_mappings"` }
func (Typescript) PackageConfig ¶ added in v0.1.5
func (e Typescript) PackageConfig(path string) *tygo.PackageConfig
func (Typescript) PackageNames ¶ added in v0.1.5
func (e Typescript) PackageNames() []string
Click to show internal directories.
Click to hide internal directories.