Web development automatisation for fun and profit (Artem Daniliants)
Marketing automatisation (Artem Daniliants)
Transcript of Marketing automatisation (Artem Daniliants)
MarketingAutomatisation
Artem Daniliants / LumoSpark
WTFis
marketing automatisation?
Marketing automation refers to software platforms and technologies designed for marketing
departments and organisations to more effectively market on multiple channels online (such as email,
social media, websites, etc.) and automate repetitive tasks.
Source: Wikipedia
Let's try an example
Scheduling social media
updatesEvery social media has a certain
"peak" times when updates receive the most amount of
attention.Source HubSpot
Let's automate it with Buffer
Video: YouTube Link
Let's kick it up a notch
Automating using IFTTT
Video: YouTube Link
Taking it further with Zappier
Video: YouTube Link
Email automation with MailChimp
Video: YouTube Link
Shopping Cart Abandonment
AdWords automation
Video: YouTube Link
Working with web hooks in Mailgun
Video: YouTube Link
<?php
if ($_SERVER['REQUEST_METHOD'] != 'POST') die ('No access');
require 'vendor/autoload.php';
use Mailgun\Mailgun;use Stichoza\GoogleTranslate\TranslateClient;use \DetectLanguage\DetectLanguage;
$mgClient = new Mailgun('MY-GREAT-API-KEY');$domain = "lumospark.com";DetectLanguage::setApiKey("YOUR-API-KEY");
$message_lang = DetectLanguage::simpleDetect($_POST['body-plain']);
if ($message_lang != 'ru'){ $tr = new TranslateClient($message_lang, 'ru'); $translated_msg = $tr->translate($_POST['body-plain']);}
if (isset($translated_msg)) $message=$translated_msg;else $message=$_POST['body-plain'];
$result = $mgClient->sendMessage($domain, array( 'from' => 'LumoSpark email processor <[email protected]>', 'to' => 'Artem D. <[email protected]>', 'subject' => $_POST['subject'], 'text' => $message));
Doing it like big boys with Segment
Behaviour analysis for the masses
Setup warehouse (PostgreSQL/Amazon RedShift)
Connect data points
Identify users on siteanalytics.identify('727282937', { name: 'Artem D.', email: '[email protected]'});
Track user key interactionsExample: 1 (JavaScript)
analytics.track('Landing page conversion', { contact_type: 'PPC AdWords free report', source: 'PPC landing page 1'});
Example 2 (PHP)
Segment::track(array( "userId" => "019mr8mf4r", "event" => "Purchased Item", "properties" => array( "revenue" => 39.95, "shipping" => "free" )));
Push data to other sources
Analyse data like a pro
select email, plan, sent_atfrom initech.identifieswhere email = '[email protected]'
Returns following
Thank you!Contact me
Email: [email protected]: twitter.com/artemd
LinkedIn: fi.linkedin.com/in/artemdaniliants
Image credits→ https://blog.pusher.com/introducing-pusher-
webhooks/