Button
Button provides deep linking and optimizing affiliate, creator & social traffic. Using this destination you can leverage Button Orders API to report a purchase.
Key features
The Button destination provides the following key features:
Events structure: our Events reference covers Button Orders API, meaning that your data is properly bridged to the expected fields in an optimized way.
Prebuilt mappings: data mapping for event-based destinations happens automatically, which simplifies user inputs.
Smart mapping: data mapping can be readjusted using your datalayer defined fields.
Support for multi-item data: information included in the item array is bridged to Button.
Destination setup
Configuration
API Key
Source Token
Button source/attribution token. This field is optional to create an order, but is required for attribution. When testing your integration, you should send dummy source tokens to Button, in the following format: ^fakesrctok-[a-f0-9]{16}$
(E.g. fakesrctok-abcdef0123456789
). URL safe string up to 255 characters.
Custom Event Properties
Quick reference
[Any event]
Order record
Field mappings
id
order_id
[*]
revenue
total
[*]
currency
currency
[*]
items.X.id
line_items.X.identifier
[*]
items.X.id
line_items.X.sku
[*]
items.X.product.price
[*], items.X.quantity
[*] and items.X.discount
line_items.X.total
[*][1]
items.X.product.category_1
[*]
items.X.product.category_2
items.X.product.category_3
items.X.product.category_4
items.X.product.category_5
line_items.X.category
[*][2]
items.X.product.name
line_items.X.description
[*]
source_token
btn_ref
partners.button.purchase_date
context.event_timestamp
purchase_date
[3]
partners.button.total_as_decimal
total_as_decimal
[4]
user.id
customer.id
user.email
customer.email_sha256
[5]
context.device.advertising_id
customer.device_id
user.new_user
customer.is_new_user
id_variant
customer_order_id
partners.button.order_channel
partner_order_channel
[6]
partners.button.finalization_date
finalization_date
items.X.quantity
line_items.X.quantity
items.X.id
line_items.X.upc
items.X.coupon
line_items.X.attributes.coupon_code
Last updated
Was this helpful?