[Adalo Tutorial] How to Share App pages & How to use url parameters for deep linking in a Web app

Hey guys, I whipped up a tutorial about sharing pages and using our JS component for deep linking in WPA’s

Code from Video:

const urlSearchParams = new URLSearchParams(window.location.search);
const params = Object.fromEntries(urlSearchParams.entries());

if (params.id){
  return params.id;
}
else {
  return "Sorry we couldn't find this project";
}
9 Likes

Thank you, I was needing this… you are a genius… always contributing! …

I have a query, I am using the social component that you made, how can I make it open the phone’s contact list when I want to share on WhatsApp?

This is so cool!

1 Like

Thanks Santiago. For the social component, I’m not sure actually. That’s a really good question.

You’d have to ask someone who’s stronger in react than I am.

2 Likes

Good thing, because I put an input so each user must write the whatsapp so that the button takes the data from the input… hopefully it can be done that pressing the button opens the agenda, meanwhile I found that idea!

This is awesome! Just what I was looking for and it works! Also I use the arbitrary JavaScript to get device size to determine a redirect to the PWA or desktop app after signup which both have a shared database.

Hey, does this component still work? Since Pragmaflow is shut down now.