Free Tools to Automate Your Site Growth - Version 1.30

Version Description

Download this release

Release Info

Developer marnietave
Plugin Icon 128x128 Free Tools to Automate Your Site Growth
Version 1.30
Comparing to
See all releases

Code changes from version 1.29 to 1.30

Files changed (3) hide show
  1. Readme.txt +50 -118
  2. classes/class_sumome.php +70 -0
  3. sumome.php +1 -1
Readme.txt CHANGED
@@ -1,92 +1,78 @@
1
- === Free Tools to Automate Your Site Growth ===
2
  Contributors: SumoMe
3
- Tags: analytics, campaign monitor, click to tweet, contact form, content analytics, convertkit, drip, email form, ExactTarget, exit-intent, Facebook, facebook share, FeedBlitz, floating social buttons, growth, heat map, heatmaps, Hubspot, image sharing, inbound marketing, Inbox First, infusionsoft, landing page, lightbox, links, mailchimp, mailerlite, mailing list, mailjet, MyEmma, MyNewsletterBuilder, newsletter, Ontraport, pardot, popup, sailthru, scroll box, share, share buttons, share image, sharebar, sharing, site traffic, sms, social, social bookmarking, social media buttons, social plugin, social sharing, subscribers, subscription, traffic growth, tweet button, twitter, twitter share, vero, vertical response, welcome mat, WhatCounts, widget, zapier
4
  Requires at least: 3.0.1
5
- Tested up to: 4.9.3
6
- Stable tag: 1.29
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Free and easy way to double your email subscribers, plus sharing tools to double your traffic from Facebook, Twitter, Pinterest & more.
11
 
12
  == Description ==
13
 
