We're trying to send some variables to our landing page that are set within AMPScript through a Mobile Push.
Within the setup of that Mobile Push (in the Alert Message), we have something along the lines of-
Hey, click on this notification! %%[ SET @SubKey = 'John Doe' SET @OffID = '123' ]%%
Obviously, the customer would only see "Hey, click on this notification!" Additionally, we wouldn't be hard coding the AMPScript variables (So John Doe would be Dynamic and so would the 123)
We also have the Mobile Push configured to send the customer to our landing page when they click on the notification.
The AMPScript on the landing page would then pick up this customer data using the QueryParameter() function and looks something like this-
SET @SubKey = QueryParameter('SubKey') SET @OffID = QueryParameter('OffID')
This would then be used for the remainder of the landing page.
For email sends, we've used an HTML tag like this-
href="%%=RedirectTo(CloudPagesURL(123, 'SubKey', @SubKey, 'OffID', @OffID))=%%"
Mobile Push won't accept HTML, however. How can we pass on this information from the Mobile Push to our Cloud Page?