We want to create a Cloud Page that dynamically changes content in the page according to a URL parameter. Users will visit the page directly, we won't send them to the page from email.
What I did:
Created DealerDE with some data:
ID|Name|Phone
1 |Joe |1234
2 |Dan |5678
Created cloud page and used the Lookup function successfully manually, %%=Lookup('DealerDE','Name','ID',1)=%%
Output: My name is Joe and my phone is 1234
My question:
I want that according to the URL parameter example.com/?id=2
the page will show the Name and the Phone from the DE: My name is Dan and my phone is 5678
What needs to be done i Lookup query to make it happen?