Profile unification examples

Here are some examples that show how user profiles are created and unified in Blueshift.

Example 1

A user browses your website and mobile app anonymously. The user later logs into the mobile app and the website on different days using different devices, but using the same email address and user ID.

1. An anonymous user browses the /about-us page on your website. This information is sent to Blueshift using a pageload pixel. The cookie is sent automatically for every website event.

Example:
pageload(cookie: 5b3f64aa-717c-4e75-ace6-8f610821b098, url: domain.com/about-us)

uuid

customer_id

email

cookies

device_ids

behavior

57119c56-585e-447a-9d6a-a40bb2a3b919

 

 

[5b3f64aa-717c-4e75-ace6-8f610821b098]

 

[viewed /about-us]

2. The same user opens the mobile app later in the afternoon and views a few products. This information is sent to Blueshift using the Mobile SDK with an item view event. The device_id is sent automatically for every mobile SDK event.

Example:
view(device_id: e9cc01a4-3473-4df2-a715-30da584ac398, product_id: 123)

uuid

customer_id

email

cookies

device_ids

behavior

57119c56-585e-447a-9d6a-a40bb2a3b919

 

 

[5b3f64aa-717c-4e75-ace6-8f610821b098]

 

[viewed /about-us]

32919c76-545e-227a-9d6a-a40bb4c3b924

 

 

 

[e9cc01a4-3473-4df2-a715-30da584ac398]

[viewed product 123]

3. The user signs in to the mobile app with email user1@domain.com and USERID1. This information is sent to Blueshift using an identify pixel. The user with the matching mobile device_id is found and the user's customer_id and email address are updated.

Example:
identify(customer_id: USERID1, email: user1@domain.com, device_id: e9cc01a4-3473-4df2-a715-30da584ac398)

uuid

customer_id

email

cookies

device_ids

behavior

57119c56-585e-447a-9d6a-a40bb2a3b919

 

 

[5b3f64aa-717c-4e75-ace6-8f610821b098]

 

[viewed /about-us]

32919c76-545e-227a-9d6a-a40bb4c3b924

USERID1

user1@domain.com

 

[e9cc01a4-3473-4df2-a715-30da584ac398]

[viewed product 123]

4. The user returns the next day and signs in to the website with user1@domain.com and USER1. Blueshift detects that there are two profiles for the same user USER1, and a merge is triggered resulting in a single customer profile with all attributes and behaviors merged.

Example:
identify(customer_id: USERID1, email: user1@domain.com, cookie: 5b3f64aa-717c-4e75-ace6-8f610821b098)

uuid

customer_id

email

cookies

device_ids

behavior

57119c56-585e-447a-9d6a-a40bb2a3b919

USERID1

user1@domain.com

[5b3f64aa-717c-4e75-ace6-8f610821b098]

[e9cc01a4-3473-4df2-a715-30da584ac398]

[viewed /about-us,

viewed product 123]

Example 2

A user browses your website anonymously. The user later receives an email and clicks a link in the email which takes the user to a product page on your site.

1. An anonymous user browses the about-us page on your website. This information is sent to Blueshift using a pageload pixel. The cookie is sent automatically for every website event.

Example:
pageload(cookie: 5b3f64aa-717c-4e75-ace6-8f610821b098, url: domain.com/about-us)

uuid

customer_id

email

cookies

device_ids

behavior

57119c56-585e-447a-9d6a-a40bb2a3b919

 

 

[5b3f64aa-717c-4e75-ace6-8f610821b098]

 

[viewed /about-us]

2. The next day, the user receives an email from a Blueshift campaign that contains a link to one of your products. When the user clicks on the link, the product's page on your site opens in the browser. Assuming that the user's email address is john.doe@blueshift.com, here's the data that Blueshift receives:

uuid

customer_id

email

cookies

device_ids

behavior

57119c56-585e-447a-9d6a-a40bb2a3b919

 

john.doe@blueshift.com

[5b3f64aa-717c-4e75-ace6-8f610821b098]

 

[viewed /product-123]

3. At this point, Blueshift detects that there are two profiles for the same user and triggers a merge resulting in a single customer profile with all attributes and behaviors merged. Assuming that the customer ID is johndoe, here's what the profile looks like now:

uuid

customer_id

email

cookies

device_ids

behavior

57119c56-585e-447a-9d6a-a40bb2a3b919

johndoe

john.doe@blueshift.com

[5b3f64aa-717c-4e75-ace6-8f610821b098]

 

[viewed /about-us, viewed /product-123]

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.