Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

This section explains how to create a link to send users to for instant installation.


For example, you can use this link in a form of a QR code on printed materials, or as a shortlink in messages, or as a link in email campaigns. 




Note, that this will be the page where you lead users to. It is highly recommended that this page has both header and footer of your website.


Name this page, for example - /mobsted-app, so the full address of it will be like yourdomain.com/mobsted-app



<script type="text/javascript">
if ( window.location.href.indexOf("/mobsted-app") > -1 ) {
window.addEventListener("load", function(event) {
window.addEventListener('pwalessinited', function() {
pwaless.showWidget('main');
});
});
}
</script>
  1. that the address of your new page is a part of this code - /mobsted-app
  2. the name of your install prompt's widget that will pop up is main, you can change it to any other, MAKE SURE YOU HAVE SUCH A WIDGET IN THE APP



There are lots of different online resources:


For QR codes - click this search link for your country

For short links - click this search link for your country





  • No labels