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
type MatchEntity ¶
type MatchEntity string
Click to show internal directories.
Click to hide internal directories.