Skip to main content

GoalValueConditionInput

Page scope and device-specific CSS selectors of the element that shows the conversion amount.

input GoalValueConditionInput {
trackingOption: GoalTrackingOption!
elementSelectorType: GoalElementSelectorType!
pageUrl: String!
wildcardUrl: String
onPage: String
onAnyPage: Boolean
selectorForDesktop: String!
selectorForTablet: String!
selectorForPhone: String!
}

Fields​

GoalValueConditionInput.trackingOption ● GoalTrackingOption! non-null enum​

Where the amount is read: one page, pages matching a wildcard pattern, or any page.

GoalValueConditionInput.elementSelectorType ● GoalElementSelectorType! non-null enum​

How the selectors were chosen; use MANUAL when supplying your own CSS selectors.

GoalValueConditionInput.pageUrl ● String! non-null scalar​

URL of the page where the amount element was selected.

GoalValueConditionInput.wildcardUrl ● String scalar​

URL pattern used when trackingOption is WILDCARD; null otherwise.

GoalValueConditionInput.onPage ● String scalar​

The web app sends pageUrl for SPECIFIC_PAGE, wildcardUrl for WILDCARD, and null for ANY_PAGE.

GoalValueConditionInput.onAnyPage ● Boolean scalar​

True for ANY_PAGE; the web app sends null for other options.

GoalValueConditionInput.selectorForDesktop ● String! non-null scalar​

CSS selector for the amount element on desktop.

GoalValueConditionInput.selectorForTablet ● String! non-null scalar​

CSS selector for the amount element on tablet.

GoalValueConditionInput.selectorForPhone ● String! non-null scalar​

CSS selector for the amount element on phone.

Member Of​

GoalElementValueInput input