useraction

package
v1.56.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionTypes = struct {
	Custom ActionType
	Load   ActionType
	XHR    ActionType
}{
	"Custom",
	"Load",
	"Xhr",
}
View Source
var MatchEntities = struct {
	ActionName         MatchEntity
	CSSSelector        MatchEntity
	JavaScriptVariable MatchEntity
	MetaTag            MatchEntity
	PagePath           MatchEntity
	PageTitle          MatchEntity
	PageURL            MatchEntity
	URLAnchor          MatchEntity
	XHRURL             MatchEntity
}{
	"ActionName",
	"CssSelector",
	"JavaScriptVariable",
	"MetaTag",
	"PagePath",
	"PageTitle",
	"PageUrl",
	"UrlAnchor",
	"XhrUrl",
}

Functions

This section is empty.

Types

type ActionType

type ActionType string

type Details

type Details struct {
	Value         *string      `json:"value,omitempty"`       // The value to be matched to hit the conversion goal
	CaseSensitive bool         `json:"caseSensitive"`         // The match is case-sensitive (`true`) or (`false`)
	MatchType     *match.Type  `json:"matchType,omitempty"`   // The operator of the match. Possible values are `Begins`, `Contains` and `Ends`.
	MatchEntity   *MatchEntity `json:"matchEntity,omitempty"` // The type of the entity to which the rule applies. Possible values are `ActionName`, `CssSelector`, `JavaScriptVariable`, `MetaTag`, `PagePath`, `PageTitle`, `PageUrl`, `UrlAnchor` and `XhrUrl`.
	ActionType    *ActionType  `json:"actionType,omitempty"`  // Type of the action to which the rule applies. Possible values are `Custom`, `Load` and `Xhr`.
}

Details Configuration of a user action-based conversion goal

func (*Details) MarshalHCL

func (me *Details) MarshalHCL(properties hcl.Properties) error

func (*Details) Schema

func (me *Details) Schema() map[string]*schema.Schema

func (*Details) UnmarshalHCL

func (me *Details) UnmarshalHCL(decoder hcl.Decoder) error

type MatchEntity

type MatchEntity string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL