Social Media Share Buttons - Version 3.1.2

Version Description

Download this release

Release Info

Developer joaoromao
Plugin Icon 128x128 Social Media Share Buttons
Version 3.1.2
Comparing to
See all releases

Code changes from version 3.1.1 to 3.1.2

init.php CHANGED
@@ -31,7 +31,7 @@ if (get_option('gs-popup-showed') != "showed") {
31
  </div>
32
  </div>
33
  <div class="form-button-group">
34
- <a href="<?php echo $GS->gs_account() ?>/api/v1/sites/create?source=wordpress&amp;email=<?php echo wp_get_current_user()->data->user_email ?>&amp;url=<?php echo get_option('siteurl') ?>" class="gs-button gs-big gs-success create-gs-account"><i class="fa fa-check"></i> Activate your account</a>
35
  <span class="loading-create gs-button gs-success trans border gs-big hide">
36
  <i class="fa fa-refresh fa-spin"></i> Activating Account...
37
  </span>
@@ -88,7 +88,7 @@ if (get_option('gs-popup-showed') != "showed") {
88
  <div id="settings-modal" class="modal-wrapper hide">
89
  <div class="gs-modal">
90
  <div class="modal-title">
91
- <p class="title">Settings</p>
92
  </div>
93
  <form id="config-form" method="post" action="options.php" class="gs-form">
94
  <?php settings_fields( 'getsocial-gs-settings' ); ?>
31
  </div>
32
  </div>
33
  <div class="form-button-group">
34
+ <a href="<?php echo $GS->gs_account() ?>/api/v1/sites/create" class="gs-button gs-big gs-success create-gs-account"><i class="fa fa-check"></i> Activate your account</a>
35
  <span class="loading-create gs-button gs-success trans border gs-big hide">
36
  <i class="fa fa-refresh fa-spin"></i> Activating Account...
37
  </span>
88
  <div id="settings-modal" class="modal-wrapper hide">
89
  <div class="gs-modal">
90
  <div class="modal-title">
91
+ <p class="title">Plugin Settings</p>
92
  </div>
93
  <form id="config-form" method="post" action="options.php" class="gs-form">
94
  <?php settings_fields( 'getsocial-gs-settings' ); ?>
js/plugin.js CHANGED
@@ -143,22 +143,30 @@ jQuery(function($){
143
  jQuery('.create-gs-account').hide();
144
  jQuery('.loading-create').addClass('active');
145
 
146
- jQuery.post(jQuery(this).attr('href'), { source: 'wordpress' }, function(data){
147
- if(data.errors != undefined){
148
- jQuery('.loading-create').removeClass('active');
149
- jQuery('.account-info').hide();
150
- jQuery('.notification-bar.gs-error').show().find('p').html(data.errors[0]);
151
- jQuery('#error-type-' + data.error_type).show();
152
- jQuery('.api-key').show();
153
-
154
- if (data.error_type == 1) {
155
- $("input[name='save-changes']").hide();
 
 
 
 
 
 
 
 
 
 
 
156
  }
157
- } else {
158
- jQuery('#gs-api-key').attr('value', data.api_key);
159
- jQuery('#api-key-form').trigger('submit');
160
  }
161
- });
162
  });
163
 
164
  if(jQuery('.graphs').length > 0){
143
  jQuery('.create-gs-account').hide();
144
  jQuery('.loading-create').addClass('active');
145
 
146
+ jQuery.post(
147
+ jQuery(this).attr('href'),
148
+ {
149
+ email: jQuery("#gs-user-email").val(),
150
+ url: jQuery(".account-info .field-input").text().trim(),
151
+ source: 'wordpress'
152
+ },
153
+ function(data) {
154
+ if(data.errors != undefined){
155
+ jQuery('.loading-create').removeClass('active');
156
+ jQuery('.account-info').hide();
157
+ jQuery('.notification-bar.gs-error').show().find('p').html(data.errors[0]);
158
+ jQuery('#error-type-' + data.error_type).show();
159
+ jQuery('.api-key').show();
160
+
161
+ if (data.error_type == 1) {
162
+ $("input[name='save-changes']").hide();
163
+ }
164
+ } else {
165
+ jQuery('#gs-api-key').attr('value', data.api_key);
166
+ jQuery('#api-key-form').trigger('submit');
167
  }
 
 
 
168
  }
169
+ );
170
  });
171
 
172
  if(jQuery('.graphs').length > 0){
lib/gs.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class GS {
4
 
5
- public $plugin_version = "3.1.1";
6
  private $gs_url = "https://api.at.getsocial.io";
7
  private $gs_account = "https://getsocial.io";
8
  private $gs_url_api = "//api.at.getsocial.io";
@@ -104,11 +104,9 @@ class GS {
104
  function getLib() {
105
  $code = <<<EOF
106
  <script type="text/javascript">
107
- (function() {
108
- var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
109
- po.src = "$this->gs_url_api/widget/v1/gs_async.js?id=$this->identifier";
110
- var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
111
- })();
112
  var GETSOCIAL_VERSION = "$this->plugin_version";
113
  </script>
114
  EOF;
2
 
3
  class GS {
4
 
5
+ public $plugin_version = "3.1.2";
6
  private $gs_url = "https://api.at.getsocial.io";
7
  private $gs_account = "https://getsocial.io";
8
  private $gs_url_api = "//api.at.getsocial.io";
104
  function getLib() {
105
  $code = <<<EOF
106
  <script type="text/javascript">
107
+ "function"!=typeof loadGsLib&&(loadGsLib=function(){var e=document.createElement("script");
108
+ e.type="text/javascript",e.async=!0,e.src="$this->gs_url_api/widget/v1/gs_async.js?id=$this->identifier";
109
+ var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})();
 
 
110
  var GETSOCIAL_VERSION = "$this->plugin_version";
111
  </script>
112
  EOF;
readme.txt CHANGED
@@ -1,116 +1,68 @@
1
- === Social Sharing, Smart Popup & Share Buttons by GetSocial.io ===
2
  Contributors: GetSocial.io, joaoromao
3
 
4
- Tags: addthis, addtoany, analytics, button, facebook share, facebook button, like button, tweet button, twitter share, pinterest share, pin button, floating buttons, share, share button, share buttons, share links, shareaholic, sharethis, sharing, social, social analytics, social media, social bookmarking, social buttons, social media, social plugin, social share, social share buttons, social sharing, mobile share bar, mobile sharing, top bar, welcome bar, hello bar, follow buttons, instagram, youtube, increase followers, increase shares, increase traffic, copy paste shares, google analytics integration, yummly, flickr, rss, mailchimp, popup, list builder, infusion soft, bitly, exit intent, time on page, automatic popup, fly-in, exit popup, popup builder, share popup, wordpress popup, subscribe popup, popup on exit, reaction buttons, reactions, reaction bar
5
 
6
  Requires at least: 3.0
7
- Tested up to: 4.4
8
- Stable tag: 3.1.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- 18 easy to install tools to grow your traffic, shares & subscribers, including mobile share bar (paid) & Smart Popups.
13
 
14
  == Description ==
15
 
16
- **Social Sharing, Smart Popup & Share Buttons by GetSocial.io** is a freemium WordPress all in one toolkit to help you grow your traffic, shares & subscribers. We have 18 tools, no code needed to install, which will help you increase shares per post, social media followers, website conversions and newsletter subscribers. **This is a freemium plugin so there are some free apps and some paid apps, depending on your needs**
17
 
18
- We also **increase your visitors' engagement** with Hello Buddy, our smart popup feature. With Hello Buddy you are able to ask your customers to share, subscribe or visit a specific page. Smart popups are highly customizable (some customization is paid) and can be triggered by:
19
 
20
- - Time Spent on Site
21
- - % of page scrolled
22
- - Exit Intention
23
 
24
- It's a super flexible tool that can help you reach your goals, faster!
25
 
26
- [youtube https://www.youtube.com/watch?v=wDZvmwHk6FA]
 
 
 
 
27
 
28
- Regarding the rest of the toolkit, GetSocial provides about 18 features, among tools & integrations.
29
 
30
- <h4>List of Free Features</h4>
31
- - Horizontal & Floating Share Bar
32
- - Hello Buddy, the intelligent popup
33
- - Native Sharing Bar
34
- - Welcome Bar
35
- - Custom Facebook Shares (Wish, Want, Have, etc)
36
- - Horizontal & Floating Follow Bar
37
- - Reaction Buttons
38
-
39
- <h4>List of Paid Features</h4>
40
- - Mobile Share & Follow Bar
41
- - Image Sharing
42
- - Total Shares Horizontal & Floating
43
- - Copy Paste Share Tracking
44
- - Subscriber Bar (List Builder)
45
- - Extended Customization (Shape, Color, Twitter handle in several apps)
46
- - Social Sharing Analytics (Shares, Referrals and stats about users' engagement)
47
- - Google Analytics, MailChimp, Bitly & Infusionsoft Integrations
48
-
49
- <h4>Visits Limit</h4>
50
- - Free: 50,000 per month;
51
- - Starter: 50,000 per month;
52
- - Insights: 500,000 per month; and
53
- - Enterprise: 2,000,000 per month.
54
-
55
- Our apps include native & customizable share buttons, welcome & subscribe bars, conversion tracking, copy paste share tracking and much more. You can find more info about our product <a href="http://getsocial.io/?utm_source=plugin_listings&utm_medium=wordpress&utm_campaign=app_listing">here</a>. This app store is organized in 5 different categories:
56
 
57
- * **Social Sharing Tools**: You'll find 5 apps focused on improving, optimizing and streamlining the number of shares made on your website. A/B test the placement of your share buttons and increase your referral traffic coming from social networks. Track dark social sharing (copy paste) and enable mobile sharing to your mobile users.
58
 
59
- * **Following Tools**: There are 3 new apps focused on increasing your brands’ follower base. Provide quick and beautiful follow buttons and get more people engaging your brand in social media.
60
 
61
- * **Conversion & Engagement Tools**: Social media is fantastic if you are able to measure it. Track how your share buttons are driving your conversions. Add conversion moments easily, no code required, to signups and purchases. Drive your visitors to a particular page with our welcome bar feature or get their email with our subscribe bar feature. Optimize your email marketing efforts in a affordable way.
62
 
63
- * **Integrations**: To use with you favorite software. Currently we offer the integration with Google Analytics.
64
 
65
- In this plugin, you'll find these categories:
66
 
67
- <h4>Social Sharing Tools</h4>
68
 
69
- * **Social media shares bar**: Add our horizontal and vertical social shares bar and get free social media tracking of the shares made on your website. This social media widget will help your users to do more social shares of your content. Social sharing is a vital piece to increase your website’s traffic.
70
 
71
- * **Image Sharing**: For visually rich websites having the ability to share each image individually is paramount. The image sharing feature allows you to increase shares from images on your website. This works particularly well for rich-media social networks such as Pinterest, Tumblr & others.
72
 
73
- * **Free Social Sharing Analytics**: All our social sharing plugins contribute for your understanding on how social sharing is driving you traffic and conversions. From social share buttons to conversion tracking, your social shares monitoring will be available in simple yet comprehensive dashboards. Share buttons don’t have to be just counters. Here you’ll find a way to have insights on the shares made on your website.
74
 
75
- * **Custom Facebook Shares**: Sometimes we need to say more than a simple 'Like'. Here you'll find more than 50 custom stories such as Awesome, Wish or Love. Allow your customers to share your content in a unique way through custom facebook shares.
76
 
77
- * **Total Shares Counter**: Our total shares counter allows you to aggregate shares per post or page. Offer your visitors a fantastic way to see that a content is becoming viral and increase social sharing in that location.
78
 
79
- * **Mobile Web Sharing**: Mobile sharing doesn't have to be a terrible experience. Create beautiful interfaces for your mobile users to share their thoughts about your content. Sharing in mobile has actually a higher sharing rate than on desktop. Allow your users to share your content to facebook, twitter, linkedin, Pinterest, google+, WhatsApp and others easily on their smartphones. Smartphone sharing is smart.
80
 
81
- * **Social Bar Customization**: After upgrading to a paid plan, you’ll be able to edit your share bar’s shape, color and personalized twitter handle. Great for that extra touch.
82
-
83
- <h4>Following Tools</h4>
84
-
85
- * **Horizontal Follow Bar**: Provide a quick and engaging way for your visitors to like, follow and subscribe to your brands’ updates. Available for all major networks including Instagram & Youtube.
86
-
87
- * **Floating Follow Bar**: Make it clear that you want more followers with the always present social follow bar. Increase followers, improve reach, aim for more people loving your brand.
88
-
89
- * **Mobile Follow Bar**: Mobile social media doesn’t have to suck. Have awesome follow buttons in your mobile website and increase followers where they see your website the most.
90
-
91
- <h4>Engagement & Tracking Tools</h4>
92
-
93
- * **Welcome Bar**: Easily redirect your visitors to a specific link. Generate conversions, engage with promotions and increase traffic with this hello bar like feature. Track conversions coming from this top bar for Wordpress.
94
-
95
- * **Subscriber Bar (List Builder)**: Easily capture emails from your visitors by providing them with an engaging top bar. Export data to your favorite CRM or e-Mail marketing software. Improve engagement, conversion and even sales with this easy to install, no code required feature.
96
-
97
- * **Copy Paste Share tracking**: Tracking social media in alternative methods such as SMS, Chat or Copy & Paste URL (Dark Social) will allow you to effectively measure social media ROI. Understand how many shares are being made without using social sharing buttons. Get share information on shares made through copy & paste, facebook messenger and other chat applications, email and twitter management tools.
98
-
99
- * **Hello Buddy**: Our smart popup builder. Take advantage of the features you already know about (Sharing Bar, Subscriber Bar & Welcome Bar) and build the perfect popup for your website. Decide when it gets triggered, how frequently it gets shown and when should it stop being triggered. Great to build your email lists or push a specific promotion.
100
-
101
-
102
- <h4>eCommerce specific </h4>
103
-
104
- * **WooCommerce Integrated**: GetSocial integrates seamlessly with eCommerce. Streamline your social share activities for your eCommerce store without handling a single line of code. Improve conversion rates, traffic and shares to your online shop.
105
-
106
- Also, there's a tutorial on how to install this plugin in your Wordpress Account: <a href="hhttp://getsocial.io/tutorials/wordpress">How to add free Social Share Buttons on WordPress</a>
107
 
108
  == Installation ==
109
 
110
  For an automatic installation through WordPress:
111
 
112
  1. Go to the "Plugins" menu in your left sidebar, and click "Add New" link.
113
- 2. Search for 'Social Sharing, Smart Popup & Share Buttons by GetSocial.io'
114
  3. Click 'Install Now' and activate the plugin
115
  4. On the left bar a menu item 'GetSocial' will appear.
116
 
@@ -196,7 +148,7 @@ The Free and paid plans differ in the access to certain features. GetSocial paid
196
  - Subscriber Bar (List Builder)
197
  - Extended Customization (Shape, Color, Twitter handle in several apps)
198
  - Social Sharing Analytics (Shares, Referrals and cool stats about users' engagement)
199
- - MailChimp, Bitly & Infusionsoft Integrations
200
 
201
  **Do you have visits limits?**
202
 
@@ -284,6 +236,10 @@ Sure, we’re always here to help. You can contact us at support@getsocial.io or
284
 
285
  == Changelog ==
286
 
 
 
 
 
287
  **3.1.1**
288
 
289
  - Fix APIKey request
1
+ === Social Share Buttons & Analytics by GetSocial ===
2
  Contributors: GetSocial.io, joaoromao
3
 
4
+ Tags: addthis, addtoany, analytics, button, facebook share, facebook button, like button, tweet button, twitter share, pinterest share, pin button, floating buttons, share, share button, share buttons, share links, shareaholic, sharethis, sharing, social, social analytics, social media, social bookmarking, social buttons, social media, social plugin, social share, social share buttons, social sharing, mobile share bar, mobile sharing, top bar, welcome bar, hello bar, follow buttons, instagram, youtube, increase followers, increase shares, increase traffic, copy paste shares, google analytics integration, yummly, flickr, rss, mailchimp, popup, list builder, infusion soft, bitly, exit intent, time on page, automatic popup, fly-in, exit popup, popup builder, share popup, wordpress popup, subscribe popup, popup on exit, reaction buttons, reactions, reaction bar, virality alerts, alerts
5
 
6
  Requires at least: 3.0
7
+ Tested up to: 4.5.2
8
+ Stable tag: 3.1.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ Social Sharing buttons for desktop & mobile to boost traffic & shares. Used by +100k websites & Fortune 500 companies. No code required!
13
 
14
  == Description ==
15
 
16
+ **How to reach more people without paying for advertising? Let your visitors share your content, create mailing lists and engage with your audience with GetSocial Tools**
17
 
18
+ Undecided about which social sharing plugin you should choose? **<a href="https://wordpress.org/support/view/plugin-reviews/wp-share-buttons-analytics-by-getsocial?filter=5">Just look at what our users & customers are saying about us.</a>**
19
 
20
+ With GetSocial you get **social share buttons** to increase your reach and boost your traffic, pop-ups to engage with your visitors, subscriber bars to generate leads and in-depth analytics to understand which of your pages is really performing best. Used by +100k websites & Fortune 500 companies. **No coding skills required!**
 
 
21
 
22
+ <a href="https://getsocial.io/social-media-tools/?utm_source=plugin_listings&utm_medium=wordpress&utm_campaign=app_listing">GetSocial.io</a> provides you with a free plugin that will help you have the upper hand in the super competitive world of social media. We have 20+ tools that require no code to install.
23
 
24
+ <h4>Why our users recommend us:</h4>
25
+ - Fantastic design
26
+ - Easy to install and use (no code needed)
27
+ - Doesn’t impact page loading speed
28
+ - World-class support for everyone 7 days a week
29
 
30
+ Here’s a list of our tools, divided by themes:
31
 
32
+ <h4>Sharing and Follow Tools</h4><br>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
+ * **Horizontal Follow + Floating Share Bar (free):** Give your website the best looking share and follow buttons on all your favorite social networks. The best way to increase your traffic and your social followers.
35
 
36
+ * **Native Sharing Bar + Reaction Buttons (free):** Do you love the classics? Or are you all about the brand-new? Either way, you can add the original share, like, tweet and pin it buttons or let your users express themselves with the Facebook reaction buttons!
37
 
38
+ * **Mobile Share and Follow Bar (paid):** Made exclusively for users using smartphones, the mobile bars are our best performing tool, providing 2 to 3 times more shares than the desktop versions!
39
 
40
+ * **Floating and Horizontal Total Shares (paid):** If you want to leverage on your content’s success, there’s no better way than showing off how many shares your pages have.
41
 
42
+ <h4>Smart Pop-ups</h4><br>
43
 
44
+ * **Hello Buddy, the Smart Pop-up (free):** Lets you ask your customers to share, subscribe or visit a specific page. It’s highly customizable (advanced options are paid) and can be triggered by “Time Spent on Site”, “% of page scrolled” and “Exit Intention” (when the user is going to click the X button in the browser window).
45
 
46
+ * **Welcome Bar (free):** Have a special promotion or a breaking news article that want visitors to know about? The Welcome Bar is the perfect way to redirect traffic to your most important and best-converting pages.
47
 
48
+ * **Subscriber Bar (paid):** It doesn't matter if you're a blog, a newspaper or an online shop, mailing lists can be a major revenue generator for your business. Convert your visitors into subscribers with GetSocial Subscriber Bar and use our Mailchimp and Infusionsoft Integrations to export email addresses automatically!
49
 
50
+ <h4>Tracking and Integrations</h4><br>
51
 
52
+ * **Copy & Paste Share Tracking (paid):** <a href="https://econsultancy.com/blog/67529-the-rise-of-dark-social-everything-you-need-to-know/">More than 60% of shares can’t be tracked by regular analytics platforms.</a> With this feature, youll know when your visitors share through SMS, Messaging Apps (WhatsApp, Messenger, etc) or via Copy & Pasting Links (Dark Social), allowing you to learn the real Return on Investment for your content and which channels are contributing the most for your traffic.
53
 
54
+ * **Google Analytics Integration (paid):** Merge the data obtain by GetSocial with the powerful Google Analytics so you can track your conversions from when someone clicks a friend’s share to the moment a purchase or objective is met.
55
 
56
+ * **GetSocial Dashboard & Analytics (paid):** Our analytics lets you understand, in real-time, how much social traffic each network is driving to your website and identify the best content to feature and promote on social media. Use our **proprietary Virality & Engagement Score** metrics to know the organic reach of your content and decide what and where to promote and distribute content.
57
 
58
+ Here you can find a step by step tutorial on how to manually install this plugin in your WordPress Account: <a href="https://getsocial.io/tutorials/wordpress">How to add free Social Share Buttons on WordPress</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  == Installation ==
61
 
62
  For an automatic installation through WordPress:
63
 
64
  1. Go to the "Plugins" menu in your left sidebar, and click "Add New" link.
65
+ 2. Search for 'Free Share Buttons & Social Tools by GetSocial'
66
  3. Click 'Install Now' and activate the plugin
67
  4. On the left bar a menu item 'GetSocial' will appear.
68
 
148
  - Subscriber Bar (List Builder)
149
  - Extended Customization (Shape, Color, Twitter handle in several apps)
150
  - Social Sharing Analytics (Shares, Referrals and cool stats about users' engagement)
151
+ - MailChimp, Bitly, Google Analytics & Infusionsoft Integrations
152
 
153
  **Do you have visits limits?**
154
 
236
 
237
  == Changelog ==
238
 
239
+ **3.1.2**
240
+
241
+ - Fix bug in account reactivation
242
+
243
  **3.1.1**
244
 
245
  - Fix APIKey request
tmpl/header.php CHANGED
@@ -45,7 +45,7 @@ wp_enqueue_script('gs-plugin');
45
  </li>
46
  <li class="submenu-link">
47
  <a id="settings" href="javascript:void(0)">
48
- <i class="fa fa-cogs"></i> Settings
49
  </a>
50
  </li>
51
  <li class="submenu-link">
45
  </li>
46
  <li class="submenu-link">
47
  <a id="settings" href="javascript:void(0)">
48
+ <i class="fa fa-cogs"></i> Plugin Settings
49
  </a>
50
  </li>
51
  <li class="submenu-link">
wp-share-buttons-analytics-getsocial.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Share Buttons & tools to grow traffic by GetSocial.io
4
  * Plugin URI: http://getsocial.io
5
  * Description: Share Buttons by GetSocial.io is a freemium WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
6
- * Version: 3.1.1
7
  * Author: Getsocial, S.A.
8
  * Author URI: http://getsocial.io
9
  * License: GPL2
3
  * Plugin Name: Share Buttons & tools to grow traffic by GetSocial.io
4
  * Plugin URI: http://getsocial.io
5
  * Description: Share Buttons by GetSocial.io is a freemium WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
6
+ * Version: 3.1.2
7
  * Author: Getsocial, S.A.
8
  * Author URI: http://getsocial.io
9
  * License: GPL2