> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Send Marketing Emails ## Article: Send Marketing Emails ## Article Link: https://dev.wix.com/docs/build-apps/launch-your-app/app-promotion/self-promotion/send-marketing-emails.md ## Article Content: # Send Marketing Emails You can send out marketing emails to let Wix users know about new features and more. If you have a Wix website, you can easily leverage our [built-in email marketing solution](https://support.wix.com/en/article/email-marketing-creating-and-sending-a-campaign-from-start-to-finish) to manage your campaigns and communicate smoothly with your clients. For other users, platforms like Mailchimp or AWeber provide similar functionality. To explore more ways to create impactful email campaigns, check out [16 Email Marketing Tips to Drive Better Campaigns](https://www.wix.com/blog/email-marketing-tips) and [Wix Email Marketing Best Practices](https://support.wix.com/en/article/wix-email-marketing-best-practices). > **Note:** When sending emails, make sure that don’t contact anyone who has unsubscribed from that site’s mailing list. This is important for complying with regulations like GDPR and maintaining a positive user experience. For further guidance, see [Manage Site Visitor Email Subscriptions](https://dev.wix.com/docs/build-apps/launch-your-app/app-promotion/manage-site-visitor-email-subscriptions.md). ## Best practices * Make sure the email has an unsubscribe option. * Make it clear from your email that it’s from your company, and not from Wix.   * Add a link to your app in the App Market ```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. * Alternatively, if you want to direct users to a landing page make sure this page has a CTA that links to your app in Wix. * Use an email tracking service so that you can get stats about email performance. Here’s an example:
![](https://d2wzpmhzgtb9fu.cloudfront.net/docs/wp-content/uploads/2016/06/26130502/57_Email-Marketing_Dev-Center.jpg)
## Set up a direct link to your app 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=``` Here’s how to construct and encode the iframe URL to get the actionUrl: 1. Go to your [app's dashboard](https://manage.wix.com/account/custom-apps) and get your App ID. 2. Construct the iframe URL: * Website components: Replace ```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=``` * Dashboard components: Replace ```appID``` with your app’s ID in the following URL: ```https://manage.wix.com/dashboard/{{metaSiteId}}/app//?``` 3. Add the encoded iframe URL: * Encode this iframe URL with a URL encoding tool (like [this one](http://www.url-encode-decode.com/)). The encoded URL is the value for the actionURL key. * Enter the encoded URL as the actionURL key in the site selector URL above. ### Example of our site selector:
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ac/8ea3b84d-f31b-453b-821c-e197ed07b679/2021/05/11/044c1cfe-f3a3-42dd-ba65-8325cad122b6/0db7be97-e3b2-4d28-b38f-d6ae12fe30bb.png)
## See also - [Create a coupon campaign](https://dev.wix.com/docs/build-apps/launch-your-app/app-promotion/create-a-coupon.md) - [Improve your SEO](https://dev.wix.com/docs/build-apps/launch-your-app/app-promotion/seo-best-practices.md)