time series events not working in AJO personalization | Community
Skip to main content
Level 2
June 23, 2022
Solved

time series events not working in AJO personalization

  • June 23, 2022
  • 3 replies
  • 3147 views

We have experience event schema where we are storing the customer purchase history.

 

I want to personalise productName from product Array which is stored in experienceEvent class schema. 

I have written personalization like the below but it's not working.

 

{{profile.timeSeriesEvents._tenant.products.productName}}

Best answer by mdonke

To my knowledge this is not possible. You don't have access to experience event data in AJO message personalization. Neither in ODE.
That's even though the UI seems to allow that.

3 replies

mdonkeAccepted solution
Level 4
June 23, 2022

To my knowledge this is not possible. You don't have access to experience event data in AJO message personalization. Neither in ODE.
That's even though the UI seems to allow that.

Manoj_Kumar
Community Advisor
Community Advisor
June 24, 2022

Hello @vkt1989 

 

I am assuming you want to personalize the email with this data. If this data is coming via event then you can use the journey context to personalize it. You will have to pass these details in the event payload and XDM object to save it.

 

Then it can be used in the message.

For eg, a Product from the order can be accessed like this.

{{#each context.journey.events.0000000.productListItems as |product|}}
		   
		   <tr>
            <td align="left" bgcolor="#ffffff" style="padding: 5px 24px; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 24px;">
              <p style="margin: 0;">{{product.name}}</p>
            </td>
			<td align="left" bgcolor="#ffffff" style="padding: 5px  24px; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 24px;">
              <p style="margin: 0;">{{product.quantity}}x</p>
            </td>
			<td align="left" bgcolor="#ffffff" style="padding:5px  24px; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 24px;">
              <p style="margin: 0;">${{product.priceTotal}}</p>
            </td>
          </tr>
		   
		    {{/each}}

 

Manoj     Find me on LinkedIn
vkt1989Author
Level 2
June 24, 2022

We want to personalize timeseries attributes in a Marketing campaign. The above will work only in case of events I believe.

June 30, 2022

We had the same issue indeed. Eventually we had to do a workaround where we stored certain data on a profile level (create a field and use 'update profile' in journey). Then you can use that data in marketing campaigns, bit ugly, but it works. 

Level 2
February 8, 2025

is it still not possible to use contextual attributes (streaming through time series event) in personalization?