Newsletter: double opt-in, languages and one list for several sites
MuseDock CMS has its own newsletter: sign-up form, double opt-in by email, captcha-free bot protection, campaigns and unsubscribes. If you run several sites for the same company, they can share one list where each person chooses which sites they want to receive.
Where to place the form
On any page: the [newsletter] shortcode
Type [newsletter] in a page's content (for example, at the end of “Contact”) and a box appears with a title, a short sentence, the email field, the button and the consent checkbox. It accepts three options:
| Option | What it does | Example |
|---|---|---|
title | Changes the box title | [newsletter title="Get our news"] |
text | Changes the sentence below the title | [newsletter text="Once a month, no noise."] |
lang | Forces the language (es, en, de or ca) | [newsletter lang="de"] |
Without options, the title is “Your site name newsletter” and the language is the page's language.
In the footer
In Settings → Footer, enable “Show the newsletter form in the footer” and, optionally, type the title and sentence for each language. The form takes the third footer column. More in the footer guide.
In a text widget: [newsletter_form]
For security, the text widget does not accept forms. Write your own heading and text and, where the form goes, type [newsletter_form] (with “Process shortcodes” enabled). Options: prefix (CSS class prefix, to apply your own design: prefix="my-news" outputs my-news-form, my-news-row, my-news-consent…), name="1" (adds a name field), button, placeholder and lang.
In a theme template
If the theme has its own form in a template, it only needs to POST to /newsletter/subscribe the fields email, newsletter_consent (the required checkbox) and, optionally, lang. The page adds the security fields by itself and sends the sign-up without reloading.
What people see when they sign up
- They type their email, tick the box and press “Subscribe”. Below the form they read: “Almost done! We have sent you an email to confirm your subscription. If it does not arrive within a few minutes, check your spam, promotions or other folders.”
- They receive a “Confirm your subscription” email with a button.
- The link opens a page with a “Yes, confirm my email” button. The subscription is confirmed when they press it, not when the link is opened: many corporate antivirus tools open email links automatically and would otherwise confirm sign-ups nobody asked for.
- They are subscribed. If the site shares a list with others (see below), they choose which sites they want on that same page.
Until they confirm, the person shows as Pending and receives no campaigns. If they sign up again with the same email on the same day, no second email is sent: the first link is still valid.
Languages
The sign-up message, the confirmation email and the confirmation, site choice and unsubscribe pages are available in Spanish, English, German and Catalan. The language of the page holding the form is used; if unknown, the site's language, and then the browser's.
Bot protection without captcha
The form asks nothing extra. Behind the scenes it checks, among other things, how long the form takes to fill in, an invisible field only robots fill in, disposable email addresses and too many sign-ups in a row from the same connection. A sign-up that looks like a bot is not stored and gets no email, but it sees the same reply as a person, so the bot cannot learn how to get around the filter.
One list for several sites
If your company has several sites (for example, several magazines), they can share one list. One of them is the main site: it holds the list and sends the campaigns. The rest are the network sites.
- Each email is stored only once, even if the person signs up from five different sites.
- Next to the email, the sites they chose are recorded, with the date and the page where they chose them.
- Nobody receives a site they did not choose.
Setting it up
- In the main site's admin panel, go to Newsletter → Network outlets (“Medios de la red”).
- Under “Add a site to the network”, pick the site in the drop-down and press Add to the network. Repeat for each site.
- Check the “Network sites” table. Each site shows how many people chose it and two checks:
- Sends emails: whether the site can send the confirmation email. Without it, sign-ups stay pending.
- Form: whether there is somewhere to sign up (the footer or a page with
[newsletter]).
The drop-down only lists sites of the same company, that is, with the same tax ID in their legal details, that are not already in another network. A list can only be shared within the same data controller: two different companies would need separate consents.
Removing a site deletes nobody: its subscribers stay on the list with the other sites they chose, but that site is no longer offered as a choice or as a campaign audience.
How each person chooses their sites
- The form on a network site shows a second, optional checkbox: “I also want to discover the other outlets of the network”.
- When they confirm their email, the page lists every network site with the original one already ticked and a “Tick all” box. They tick the ones they want and press “Save my choice”.
- Every campaign email has a “my outlets” link in its footer that goes back to that page, to add or remove sites at any time. Unticking everything unsubscribes them.
- If someone already subscribed signs up from another network site, they are not duplicated: that site is simply added.
Sending campaigns per site
In the main site's Newsletter → Campaigns, the “Who is it for?” field lists the network sites. A campaign for one site only reaches people who chose that site; the main site option (“whole network”) reaches people who chose the best of the whole network.
Privacy and GDPR
- The checkbox says “I want to receive the your site newsletter” and links to the privacy policy. The policy is not “accepted”: people are informed of it; what they consent to is receiving the newsletter.
- For each sign-up, the exact text they saw, the date, the page, the IP address and the browser are stored as proof, together with the confirmation date.
- If the site uses the automatic legal pages and belongs to a network, its privacy policy automatically adds a section about the shared list: who the controller is, which data is stored, the legal basis, for how long and the list of sites sharing it.
- If your policy is hand-written, add that same section by typing
[newsletter-privacy]where you want it (or[newsletter-privacy lang="en"]in the English part).
Sending the emails
The confirmation email and campaigns are sent through the site's mail server (SMTP). If the site has none of its own, the platform can allow it to use the general one; the email is then sent with your site's name and replies go to the address you have set up.
Frequently asked questions
Can I combine sites from different companies in one list?
No. A shared list requires all sites to belong to the same data controller. That is why the drop-down only shows sites with the same tax ID.
If I remove a site from the network, do I lose subscribers?
No. Nobody is deleted. That site simply stops being a choice and a campaign audience.
Can someone be subscribed without confirming?
No. Without pressing the confirmation button they stay Pending and receive no campaigns.
Where can I see which sites each person chose?
In the main site's Newsletter page, the subscriber table has an “Outlets” (“Medios”) column.
Troubleshooting
- “The confirmation email does not arrive”: ask the person to check spam and promotions. If it is nowhere, check in “Network outlets” that the site has ✓ under “Sends emails”.
- “The page has expired”: the page had been open for a long time. Reload it and send again.
- One of my sites is not in the drop-down: check that it has the company's tax ID in its legal details and is not already in another network.
- I typed
[newsletter]and it shows as plain text: make sure it is in the content of a published page, with nothing else inside the brackets.