e-mail marketing framework (drupal module)
DESCRIPTION
Presentation slides on E-mail marketing framework. A Drupal module that provides a generic framework on top of services like MailChimp, Campaign Monitor, ...TRANSCRIPT
![Page 1: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/1.jpg)
E-mailMarketingFramework
Davy Van Den Bremthttp://www.drupalcoder.com
![Page 2: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/2.jpg)
Who am I?
• Krimson
• EMF, Administration theme, Subsites, ...
• drupalcoder.com
• twitter.com/davyvandenbremt
![Page 3: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/3.jpg)
![Page 4: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/4.jpg)
Roadmap
•Why EMF exists
•What EMF does
•How to integrate new services
•Missing stuff
![Page 5: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/5.jpg)
Why EMF exists
![Page 6: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/6.jpg)
What EM is about (1)
• Subscriber management
•Campaign management
•Campaign reporting
![Page 7: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/7.jpg)
What EM is about (2)
• Privacy
• Spam
![Page 8: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/8.jpg)
State of EM in Drupal
• Simplenews
•Campaign Monitor
•MailChimp
• PHPList
•Mailman
![Page 9: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/9.jpg)
EMF?
•All services do the same, but different
• Provide a middle layer
•Write functionality once, use for compatible services
![Page 10: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/10.jpg)
Subscription management
• Lists
• Fields
• Subscribers
![Page 11: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/11.jpg)
Abstraction
function ..._subscribe($email, $fields, $lid)
function ..._unsubscribe($email, $lid)
function ..._get_subscribers_subscribed($date = 0, $lid = NULL)
function ..._get_subscribers_unsubscribed($date = 0, $lid = NULL)
function ..._get_lists()
function ..._get_custom_fields($lid)
![Page 12: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/12.jpg)
What EMF does
![Page 13: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/13.jpg)
Framework
• Implement functionality once
•Write plugins (as modules) that teach EMF basic stuff
![Page 14: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/14.jpg)
Supported services
•Campaign Monitor
•MailChimp
• Interspire (Thx Coworks!)
•Addemar (Thx Stijn De Meyere)
![Page 15: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/15.jpg)
Performance/reliability
• Requests are queued
• Subscription status synced locally
![Page 16: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/16.jpg)
Supports multiple lists
![Page 17: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/17.jpg)
Field mapping (1)
•Map list fields to Drupal values
• Per list configuration
• Support for PHP, Profile, Token
![Page 18: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/18.jpg)
Field mapping (2)
![Page 19: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/19.jpg)
Multiple UI elements
• Block per list
•Common block
• Page per list
•Common page
![Page 20: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/20.jpg)
Block per list
![Page 21: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/21.jpg)
Common block
![Page 22: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/22.jpg)
Page per list
![Page 23: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/23.jpg)
Common page
![Page 24: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/24.jpg)
Smart UI
• Field values of authenticated users are calculated and just checkbox is offered
• Lists a user is subscribed too are not offered anymore
![Page 25: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/25.jpg)
Roles support
![Page 26: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/26.jpg)
Easy to use
•Configure on mail service
• Sync config to Drupal
• Bidirectional sync of subscriptions
•Change UI header, title, ... per list
• Field mapping in UI
![Page 27: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/27.jpg)
API for your modules
function emf_db_get_requests()
function emf_db_save_request($type, $mail, $lid, $fields = array())
function emf_db_delete_request($mail, $lid)
function emf_db_get_subscriptions($mail)
function emf_db_save_subscription($mail, $lid)
function emf_db_delete_subscription($mail, $lid)
function emf_db_get_list($lid = 0)
function emf_db_get_lists($active_only = FALSE)
![Page 28: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/28.jpg)
How to integrate new services
![Page 29: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/29.jpg)
Plugin module
![Page 30: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/30.jpg)
hook_emf_info
![Page 31: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/31.jpg)
Implement methods
![Page 32: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/32.jpg)
Missing stuff
![Page 33: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/33.jpg)
Subscriber management only
•No campaign management
•No reporting
• But that’s the stuff those services are so good at (including spam and privacy)
![Page 34: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/34.jpg)
Advanced subscriber management
• Subscription on registration
•Webform support
•Contact form support
•Unsubscription support
•Manage subscriptions on profile
![Page 35: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/35.jpg)
Multiple active services
![Page 36: E-mail Marketing Framework (Drupal module)](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c466a34a7959563a8b4645/html5/thumbnails/36.jpg)
Questions?drupal.org/project/emf
twitter.com/davyvandenbremt