14
- Most blogs are designed for hit-and-run readers. People find your blog, read your article, and leave. Wouldn't it be nice if some of those people subscribed or shared your amazing post?
15
-
16
- >Sumo provides free tools you need to grow your WordPress site. This plugin will make it easy for your readers to join your email list, share your articles, and optimize with analytics. The free tools include:
17
- >
18
- >`List Builder` will let you create a fancy lightbox pop up to [build email subscriptions](http://sumo.com/?src=wordpress) (for MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, and others).
19
- >
20
- >`Share` makes it insanely easy for people to share your content on mobile or web.
21
- >
22
- >`Welcome Mat` displays a full-screen call-to-action that shows when visitors land on your site.
23
- >
24
- >`Heat Maps` help you see where people are clicking (or not clicking) on your website.
25
- >
26
- >`Scroll Box` is an email collection box triggered by how far your reader makes it down the screen.
27
- >
28
- >`Smart Bar` is a Floating Bar that can appear at the top or bottom of your website. You can encourage people to subscribe to your newsletter, go to a specific page or follow you on your social networks.
29
- >
30
- >`Highlighter` makes it easy to click to tweet about your article by selecting popular parts of your writing (like Kindle and Medium).
31
- >
32
- >`Image Sharer` makes it simple to share your images (with a link to your post) on Pinterest, Facebook and Twitter.
33
- >
34
- >And even more great free tools in our Sumo Store.
35
-
36
- Now, people will find your blog, read your article, share your article on Twitter/Facebook/Pinterest, and subscribe via email to your email newsletter.
37
 
 
38
 
39
- = Latest Updates =
 
 
 
 
40
 
41
- * 6/20 - Smart bar can now appear at the bottom of your pages, TONS more templates for Scroll Box / Smart Bar and List Builder,
42
- * 5/21 Added tons new List Builder design templates
43
- * Added URL shortener for all sharing tools
44
- * Made Scroll Box and Smart Bar (hello bar alternative) to Pro versions (AB testing, multiple popups, advanced display rules)
45
- * Updating Heat Maps (crazyegg alternative) and Content Analytics (scroll tracking) to more automatic tracking abilities
46
- * Added SMS and WhatsApp social sharing buttons
47
 
 
48
 
49
- [`See more` at Sumo.com](http://sumo.com/?src=wordpress_bottom)
50
 
51
- [youtube http://www.youtube.com/watch?v=L_kbSb97QS0]
52
 
53
- == Installation ==
54
 
55
- 1. Upload folder wp-sumome.zip to the `/wp-content/plugins/` directory
56
- 1. Activate the plugin through the `Plugins` menu in WordPress
57
- 1. Click on the blue thingy in the top right.
58
- 1. Register and click on the Sumo Store to install the apps you want.
59
- 1. Eat a taco and enjoy the increased traffic to your site.
60
 
61
- == Frequently Asked Questions ==
62
 
63
- = Does this plugin slow down my site? =
64
 
65
- Not at all. This plugin loads asynchronously so it won't down your site at all.
66
 
67
- = Where do I login to Sumo? =
 
 
 
 
 
 
68
 
69
- Once you install the plugin and activate it. Go to any page on your site and you'll see a little blue thing in the top right, click on it and then the crown icon to login.
70
 
71
- = How can I install an app? =
72
 
73
- Once you've logged into Sumo, click on Sumo Store and click Install for whichever app you'd like to install. Once you have installed the List Builder app, you can integrate with MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, or Maropost.
 
 
74
 
75
- = How does Highlighter work? =
76
 
77
- Once you or a visitor to your site clicks and selects a piece of text on your site, they can choose to share that text on Facebook or Twitter. Subsequent visitors will then see that text highlighted and it'll be easier for them to share your site.
78
 
79
- = Can I delete a highlight? =
 
 
 
 
80
 
81
- Yup. Click on the highlight while logged in. Then click on delete highlight.
82
 
83
- = How many more emails will list builder help me get? =
84
 
85
- Most people see a double in growing their email list from the list builder application.
86
 
87
- = What does the Smart mode mean on List Builder? =
88
 
89
- We calculate the ideal time to show a person
90
 
91
  = Can I customize the look and feel of the popup? =
92
 
@@ -96,66 +82,6 @@ You can use our default options or fully control the CSS in the advanced section
96
 
97
  Yes, we provide instant integration with MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, and Maropost. When a user joins, their email is automatically subscribed to your MailChimp, Aweber, or other newsletter list. Alternately, you can simply download a CSV list of your newsletter subscribers.
98
 
99
- == Other Notes ==
100
-
101
- Our MailChimp email newsletter list builder and Twitter share button apps help Wordpress users build their audiences online.
102
-
103
- Email newsletter integration options
104
-
105
- * MailChimp newsletter integration
106
- * Aweber newsletter integration
107
- * Constant Contact newsletter integration
108
- * Campaign Monitor newsletter integration
109
- * GetResponse newsletter integration
110
- * ActiveCampaign newsletter integration
111
- * MyEmma newsletter integration
112
- * Mad Mimi newsletter integration
113
- * Infusionsoft newsletter integration
114
- * Feedblitz newsletter integration
115
- * HubSpot newsletter integration
116
- * MyNewsletterBuilder newsletter integration
117
- * Inbox First newsletter integration
118
- * Sailthru newsletter integration
119
- * Klaviyo newsletter integration
120
- * Vero newsletter integration
121
- * Pardot newsletter integration
122
- * Zapier newsletter integration
123
- * Ontraport newsletter integration
124
- * ExactTarget newsletter integration
125
- * Vertical Response newsletter integration
126
- * Drip newsletter integration
127
- * MailerLite newsletter integration
128
- * WhatCounts newsletter integration
129
- * ConvertKit newsletter integration
130
- * MailJet newsletter integration
131
- * Maropost newsletter integration
132
-
133
- Why people use MailChimp
134
-
135
- * MailChimp has free plans
136
- * MailChimp automatically integrates with our plugin
137
- * MailChimp easily sends newsletters
138
- * MailChimp handles lists of all sizes
139
- * MailChimp can send drip campaigns (scheduled emails)
140
-
141
- Why people use Aweber
142
-
143
- * Aweber has a $1 first month
144
- * Aweber automatically integrates with our plugin
145
- * Aweber easily sends your newsletters
146
- * Aweber scales to handle large or small lists
147
- * Aweber can also send drip campaigns
148
-
149
- Why you should encourage Twitter sharing
150
-
151
- * Twitter helps you reach new readers
152
- * Twitter shares help build your newsletter
153
- * Twitter helps engage your current readers
154
- * Twitter followers read your articles more often
155
- * Twitter shares build your social reach
156
- * Twitter sharing establishes your thought leadership
157
- * Twitter shares encourage discussion of your posts
158
-
159
 
160
  == Screenshots ==
161
 
@@ -265,6 +191,9 @@ Why you should encourage Twitter sharing
265
  = 1.29 =
266
  * Moved Sumo script tag to the footer.
267
 
 
 
 
268
  == Upgrade Notice ==
269
 
270
  = 1.04 =
@@ -352,3 +281,6 @@ Why you should encourage Twitter sharing
352
 
353
  = 1.29 =
354
  * Moved Sumo script tag to the footer.
 
 
 
1
+ === Proven Strategies To Automate Your Ecommerce Growth ===
2
  Contributors: SumoMe
3
+ Tags: ecommerce, marketing, WooCommerce, email marketing, marketing strategies, analytics, campaign monitor, click to tweet, contact form, content analytics, convertkit, drip, email form, ExactTarget, exit-intent, Facebook, facebook share, FeedBlitz, floating social buttons, growth, heat map, heatmaps, Hubspot, image sharing, inbound marketing, Inbox First, infusionsoft, landing page, lightbox, links, mailchimp, mailerlite, mailing list, mailjet, MyEmma, MyNewsletterBuilder, newsletter, Ontraport, pardot, popup, sailthru, scroll box, share, share buttons, share image, sharebar, sharing, site traffic, sms, social, social bookmarking, social media buttons, social plugin, social sharing, subscribers, subscription, traffic growth, tweet button, twitter, twitter share, vero, vertical response, welcome mat, WhatCounts, widget, zapier
4
  Requires at least: 3.0.1
5
+ Tested up to: 4.9.7
6
+ Stable tag: 1.30
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Sumo is trusted by over 600,000 businesses small and large in growing their email lists, customer base, and revenue online.
11
 
12
  == Description ==
13
 
14
+ Sumo is trusted by over 600,000 businesses — small and large in growing their email lists, customer base, and revenue online. With the self-guided and proven "Shortcuts", Sumo is the easiest tool to setup and use to build your mailing list, reduce cart abandonment, and increase your store's average order value.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
+ Here's what Sumo can do for you:
17
 
18
+ * Reduce cart abandonment with exit intent popups on your cart and checkout pages
19
+ * Grow your email list with timed popups across your site
20
+ * Increase your average order value with smart bars that incentivise your visitors to buy more
21
+ * Create discount codes you can use to get more customers to buy
22
+ * See the ROI from every email subscriber and sale you make
23
 
24
+ ### Core Features Overview ######
 
 
 
 
 
25
 
26
+ = PROVEN SUMO SHORTCUTS =
27
 
28
+ Our self-guided Shortcuts give you the freedom to set-and-forget proven sales and marketing strategies on your Shopify store. With Shortcuts, you can create, design, and integrate the best eCommerce strategies in 3 minutes or less.
29
 
30
+ = INTEGRATED WITH ALL MAJOR EMAIL SERVICES =
31
 
32
+ Connecting Sumo with your favorite email service provider takes seconds. Sumo syncs new email subscribers to your email service in real-time so you can grow your mailing list effectively.
33
 
34
+ = ALL-IN-ONE MARKETING TOOLKIT =
 
 
 
 
35
 
36
+ Besides Sumo Shortcuts, you can also use advanced form display rules, and activate Sumo's wide range of other tools such as Heat Maps, Push Notifications, and Live Chat to take your business to the next level.
37
 
38
+ = ROI-FOCUSED DASHBOARD =
39
 
40
+ Our dashboard doesn't just show you popup performance; it also shows you how much you are making from every email subscriber and sale Sumo generates you. Based on that data, Sumo will give you the best next action-step, so you know exactly what to do to grow your business.
41
 
42
+ = FREE FIRST-CLASS CUSTOMER SUPPORT =
43
+
44
+ At Sumo, your success is our success. Our Customer Success team is always ready to help you get the most out of Sumo, and accomplish meaningful growth for your business.
45
+
46
+ = COMPLIANT WITH GOOGLE'S SEO UPDATES AND GDPR =
47
+
48
+ Our team always make sure Sumo is 100% compliant with Google's latest SEO updates, GDPR, and other security and privacy issues. So you can focus on growing your business and doing what you love.
49
 
 
50
 
51
+ = Latest Updates =
52
 
53
+ * Added Grow Email List shortcut
54
+ * Added Reduce Cart Abandonment shortcut
55
+ * Updated Sumo dashboard
56
 
57
+ [`See more` at Sumo.com](http://sumo.com/?src=wordpress_bottom)
58
 
59
+ == Installation ==
60
 
61
+ 1. Upload folder wp-sumome.zip to the `/wp-content/plugins/` directory
62
+ 1. Activate the plugin through the `Plugins` menu in WordPress
63
+ 1. Click on the blue thingy in the top right.
64
+ 1. Register and follow the onboarding instructions to install Sumo on your site.
65
+ 1. Eat a taco and enjoy the increased traffic to your site.
66
 
67
+ == Frequently Asked Questions ==
68
 
69
+ = Does this plugin slow down my site? =
70
 
71
+ Not at all. This plugin loads asynchronously so it won't down your site at all.
72
 
73
+ = Where do I login to Sumo? =
74
 
75
+ Once you install the plugin and activate it. Go to any page on your site and you'll see a little blue thing in the top right, click on it and then the crown icon to login.
76
 
77
  = Can I customize the look and feel of the popup? =
78
 
82
 
83
  Yes, we provide instant integration with MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, and Maropost. When a user joins, their email is automatically subscribed to your MailChimp, Aweber, or other newsletter list. Alternately, you can simply download a CSV list of your newsletter subscribers.
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
  == Screenshots ==
87
 
191
  = 1.29 =
192
  * Moved Sumo script tag to the footer.
193
 
194
+ = 1.30 =
195
+ * Added WooCommerce functionality. Updated Readme. Tested up to the newest Wordpress version.
196
+
197
  == Upgrade Notice ==
198
 
199
  = 1.04 =
281
 
282
  = 1.29 =
283
  * Moved Sumo script tag to the footer.
284
+
285
+ = 1.30 =
286
+ * Added WooCommerce functionality. Updated Readme. Tested up to the newest Wordpress version.
classes/class_sumome.php CHANGED
@@ -11,6 +11,20 @@ class WP_Plugin_SumoMe {
11
  add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
12
  add_action('wp_dashboard_setup', array($this, 'dashboard_setup'));
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  $this->dataSumoPlatform="wordpress";
15
  if (get_option('endurance_user')==1) $this->dataSumoPlatform="wordpress-endurance";
16
  }
@@ -307,4 +321,60 @@ class WP_Plugin_SumoMe {
307
  <?php
308
  }
309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  }
11
  add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
12
  add_action('wp_dashboard_setup', array($this, 'dashboard_setup'));
13
 
14
+ //add to front end footer
15
+ add_action('wp_footer', array($this, 'woocommerce_cart_scripts'));
16
+ //add to backend footer
17
+ add_action('admin_footer', array($this, 'woocommerce_cart_scripts'));
18
+
19
+ // WooCommerce helpers
20
+ add_action('wp_ajax_nopriv_sumo_get_woocommerce_cart_subtotal', array($this, 'ajax_sumo_get_woocommerce_cart_subtotal'));
21
+ add_action('wp_ajax_nopriv_sumo_add_woocommerce_coupon', array($this, 'ajax_sumo_add_woocommerce_coupon'));
22
+ add_action('wp_ajax_nopriv_sumo_remove_woocommerce_coupon', array($this, 'ajax_sumo_remove_woocommerce_coupon'));
23
+
24
+ add_action('wp_ajax_sumo_get_woocommerce_cart_subtotal', array($this, 'ajax_sumo_get_woocommerce_cart_subtotal'));
25
+ add_action('wp_ajax_sumo_add_woocommerce_coupon', array($this, 'ajax_sumo_add_woocommerce_coupon'));
26
+ add_action('wp_ajax_sumo_remove_woocommerce_coupon', array($this, 'ajax_sumo_remove_woocommerce_coupon'));
27
+
28
  $this->dataSumoPlatform="wordpress";
29
  if (get_option('endurance_user')==1) $this->dataSumoPlatform="wordpress-endurance";
30
  }
321
  <?php
322
  }
323
 
324
+ public function ajax_sumo_add_woocommerce_coupon() {
325
+ $code = $_POST['code'];
326
+ WC()->cart->apply_coupon($code);
327
+ wp_die();
328
+ }
329
+
330
+ public function ajax_sumo_remove_woocommerce_coupon() {
331
+ $code = $_POST['code'];
332
+ WC()->cart->remove_coupon($code);
333
+ wp_die();
334
+ }
335
+
336
+ public function ajax_sumo_get_woocommerce_cart_subtotal() {
337
+ echo WC()->cart->subtotal;
338
+ wp_die();
339
+ }
340
+
341
+ public function woocommerce_cart_scripts() {
342
+ ?>
343
+ <script type="application/javascript">
344
+ var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
345
+
346
+ function sumo_add_woocommerce_coupon(code) {
347
+ jQuery.post(ajaxurl, {
348
+ action: 'sumo_add_woocommerce_coupon',
349
+ code: code,
350
+ });
351
+ }
352
+
353
+ function sumo_remove_woocommerce_coupon(code) {
354
+ jQuery.post(ajaxurl, {
355
+ action: 'sumo_remove_woocommerce_coupon',
356
+ code: code,
357
+ });
358
+ }
359
+
360
+ function sumo_get_woocommerce_cart_subtotal(callback) {
361
+ jQuery.ajax({
362
+ method: 'POST',
363
+ url: ajaxurl,
364
+ dataType: 'html',
365
+ data: {
366
+ action: 'sumo_get_woocommerce_cart_subtotal',
367
+ },
368
+ success: function(subtotal) {
369
+ return callback(null, subtotal);
370
+ },
371
+ error: function(err) {
372
+ return callback(err, 0);
373
+ }
374
+ });
375
+ }
376
+ </script>
377
+ <?php
378
+ }
379
+
380
  }
sumome.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SumoMe
4
  Plugin URI: https://sumo.com
5
  Description: Free Tools to automate your site growth from Sumo.com
6
- Version: 1.29
7
  Author: SumoMe
8
  Author URI: https://www.Sumo.com
9
  */
3
  Plugin Name: SumoMe
4
  Plugin URI: https://sumo.com
5
  Description: Free Tools to automate your site growth from Sumo.com
6
+ Version: 1.30
7
  Author: SumoMe
8
  Author URI: https://www.Sumo.com
9
  */