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 Package ¶ added in v0.2.0
func (Package) ExportEvent ¶ added in v0.2.0
type Packages ¶ added in v0.2.0
type Packages []Package
func (Packages) PackageConfig ¶ added in v0.2.0
func (Packages) PackageNames ¶ added in v0.2.0
type Tagmanager ¶ added in v0.1.5
type Tagmanager struct { contemplate.Config `yaml:",squash"` Tags TagmanagerTags `yaml:"tags"` Prefixes TagmanagerPrefixes `yaml:"prefixes"` }
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 TagmanagerTags ¶ added in v0.2.0
type TagmanagerTags struct {
GA4Enabled bool `yaml:"gA4_enabled"`
}
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 { contemplate.Config `yaml:",squash"` OutputPath string `yaml:"output_path"` }
Click to show internal directories.
Click to hide internal directories.