Cover Image for Journey Data vs Contact Data in Journey Builder

Journey Data vs Contact Data in Journey Builder

Lucas Costa
Lucas Costa
5 min read

Data is crucial for a successful Journey in Salesforce Marketing Cloud. It powers much more than just the entry into the journey: it serves as a source for your dynamic email content and for decision splits within the journey.

But in Journey Builder, data comes in two flavours: Journey Data and Contact Data. Understanding the difference between the two is critical for getting the most out of your journey.

In this post, we will explore these two types of data, how to setup Contact data and the main differences between them. For additional context, we will use the sample Abandon Cart Journey below, where an email is sent and if a purchase has not been made two days later, a follow up email is sent.

Abandon Cart Journey Example

Understanding Journey Data

Once a contact enters the Journey, the data associated with that record in the entry data extension goes with it. That data is Journey Data. Let's take a look at what the data for the journey above looks like:

Entry Data Extension:

Data Extension used for journey entry
Contact KeyEmailFirst NameEntry DateCart Data
1email1@example.comAnna2024-08-01{orderNumber: 1, products: [prod1: 2, prod2: 1...]}
2email2@example.comMark2024-08-01{orderNumber: 1, products: [prod1: 2, prod2: 1...]}
3email3@example.comLucas2024-08-01{orderNumber: 1, products: [prod1: 2, prod2: 1...]}

When subscriber 2 enters the Journey, Mark is sent through the Journey as the attribute First Name. That attribute is part of Mark's Journey Data.

Important

Journey Data is static and will always reflect the values that were present in the Data Extension at the time of entry. This means that even if you change the First Name in the data extension after the record has entered the Journey, the initial First Name will persist when you access Journey Data on the email or decision splits.

So how can we configure the decision split in the Journey to see if the contact has made a purchase 2 days after the entry? That's where Contact Data comes in.

Master Journey Builder Strategies

Get advanced guides on Journey Builder, data management, and automation best practices

No spam, unsubscribe anytime

Understanding Contact Data

In order to know if a subscriber has made a purchase on that decision split, we need to make a real time decision on the data. Essentially, we need to check if there have been any orders for that subscriber in the past two days.

Let's assume we have a data extension named LatestOrders where we record our customer's latest orders date. For simplicity, it will contain just two fields:

LatestOrders Data Extension:

Data Extension containing latest order information
Contact KeyLatest Order Date
12024-05-01
2null
32024-08-01

So how do we access that data in Journey Builder? That's where Contact Builder and Attribute Groups come in.

Mapping Data to Contact Builder

We need to map the LatestOrders table to Contact Builder to make it accessible to Journey Builder decision splits.

1. Create a new attribute Group

In Audience Builder > Contact Builder > Data Designer, create or select an existing attribute group:

Attribute Group Setup

2. Link the LatestOrders Data Extension to the Attribute Group

Click data Extensions > Link and select the LatestOrders data extension. From there, we map the Contact Key from Customer Data to Subscriber Key in our LatestOrders data extension.

Data Extensions Link

Critical Step

Make sure to select the correct cardinality for your data. In our case, since each subscriber only has one entry in the LatestOrders table (the entry gets updated with the most recent order date), we need to choose "One" for the cardinality. If each subscriber had multiple entries, we would select "Many" instead.

Using Contact Data in Journey Builder

Now that the data is mapped to Contact Builder, we can finally use it inside of our decision split in the Journey. Contact Data decision splits will always look for the latest values in the data, so if a new order has been made and recorded in the LatestOrders data extension, Journey builder will be aware of it and can now make a decision based on the latest value.

Decision Split Configuration

Key Differences Summary

Comparison between Journey Data and Contact Data
AspectJourney DataContact Data
NatureStatic snapshot at entryDynamic, real-time lookup
SetupAutomatic with entry DERequires Contact Builder mapping
PerformanceFast (cached)Slower (real-time queries)
Use CasesEntry context, static personalizationDynamic decisions, behavior tracking
UpdatesNever changes during journeyAlways reflects current data

Conclusion

Understanding the difference between Journey Data and Contact Data is key to getting the most out of Journey Builder. Journey Data is static and stays the same as when the contact enters the journey, while Contact Data allows you to make real-time decisions based on the most recent data available.

By mapping your data in Contact Builder, you can leverage the full power of both data types to create smarter, more dynamic journeys. Whether it's tracking abandoned carts or updating journey paths based on the latest orders, using these two data types together helps you build more personalized and responsive experiences for your customers.

Want More SFMC Insights?

Get exclusive guides on Journey Builder, automation strategies, and advanced SFMC techniques

No spam, unsubscribe at any time. We respect your privacy.

Related Articles


Have a specific Journey Builder question or want to suggest a topic for our next post? Contact us - we'd love to hear from you!

Comments

Join the discussion and share your thoughts on "Journey Data vs Contact Data in Journey Builder".

Privacy-Respecting Comments

You can comment without subscribing to our newsletter. Newsletter subscription is completely optional and separate from commenting.

Leave a comment

You need to be signed in to post comments.

Loading comments...

Loading comments...