Learn how to comply with global privacy and communication regulations when sending marketing emails using OneSignal. This guide covers consent requirements, opt-out rules, and email content regulations across major regions, including the EU, US, Canada, and more.
Most countries have legislation in place to protect individuals’ privacy and regulate how organizations can send email communications. As the sender, it is your legal responsibility to:
Ensure your messages comply with your own country’s privacy legislation.
Ensure your messages comply with the privacy laws of each recipient’s country.
OneSignal provides tools to help you manage compliance, but you must implement them appropriately based on your target audience and applicable laws.
Many countries mandate explicit consent (opt-in) before sending marketing emails. These include:
European Union (under the GDPR)
United Kingdom
Canada (under CASL)
Australia
New Zealand
Singapore
Hong Kong
The United States differs by allowing either opt-in or opt-out, depending on the context and applicable state or federal law. The CAN-SPAM Act permits sending marketing emails without prior consent, as long as recipients are allowed to unsubscribe.
Every marketing email you send must include a visible and functional “unsubscribe” link. This allows recipients to opt out of future communications.Timelines for honoring unsubscribe requests vary:
United States (CAN-SPAM): Opt-out requests must be honored within 10 business days.
GDPR and similar laws: Opt-out must be honored immediately or without undue delay.
In April 2026, France’s CNIL and Italy’s Garante published their new email tracking pixel guidance. We wrote a blog post about this with more details: Email tracking pixel guidance from France and Italy.If you are implementing these changes into your email collection process, these are the steps you can take within OneSignal to comply with the new guidance.
In your email collection process where you ask for open-tracking consent, you can capture that user’s preference with a Data Tag. For example, you can tag users who have not given consent as open_tracking_consent: false and users who have given consent as open_tracking_consent: true.This allows you to build segments based on this tracking preference tag. Recipients without the appropriate tracking consent can be sent email using your secondary subdomain with tracking disabled.Recipients should also have an easy way to change their preference later. For example, you could include an “Email tracking preferences” link near your unsubscribe link that directs recipients to a preference page you control. When a recipient changes their preference, update the corresponding tag in OneSignal so future emails can be sent using the appropriate tracking configuration.
Along with the open_tracking_consent tag, you can create segments with the country filter to identify recipients in France or Italy and use that data to create separate OneSignal segments.
Now that you have your users tagged and segmented, you can create a secondary sending subdomain without the CNAME tracking record. Emails sent using this subdomain will not log open or click events. This allows you to continue sending emails with tracking from your existing subdomain while using the secondary subdomain for recipients or campaigns where you do not want tracking enabled.For example:email.example.com → tracking enabled
email-notracking.example.com → tracking disabledThis approach allows you to separate tracked and non-tracked email without turning off tracking across your entire email program.
Omitting the tracking CNAME disables open and click tracking for every email sent through that sender. You will not see open or click data in analytics.