Skip to main content
Community Advisor
September 7, 2017
Question

RTP Predictive Token in Snippet: What does Position control?

  • September 7, 2017
  • 2 replies
  • 2968 views

<a href="{{predictive.content:default=layout-2;position-229905}}" target="_blank"><img width="179" border="0" style="width: 179px!important; height: auto!important;" src="{{predictive.image:default=layout-2;position-229905}}" />

I'm trying to use this code in a snippet so I can globally control the layout of my predictive content in my emails, by using a snippet. I finally got everything the way I want it, but I can't figure out what the position is referencing. I have 3 predictive images in the snippet, and from best I can tell 'position' is required (without the position, all three pieces of content are the same; but even with the same position, all pieces of content are still the same) --

Anyone had luck with this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

JDNelson1Community AdvisorAuthor
Community Advisor
December 28, 2017

@David Myers​, this is what I was talking with you about in regards to putting my ContentAI into a Snippet. The code I could not decipher was the Position #, as mentioned above. Any insight on that?

Marit_Rossing
Level 3
January 15, 2018

Hi @JD Nelson,

I was looking for documentation on Predictive Content inside Snippets. Thanks for the provided code above. Are you aware of an overview of tokens that we can use for Predictive Content?

Thanks Marit.

JDNelson1Community AdvisorAuthor
Community Advisor
January 15, 2018

No. Predictive (contentai, now) renders everything as an image when you save it. Tokens/personalization are not available.

Marit_Rossing
Level 3
January 17, 2018

Thanks for your message. Are you aware or is there a list of the elements (like layout, position) that can be used in this token: {{predictive.content:default=layout-2;position-229905}} or tokens like this we can use for predictive content?