marketing_settings_write
Arguments
Returns
ctx. plus the store’s domain, as the Redo app’s Contextual setup shows it. Once registered it can’t be changed.Register ctx.<domain> as the store’s Contextual tracking subdomain, as the Redo app’s Contextual setup does. Works for a store the app offers Contextual to; if Contextual is off, this also turns it on and installs its tracking pixel, as the app does. Until the subdomain verifies, events go through Contextual’s shared endpoint. The subdomain can’t be changed afterwards. Returns it as PENDING with the DNS record to add; then call contextualTrackingDomainVerify, and Redo also rechecks on its own for a while. CAPABILITY_NOT_ENABLED (403) when the store isn’t offered Contextual; BAD_USER_INPUT (400) for a domain that isn’t plain: a leading ctx., a port, a path, spaces or a trailing dot; CONFLICT (409) when the store already has a subdomain.
marketing_settings_write
ctx. plus the store’s domain, as the Redo app’s Contextual setup shows it. Once registered it can’t be changed.