Accessing Custom Object Data on Landing pages

Travis_Schwartz
Level 4

Accessing Custom Object Data on Landing pages

Hello,

 

Working on a new project and I have access to all of the fields I want to display on a landing page... on a custom list which works just fine for emails, but wanted to have a landing page that provides the same/similar content, but can only use lead information. Is there a workaround for accessing the data here? it's unique information about that persons account so everyone's information would be unique to them.

 

Is there a way to access custom object data on landing pages? Is there a reason you wouldn't want to be able to do this?

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Accessing Custom Object Data on Landing pages

It's hard to argue* that it makes sense, but no, it can't be done natively.

 

We've accomplished this in 2 ways:

1. Write the latest CO data, as JSON, to a Textarea field using a webhook. Then embed that {{lead.Text Area}} field on the page, parse the JSON, and work with it any way you want. Of course if a person has a ton of CO records, they won't fit in a TextArea, but you can trim down to the last N.

2. Spin up a webservice that can query CO data using the person's Email Address + Marketo Unique Code. (You don't want to use the Email Address alone because that's too easy to guess.) Then return the response to the LP. Note you need to be attentive to API call limits/abuse - cache the data for awhile, including negative responses.

 

 

*OK, a lightweight argument would be that Marketo doesn't have the ability to server-side filter/reformat/iterate any data in Landing Pages, including regular Person fields. And COs contain sensitive data such as internal GUIDs, so you wouldn't want to just dump all the data.