SOLVED

Re: Accessing Custom Object Data on Landing pages

Go to solution
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 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Accessing Custom Object Data on Landing pages

It's hard to argue* that this limitation makes sense, but: No. It can't be done natively.

 

We've instead done 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.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Accessing Custom Object Data on Landing pages

It's hard to argue* that this limitation makes sense, but: No. It can't be done natively.

 

We've instead done 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.

Travis_Schwartz
Level 4

Re: Accessing Custom Object Data on Landing pages

Thanks for your feedback on this one. I assumed there wasn't anything out of the box that I was missing, but good to know the work arounds. I'm not sure these will work for our use case, but will check with the team to see.

SanfordWhiteman
Level 10 - Community Moderator

Re: Accessing Custom Object Data on Landing pages

@Travis_Schwartz please return to your thread and check replies.