You can send out marketing emails to let Wix users know about new features and more.
www.wix.com/app-market/your-app-slug
, or create a direct link so that users can open your app in one of the their Wix sites.Here’s an example:
When sending marketing emails you need to direct users to open your app in one of their Wix sites (not your own website). You will need to construct a URL to open the Wix Site Selector, so that users can choose which of their sites to open your app in. Once users select a site, they’ll be directed to your app in that site.
To open the site selector you will encode the value of your app's iframe URL within the editor or internal dashboard. You will add this value at the end of the following URL: https://manage.wix.com/my-account/site-selector/?title=Select One of Your Sites&buttonText=Open App&actionUrl=<encoded iframe URL>
Here’s how to construct and encode the iframe URL to get the actionUrl:
appID
with your app’s ID in the following URL: https://editor.wix.com/html/editor/web/renderer/edit/{{applications.HtmlWeb.idInApp}}?metaSiteId={{metaSiteId}}&editorSessionId={{esi}}&etpa=<appID>
appID
with your app’s ID in the following URL: https://manage.wix.com/dashboard/{{metaSiteId}}/app/<appID>/<appID>?<appState>