Create Popup When Map Marker is Clicked

Hello guys.

I’ve created a popup that appears every time you press a marker in the map. In the popup some information appears related to place in the marker and i’ve added a button which which i want it to send the user to that location profile page within the app. Think of it like airbnb where if you press a marker in the map a popup shows up and if you click on it it sends you to that house page. The question is I’m not really understanding how to send the data from that marker to the page the popup is redirecting the user. Any ideas guys? @NigelG