Skip to main content

GoalValueCondition

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

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

Fields​

GoalValueCondition.trackingOption ● GoalTrackingOption! non-null enum​

Where the amount is read.

GoalValueCondition.elementSelectorType ● GoalElementSelectorType! non-null enum​

How the selectors were chosen.

GoalValueCondition.pageUrl ● String! non-null scalar​

URL of the page where the amount element was selected.

GoalValueCondition.wildcardUrl ● String scalar​

URL pattern used with WILDCARD; null otherwise.

GoalValueCondition.onPage ● String scalar​

Page URL or wildcard pattern the value applies to; null for any page.

GoalValueCondition.onAnyPage ● Boolean scalar​

True when the value applies on any page; null otherwise.

GoalValueCondition.selectorForDesktop ● String! non-null scalar​

CSS selector for the amount element on desktop.

GoalValueCondition.selectorForTablet ● String! non-null scalar​

CSS selector for the amount element on tablet.

GoalValueCondition.selectorForPhone ● String! non-null scalar​

CSS selector for the amount element on phone.

Member Of​

GoalElementValue object