Document toolboxDocument toolbox

Blueshift Purchase

Summary / TL:DR: WMC sends this event to Blueshift when a customer lands on an order thank you page This is natively a goal event in Blueshift which will attribute any purchases/orders to the last campaign that was clicked on by the customer.


Purpose

To indicate in Blueshift when a user has purchased something/lands on the thank you page. If the last touchpoint before a purchase came from a Blueshift campaign, the purchase will be attributed to that campaign. This introduces a new metric of purchases/orders that will allow you to measure the performance of marketing campaigns.


Description

After a customer places an order and lands on the thank you page, WMC will fire this event to Blueshift and will get recorded to the email address that is entered on the order form. Blueshift will merge profiles if an unknown user makes a purchase. This event will fire on each subsequent UpSell or Cross Sell.


Attributes

cookie

Cookie from pageload script

email

Email that is decrypted from the vid2 value if the link was sent from Blueshift

event

Event name

products

Object array that include the journey URL nickname, item that was purchase, the price, and quantity

product_ids

Generated by Blueshift. Includes the journey URL nickname and item from the products array

purchase_type

The type of purchase that was placed in WMC (Initial, Cross-sell, Upsell)


Sample Payload

{ "email": "testiser@getblueshift.com", "event": "purchase", "product_ids": [ "WMC-IKAMIDDLE23-001", "IKA" ], "products": [ { "sku": "WMC-IKAMIDDLE23-001" }, { "price": 47, "qty": 1, "sku": "IKA" } ], "purchase_type": "initial" }

Still need help?

We know this can be frustrating. To get further help open a Jira ticket.

Open a ticket


Cannot find the article you’re looking for?

Suggest a new article here!

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-macro' is unknown.