I am trying to access dynamic content within a Cloud Page landing page when the landing page is sent through as a Mobile Push message.
My goal would be to use DeviceId as a lookup to other data extensions which will in turn allow me to populate the landing page with dynamic content.
For example, if I put the following into a landing page, I would expect to be able to dynamically get the end user's first name:
%%[VAR @fname SET @fname=Lookup("Customer_demo", "first_name", "DeviceId", DeviceID)]%%
Hello %%=v(@fname)=%%!
When delivered through Mobile Push, I get a 500 error. If, however, I do the same type of lookup and send it as an alert through Mobile Push, it will work as expected.
Is there a way to pass a parameter to a landing page through a Mobile Push message?