Leaf Popups by Codeleaf
Privacy Policy
Last updated: October 3, 2026
This Privacy Policy describes how Codeleaf ("we", "us", or "our") collects, uses, and shares information in connection with the Leaf Popups Shopify application (the "App"). It applies to merchants who install the App and to personal data of merchants' customers that the App processes to provide popup campaigns, lead capture, and related features.
1. Who we are
Leaf Popups is operated by Codeleaf. Contact: support@codeleaf.co. App site: https://leafpopups.codeleaf.co.
2. Data we process
Merchant / shop data
- Shopify shop domain and session tokens needed to authenticate the App
- Popup designs, behavior settings, publication manifests, and A/B test metadata
- Aggregated campaign analytics (views, clicks, submits, dismissals by popup/day)
- Billing plan status read from Shopify App Pricing
Customer / visitor data
- Email addresses and optional marketing consent when a visitor submits a popup form (stored on Shopify customer records)
- Engagement state such as shown, dismissed, and submitted timestamps, consent metadata, and unique discount codes (stored in the Shopify customer metafield
leaf_popups.state) - Anonymous browser-local state for frequency control until a visitor is identified by a submission
We do not maintain a separate customer database outside Shopify. The App's Leads view reads customer emails and metafield state from the Shopify Admin API.
3. Purposes of processing
- Provide, operate, and improve popup campaigns for the merchant's store
- Capture leads and apply marketing consent when the visitor opts in
- Issue and remember discount codes associated with campaigns
- Enforce frequency, targeting, and audience rules
- Show merchants captured leads and campaign analytics inside the App
- Authenticate the App, bill through Shopify App Pricing, and meet legal obligations
We process only the minimum personal data needed for these purposes and do not use customer personal data for unrelated advertising or sell it to third parties.
4. Legal bases and roles
For customer personal data processed through the App, the merchant is typically the data controller and Codeleaf acts as a processor / service provider on the merchant's behalf, subject to the Shopify Partner Program Agreement and applicable law. Merchants are responsible for providing required notices and obtaining consent on their storefronts where required.
5. Consent and marketing
Popup forms may include an optional consent checkbox configured by the merchant. When a visitor consents, the App records consent metadata and may set email marketing consent on the Shopify customer. We respect consent decisions recorded through the App and do not sell personal data. Automated decision-making with legal or similarly significant effects is not part of the App.
6. Where data is stored
- Shopify: customer records, customer metafields, shop metafields (published campaign index), Files CDN payloads, and discount codes
- App database (PostgreSQL): merchant designs, sessions, publication state, settings, billing cache, and aggregated stats — not customer email lists
Production traffic is served over HTTPS/TLS. Database access is restricted to the application environment. Test and production environments use separate stores and databases.
7. Retention
- Merchant app data is kept while the App is installed and needed to provide the service
- After uninstall, shop-scoped app data is deleted from our database (and again on Shopify's
shop/redactwebhook) - Customer personal data on Shopify follows the merchant's Shopify retention practices and Shopify customer deletion / redaction requests
- We respond to Shopify mandatory compliance webhooks (
customers/data_request,customers/redact,shop/redact) within required timeframes
8. Sharing
We share data with Shopify as required to run the App on the Shopify platform, and with infrastructure providers that host the App and database under our instructions. We do not sell personal data. We may disclose information if required by law or to protect the rights, safety, and security of merchants, customers, or Codeleaf.
9. Security
We use industry-standard measures including TLS in transit, access controls for production systems, separation of test and production data, and least-privilege staff access. No method of transmission or storage is completely secure; please contact us promptly if you believe there has been unauthorized access.
10. Your rights and requests
Merchants and customers may have rights to access, correct, delete, or export personal data under applicable law. Customers should contact the merchant (store owner) first. Merchants can contact us at support@codeleaf.co. We also honor Shopify-mediated data request and erasure webhooks.
11. International transfers
Data may be processed in countries where Shopify, Codeleaf, or our hosting providers operate. Where required, we rely on appropriate safeguards for such transfers.
12. Children
The App is directed to merchants operating online stores and is not intended for children. We do not knowingly collect personal data from children through the App.
13. Changes
We may update this Privacy Policy from time to time. The "Last updated" date at the top will change when we do. Continued use of the App after an update constitutes acceptance of the revised policy where permitted by law.
14. Contact
Questions about this policy or our data practices: support@codeleaf.co