Generic Marketing Preference Field with Subscriptions data type
Generic Marketing Preference Field with Subscriptions is a standard XDM data type that describes a customer’s selection for a particular marketing preference.
subscriptions
map for a particular marketing preference field, you can use the basic marketing field data type instead.
reason
subscriptions
time
val
val
val
The following table outlines the accepted values for val
:
y
n
p
p
until they select a link in an email to verify that they have provided the correct email address, at which point the consent would be updated to y
.If this preference does not use a two-set verification process, then the
p
choice may instead be used to indicate that the customer has not yet responded to the consent prompt. For example, you can automatically set the value to p
on the first page of a website, before the customer has responded to the consent prompt. In jurisdictions that do not require explicit consent, you may also use it to indicate that the customer has not explicitly opted out (in other words, consent is assumed).u
dy
Note that if laws or changes to your company’s privacy policy result in changes to the defaults of some or all users, you must manually update all profiles containing default values.
dn
Note that if laws or changes to your company’s privacy policy result in changes to the defaults of some or all users, you must manually update all profiles containing default values.
LI
CT
CP
VI
PI
subscriptions
subscriptions
Some businesses allow customers to opt in for different subscriptions that are associated with a particular marketing channel. For example, a banking company may allow customers to subscribe to phone alerts for overdrawn accounts, or receive sales calls for loyalty program offers.
The following JSON represents an example marketing field for a phone call marketing channel that contains a subscriptions
map. Each key in the subscriptions
object represents an individual subscription for the marketing channel. In turn, each subscription contains an opt-in value (val
).
"email-marketing-field": {
"val": "y",
"time": "2019-01-01T15:52:25+00:00",
"subscriptions": {
"loyalty-offers": {
"val": "y",
"type": "sales",
"topics": ["discounts", "early-access"],
"subscribers": {
"jdoe@example.com": {
"time": "2019-01-01T15:52:25+00:00",
"source": "website"
}
}
},
"newsletters": {
"val": "y",
"type": "advertising",
"topics": ["hardware"],
"subscribers": {
"jdoe@example.com": {
"time": "2021-01-01T08:32:53+07:00",
"source": "website"
},
"tparan@example.com": {
"time": "2020-02-03T07:54:21+07:00",
"source": "call center"
}
}
}
}
}
val
type
topics
subscribers
An optional map-type field that represents a set of identifiers (such as email addresses or phone numbers) that have subscribed to a particular subscription. Each key in this object represents the identifier in question, and contains two sub-properties:
time
: An ISO 8601 timestamp of when the identity subscribed, if applicable.source
: The source that the subscriber originated from. This can be any descriptive string, provided it is 15 characters or less.
Additional resources
For more details on the data type, refer to the public XDM repository: