Contact Us

April 15, 2025

June 24, 2026 10:04 pm

Personalization issue with view in browser using job data view

Share with

Understanding the Issue

The email send data will only be added to the job view once the email is dispatched. This means that when you try to personalize a link using the Send Classification value from the _Job data view, the data may not be available at the time of send, resulting in the personalization not working as expected.

However, when you use View in Browser, the personalization and AMPscript are refreshed every time you load the webpage, which is why the personalization appears to work in this case.

Why This Happens

The root cause of this issue is the timing of when the email send data is added to the job view. Since the data is only added after the email is dispatched, it is not available for personalization at the time of send.

Fixing the Issue

To fix this issue, it is recommended not to use the job view data for any personalization in emails. Instead, consider using other data sources that are available at the time of send.

Here is an example of how you can use a different data source for personalization:

personalization_example.ssjs

var subscriberKey = AttributeValue("subscriberKey");
var emailAddress = AttributeValue("emailAddress");
var link = "https://example.com/" + subscriberKey;
Write("Click here");

Best Practices

Heads up: always test your personalization and View in Browser functionality thoroughly to ensure it is working as expected.

Checklist for Personalization

  • Use data sources that are available at the time of send
  • Avoid using job view data for personalization
  • Test personalization and View in Browser functionality thoroughly
  • Consider using alternative data sources, such as subscriber attributes
  • Use SSJS or AMPscript to create dynamic links and content

What is the best way to personalize links in emails?

The best way to personalize links in emails is to use data sources that are available at the time of send, such as subscriber attributes.

Can I use job view data for personalization?

No, it is not recommended to use job view data for personalization, as the data is only added to the job view once the email is dispatched.

How do I test my personalization and View in Browser functionality?

You can test your personalization and View in Browser functionality by sending a test email and verifying that the personalization is working as expected.

What are some alternative data sources I can use for personalization?

Some alternative data sources you can use for personalization include subscriber attributes, data extensions, and external data sources.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert