Slimstat Analytics - Version 4.5.1

Version Description

  • [New] Slimstat is now looking for custom HTTP headers like CF-Connecting-IP to determine your visitors' originating IP address when your website is behind reverse proxies like CloudFlare.
  • [New] By default, when the domain of the referrer for a given page view is the same as the current site, that information is not tracked to save space in the database. However, if you are running a multisite network with subfolders, you might need to track same-domain referrers from one site to another, as they are technically "separate" websites. A new option under Settings > Tracker was added to handle this situation (thank you, chenryahts).
  • [Fix] A type in checking the PHP version was preventing some users from installing our new Browscap library.
  • [Fix] PHP warning of undefined offset in one of the reports when the database was empty.
  • [Fix] In some specific cases a function used to unzip the Browscap Library on the user's server was not defined (thank you, victor50g, gdevic and others)
  • [Fix] A few users pointed out that using file_get_contents might not be ideal, if allow_url_fopen is turned off in PHP. Per Per Dennis' suggestion that call was replaced with wp_remote_get. Thank you for your help!
Download this release

Release Info

Developer coolmann
Plugin Icon 128x128 Slimstat Analytics
Version 4.5.1
Comparing to
See all releases

Code changes from version 4.5 to 4.5.1

admin/config/index.php CHANGED
@@ -107,7 +107,8 @@ $settings = array(
107
  'enable_outbound_tracking' => array( 'description' => __( 'Track Outbound Clicks', 'wp-slimstat' ), 'type' => 'toggle', 'long_description' => __('Track when your visitors click on link to external websites. This option required Spy Mode to be enabled.','wp-slimstat') ),
108
  'track_internal_links' => array( 'description' => __( 'Track Internal Clicks', 'wp-slimstat' ), 'type' => 'toggle', 'long_description' => __( "Collect mouse coordinates and other information for clicks on internal links. Recommended if you're using our heatmap add-on. By default, this information is only collected for external links.", 'wp-slimstat' ) ),
109
  'ignore_outbound_classes_rel_href' => array( 'description' => __( 'No Callback', 'wp-slimstat' ), 'type' => 'textarea', 'long_description' => __( "Track the event but do not invoke the callback function on links marked with one of these class names, <em>rel</em> attribute or whose <em>href</em> attribute contains one of these strings. Useful to prevent conflicts with lightbox and similar libraries.", 'wp-slimstat' ) ),
110
- 'do_not_track_outbound_classes_rel_href' => array( 'description' => __( 'Do Not Track', 'wp-slimstat' ), 'type' => 'textarea', 'long_description' => __( "The tracker will ignore links marked with one of these class names, <em>rel</em> attributes or whose <em>href</em> attribute contains one of these strings.", 'wp-slimstat' ) ),
 
111
 
112
  'advanced_tracker_header' => array( 'description' => __( 'Advanced Options', 'wp-slimstat' ), 'type' => 'section_header' ),
113
  'track_users' => array( 'description' => __( 'Track Registered Users', 'wp-slimstat' ), 'type' => 'toggle', 'long_description' => __( 'Enable this option to track logged in users.', 'wp-slimstat' ) ),
107
  'enable_outbound_tracking' => array( 'description' => __( 'Track Outbound Clicks', 'wp-slimstat' ), 'type' => 'toggle', 'long_description' => __('Track when your visitors click on link to external websites. This option required Spy Mode to be enabled.','wp-slimstat') ),
108
  'track_internal_links' => array( 'description' => __( 'Track Internal Clicks', 'wp-slimstat' ), 'type' => 'toggle', 'long_description' => __( "Collect mouse coordinates and other information for clicks on internal links. Recommended if you're using our heatmap add-on. By default, this information is only collected for external links.", 'wp-slimstat' ) ),
109
  'ignore_outbound_classes_rel_href' => array( 'description' => __( 'No Callback', 'wp-slimstat' ), 'type' => 'textarea', 'long_description' => __( "Track the event but do not invoke the callback function on links marked with one of these class names, <em>rel</em> attribute or whose <em>href</em> attribute contains one of these strings. Useful to prevent conflicts with lightbox and similar libraries.", 'wp-slimstat' ) ),
110
+ 'do_not_track_outbound_classes_rel_href' => array( 'description' => __( 'Do Not Track', 'wp-slimstat' ), 'type' => 'textarea', 'long_description' => __( "Slimstat will ignore links marked with one of these class names, <em>rel</em> attributes or whose <em>href</em> attribute contains one of these strings.", 'wp-slimstat' ) ),
111
+ 'track_same_domain_referers' => array( 'description' => __( 'Same-Domain Referrers', 'wp-slimstat' ), 'type' => 'toggle', 'long_description' => __( 'By default, when the domain of the referrer for a given page view is the same as the current site, that information is not tracked to save space in the database. However, if you are running a multisite network with subfolders, you might need to track same-domain referrers from one site to another, as they are technically "separate" websites.', 'wp-slimstat' ) ),
112
 
113
  'advanced_tracker_header' => array( 'description' => __( 'Advanced Options', 'wp-slimstat' ), 'type' => 'section_header' ),
114
  'track_users' => array( 'description' => __( 'Track Registered Users', 'wp-slimstat' ), 'type' => 'toggle', 'long_description' => __( 'Enable this option to track logged in users.', 'wp-slimstat' ) ),
admin/view/wp-slimstat-reports.php CHANGED
@@ -1423,6 +1423,9 @@ class wp_slimstat_reports {
1423
  $new_visitors = wp_slimstat_db::count_records_having( 'ip', 'visit_id > 0 AND browser_type <> 1', 'COUNT(visit_id) = 1' );
1424
  $new_visitors_rate = ( $total_human_hits > 0) ? ( 100 * $new_visitors / $total_human_hits ) : 0;
1425
  $metrics_per_visit = wp_slimstat_db::get_max_and_average_pages_per_visit();
 
 
 
1426
  if ( intval( $new_visitors_rate ) > 99 ) {
1427
  $new_visitors_rate = '100';
1428
  }
1423
  $new_visitors = wp_slimstat_db::count_records_having( 'ip', 'visit_id > 0 AND browser_type <> 1', 'COUNT(visit_id) = 1' );
1424
  $new_visitors_rate = ( $total_human_hits > 0) ? ( 100 * $new_visitors / $total_human_hits ) : 0;
1425
  $metrics_per_visit = wp_slimstat_db::get_max_and_average_pages_per_visit();
1426
+ if ( empty( $metrics_per_visit[ 0 ] ) ) {
1427
+ $metrics_per_visit[ 0 ] = array( 'avghits' => 0, 'maxhits' => 0);
1428
+ }
1429
  if ( intval( $new_visitors_rate ) > 99 ) {
1430
  $new_visitors_rate = '100';
1431
  }
admin/wp-slimstat-admin.php CHANGED
@@ -11,7 +11,7 @@ class wp_slimstat_admin {
11
  * Init -- Sets things up.
12
  */
13
  public static function init() {
14
- self::$admin_notice = "Can you believe it? It looks like it was yesterday that we were celebrating the new year with our loved ones, and here we are, getting ready to welcome 2017. For our team, 2016 was a great year: we celebrated Slimstat's 10th anniversary, released new add-ons, started community outreach initiatives on Facebook and on our website, implemented new features and much more. Now, with a smaller team, we need to find creative ways to keep providing our stellar support service, which many of you appreciate so much in your reviews. For this reason, we are going to <strong>increase the cost</strong> of our add-ons in the next few weeks. No worries, it will still be a very competitive and reasonable price point, affordable even for those of you who cannot spend hundreds of dollars on their websites. In the meanwhile, you can use coupon <code>HAPPY2017</code> to get 17% off any purchase to sweeten the deal. This offer expires on January 15, so go <a href='https://www.wp-slimstat.com/addons/' target='_blank'>buy your add-ons today</a>!";
15
  self::$admin_notice .= '<br/><br/><a id="slimstat-hide-admin-notice" href="#" class="button-secondary">Got it, thanks</a>';
16
 
17
  // Load language files
11
  * Init -- Sets things up.
12
  */
13
  public static function init() {
14
+ self::$admin_notice = "Just a quick reminder to take advantage of our current promotion before it ends on January 15: use coupon <code>HAPPY2017</code> to get 17% off any <a href='https://www.wp-slimstat.com/addons/' target='_blank'>add-on purchase on our online store</a>! Prices will go up at the end of this month, so don't wait until the last minute.";
15
  self::$admin_notice .= '<br/><br/><a id="slimstat-hide-admin-notice" href="#" class="button-secondary">Got it, thanks</a>';
16
 
17
  // Load language files
browscap/browser.php CHANGED
@@ -20,7 +20,9 @@ class slim_browser {
20
  $error = self::update_browscap_database( false );
21
  require_once( self::$browscap_autoload_path );
22
 
23
- self::$browser = slimBrowscapConnector::get_browser_from_browscap( self::$browser );
 
 
24
  }
25
  }
26
 
@@ -46,7 +48,7 @@ class slim_browser {
46
  */
47
  public static function update_browscap_database( $_force_download = false ) {
48
  if ( version_compare( PHP_VERSION, '5.5', '<' ) ) {
49
- return array( 4, __( 'This library requires at least PHP 5.5. Please ask your service provider to upgrade your server accordingly.', 'wp-slimstat' ) );
50
  }
51
 
52
  // Create the folder, if it doesn't exist
@@ -58,9 +60,9 @@ class slim_browser {
58
  $local_version = 0;
59
  $browscap_zip = wp_slimstat::$upload_dir . '/browscap-db.zip';
60
 
61
- // Check for updates once a week ( 604800 seconds )
62
- if ( false === $download_remote_file && false !== ( $file_stat = @stat( self::$browscap_autoload_path ) ) && ( date( 'U' ) - $file_stat[ 'mtime' ] > 604800 ) && false !== ( $handle = @fopen( self::$browscap_autoload_path, "rb" ) ) ) {
63
-
64
  // Find the version of the local data file
65
  while ( ( $buffer = fgets( $handle, 4096 ) ) !== false ) {
66
  if ( strpos( $buffer, 'source_version' ) !== false ) {
@@ -70,7 +72,7 @@ class slim_browser {
70
  }
71
 
72
  // Now check the version number on the server
73
- $remote_version = file_get_contents( 'http://s3.amazonaws.com/browscap/autoload.txt' );
74
  if ( intval( $local_version ) != intval( $remote_version ) ) {
75
  $download_remote_file = true;
76
  }
@@ -84,17 +86,24 @@ class slim_browser {
84
  // Download the most recent version of our pre-processed Browscap database
85
  if ( $download_remote_file ) {
86
  $response = wp_safe_remote_get( 'http://s3.amazonaws.com/browscap/browscap-db.zip', array( 'timeout' => 300, 'stream' => true, 'filename' => $browscap_zip ) );
 
 
 
 
 
87
  if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
88
  @unlink( $browscap_zip );
89
- return array( 1, __( 'There was an error downloading the Browscap data file from our server. Please try again later.', 'wp-slimstat' ) );
90
  }
91
 
92
- if ( !file_exists( $browscap_zip ) ) {
93
- return array( 2, __( 'There was an error saving the Browscap data file on your server. Please check your folder permissions.', 'wp-slimstat' ) );
 
 
 
94
  }
95
 
96
- // Init the filesystem API
97
- WP_Filesystem();
98
 
99
  // Delete the existing folder, if there
100
  $GLOBALS[ 'wp_filesystem' ]->rmdir( dirname( self::$browscap_autoload_path ) . '/', true );
@@ -103,10 +112,13 @@ class slim_browser {
103
  $unzip_done = unzip_file( $browscap_zip, wp_slimstat::$upload_dir );
104
 
105
  if ( !$unzip_done || !file_exists( self::$browscap_autoload_path ) ) {
106
- return array( 3, __( 'There was an error uncompressing the Browscap data file on your server. Please check your folder permissions and PHP configuration.', 'wp-slimstat' ) );
 
107
  }
108
 
109
- @unlink( $browscap_zip );
 
 
110
  }
111
 
112
  return array( 0, __( 'The Browscap data file has been installed on your server.', 'wp-slimstat' ) );
20
  $error = self::update_browscap_database( false );
21
  require_once( self::$browscap_autoload_path );
22
 
23
+ if ( method_exists( 'slimBrowscapConnector', 'get_browser_from_browscap' ) ) {
24
+ self::$browser = slimBrowscapConnector::get_browser_from_browscap( self::$browser );
25
+ }
26
  }
27
  }
28
 
48
  */
49
  public static function update_browscap_database( $_force_download = false ) {
50
  if ( version_compare( PHP_VERSION, '5.5', '<' ) ) {
51
+ return array( 1, __( 'This library requires at least PHP 5.5. Please ask your service provider to upgrade your server accordingly.', 'wp-slimstat' ) );
52
  }
53
 
54
  // Create the folder, if it doesn't exist
60
  $local_version = 0;
61
  $browscap_zip = wp_slimstat::$upload_dir . '/browscap-db.zip';
62
 
63
+ // Check for updates once a week ( 604800 seconds ), if $_force_download is not true
64
+ if ( false === $_force_download && false !== ( $file_stat = @stat( self::$browscap_autoload_path ) ) && ( date( 'U' ) - $file_stat[ 'mtime' ] > 604800 ) && false !== ( $handle = @fopen( self::$browscap_autoload_path, "rb" ) ) ) {
65
+
66
  // Find the version of the local data file
67
  while ( ( $buffer = fgets( $handle, 4096 ) ) !== false ) {
68
  if ( strpos( $buffer, 'source_version' ) !== false ) {
72
  }
73
 
74
  // Now check the version number on the server
75
+ $remote_version = wp_remote_retrieve_body( wp_remote_get( 'http://s3.amazonaws.com/browscap/autoload.txt' ) );
76
  if ( intval( $local_version ) != intval( $remote_version ) ) {
77
  $download_remote_file = true;
78
  }
86
  // Download the most recent version of our pre-processed Browscap database
87
  if ( $download_remote_file ) {
88
  $response = wp_safe_remote_get( 'http://s3.amazonaws.com/browscap/browscap-db.zip', array( 'timeout' => 300, 'stream' => true, 'filename' => $browscap_zip ) );
89
+
90
+ if ( !file_exists( $browscap_zip ) ) {
91
+ return array( 2, __( 'There was an error saving the Browscap data file on your server. Please check your folder permissions.', 'wp-slimstat' ) );
92
+ }
93
+
94
  if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
95
  @unlink( $browscap_zip );
96
+ return array( 3, __( 'There was an error downloading the Browscap data file from our server. Please try again later.', 'wp-slimstat' ) );
97
  }
98
 
99
+ // Init the filesystem API
100
+ require_once( ABSPATH . '/wp-admin/includes/file.php' );
101
+ if ( !function_exists( 'wp_filesystem' ) ) {
102
+ @unlink( $browscap_zip );
103
+ return array( 4, __( 'Could not initialize the WP Filesystem API. Please check your folder permissions and PHP configuration.', 'wp-slimstat' ) );
104
  }
105
 
106
+ wp_filesystem();
 
107
 
108
  // Delete the existing folder, if there
109
  $GLOBALS[ 'wp_filesystem' ]->rmdir( dirname( self::$browscap_autoload_path ) . '/', true );
112
  $unzip_done = unzip_file( $browscap_zip, wp_slimstat::$upload_dir );
113
 
114
  if ( !$unzip_done || !file_exists( self::$browscap_autoload_path ) ) {
115
+ @unlink( $browscap_zip );
116
+ return array( 5, __( 'There was an error uncompressing the Browscap data file on your server. Please check your folder permissions and PHP configuration.', 'wp-slimstat' ) );
117
  }
118
 
119
+ if ( file_exists( $browscap_zip ) ) {
120
+ @unlink( $browscap_zip );
121
+ }
122
  }
123
 
124
  return array( 0, __( 'The Browscap data file has been installed on your server.', 'wp-slimstat' ) );
readme.txt CHANGED
@@ -5,10 +5,10 @@ Tags: analytics, statistics, counter, tracking, reports, wassup, geolocation, on
5
  Text Domain: wp-slimstat
6
  Requires at least: 3.8
7
  Tested up to: 4.7
8
- Stable tag: 4.5
9
 
10
  == Description ==
11
- [youtube https://www.youtube.com/watch?v=iJCtjxArq4U]
12
 
13
  = Feature Spotlight =
14
  * Real-time access log, server latency, heatmaps, full IPv6 support, and much more.
@@ -72,6 +72,14 @@ Our knowledge base is available on our [support center](http://docs.wp-slimstat.
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
 
 
75
  = 4.5 =
76
  * [Note] Can you believe it? It looks like it was yesterday that we were celebrating the new year with our loved ones, and here we are, getting ready to welcome 2017. For our team, 2016 was a very intense year: we celebrated Slimstat's 10th anniversary, released new add-ons, started community outreach initiatives on Facebook and on our website, implemented new features and much more. Now, with a smaller team, we need to find creative ways to keep providing the stellar support service which many of you appreciate so much in your reviews. For this reason, we need to slighly increase the price of our add-ons starting in early 2017. Don't worry, it will still be a very competitive and reasonable price point, affordable even for those of you who cannot spend hundreds of dollars on their website. However we encourage you to take advantage of these few remaining weeks and [buy our add-ons today](https://www.wp-slimstat.com/addons/), before prices go up in January!
77
  * [New] You spoke up, we listened. The third-party Browscap data file has been increasing in size over time, forcing some users to uninstall it from their server because it was causing issues with the PHP memory limit set by the administrator. Although Slimstat provides a built-in heuristic function as a workaround for this issue, we wanted to find a better solution. Replacing the obsolete Browscap parser with the [shiny new version 3.0](https://github.com/browscap/browscap-php), our tests show a big improvement in terms of performance and use of resources. The only caveat is that the new parser **requires PHP 5.5 or newer**, so please make sure your server environment is compatible before enabling this feature.
5
  Text Domain: wp-slimstat
6
  Requires at least: 3.8
7
  Tested up to: 4.7
8
+ Stable tag: 4.5.1
9
 
10
  == Description ==
11
+ [youtube https://www.youtube.com/watch?v=zEKP9yC8x6g]
12
 
13
  = Feature Spotlight =
14
  * Real-time access log, server latency, heatmaps, full IPv6 support, and much more.
72
 
73
  == Changelog ==
74
 
75
+ = 4.5.1 =
76
+ * [New] Slimstat is now looking for custom HTTP headers like [CF-Connecting-IP](https://support.cloudflare.com/hc/en-us/articles/200170986-How-does-CloudFlare-handle-HTTP-Request-headers-) to determine your visitors' originating IP address when your website is behind reverse proxies like CloudFlare.
77
+ * [New] By default, when the domain of the referrer for a given page view is the same as the current site, that information is not tracked to save space in the database. However, if you are running a multisite network with subfolders, you might need to track same-domain referrers from one site to another, as they are technically "separate" websites. A new option under Settings > Tracker was added to handle this situation (thank you, [chenryahts](https://wordpress.org/support/topic/referer-not-recorded-from-other-sites-in-same-multisite/)).
78
+ * [Fix] A type in checking the PHP version was preventing some users from installing our new Browscap library.
79
+ * [Fix] PHP warning of undefined offset in one of the reports when the database was empty.
80
+ * [Fix] In some specific cases a function used to unzip the Browscap Library on the user's server was not defined (thank you, [victor50g, gdevic and others](https://wordpress.org/support/topic/white-screen-of-death-when-publishing-post/))
81
+ * [Fix] A few users pointed out that using file_get_contents might not be ideal, if allow_url_fopen is turned off in PHP. Per [Per Dennis' suggestion](https://wordpress.org/support/topic/file_get_contents-problem-since-version-4-5/) that call was replaced with wp_remote_get. Thank you for your help!
82
+
83
  = 4.5 =
84
  * [Note] Can you believe it? It looks like it was yesterday that we were celebrating the new year with our loved ones, and here we are, getting ready to welcome 2017. For our team, 2016 was a very intense year: we celebrated Slimstat's 10th anniversary, released new add-ons, started community outreach initiatives on Facebook and on our website, implemented new features and much more. Now, with a smaller team, we need to find creative ways to keep providing the stellar support service which many of you appreciate so much in your reviews. For this reason, we need to slighly increase the price of our add-ons starting in early 2017. Don't worry, it will still be a very competitive and reasonable price point, affordable even for those of you who cannot spend hundreds of dollars on their website. However we encourage you to take advantage of these few remaining weeks and [buy our add-ons today](https://www.wp-slimstat.com/addons/), before prices go up in January!
85
  * [New] You spoke up, we listened. The third-party Browscap data file has been increasing in size over time, forcing some users to uninstall it from their server because it was causing issues with the PHP memory limit set by the administrator. Although Slimstat provides a built-in heuristic function as a workaround for this issue, we wanted to find a better solution. Replacing the obsolete Browscap parser with the [shiny new version 3.0](https://github.com/browscap/browscap-php), our tests show a big improvement in terms of performance and use of resources. The only caveat is that the new parser **requires PHP 5.5 or newer**, so please make sure your server environment is compatible before enabling this feature.
wp-slimstat.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Slim Stat Analytics
4
  Plugin URI: http://wordpress.org/plugins/wp-slimstat/
5
  Description: The leading web analytics plugin for WordPress
6
- Version: 4.5
7
  Author: Jason Crouse
8
  Author URI: http://www.wp-slimstat.com/
9
  Text Domain: wp-slimstat
@@ -15,7 +15,7 @@ if ( !empty( wp_slimstat::$settings ) ) {
15
  }
16
 
17
  class wp_slimstat {
18
- public static $version = '4.5';
19
  public static $settings = array();
20
  public static $options = array(); // To be removed, here just for backward compatibility
21
 
@@ -276,8 +276,8 @@ class wp_slimstat {
276
  return $_argument;
277
  }
278
 
279
- $parsed_site_url = parse_url( get_site_url(), PHP_URL_HOST );
280
- if ( $referer[ 'host' ] == $parsed_site_url ) {
281
  unset( self::$stat[ 'referer' ] );
282
  }
283
  else {
@@ -751,7 +751,7 @@ class wp_slimstat {
751
  $ip_array[ 0 ] = $_SERVER["REMOTE_ADDR"];
752
  }
753
 
754
- $originating_ip_headers = array( 'HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_REAL_IP', 'HTTP_FORWARDED', 'HTTP_X_FORWARDED' );
755
  foreach ( $originating_ip_headers as $a_header ) {
756
  if ( !empty( $_SERVER[ $a_header ] ) ) {
757
  foreach ( explode( ',', $_SERVER[ $a_header ] ) as $a_ip ) {
@@ -1363,6 +1363,7 @@ class wp_slimstat {
1363
  'track_internal_links' => 'no',
1364
  'ignore_outbound_classes_rel_href' => '',
1365
  'do_not_track_outbound_classes_rel_href' => 'noslimstat,ab-item',
 
1366
  'session_duration' => 1800,
1367
  'extend_session' => 'no',
1368
  'enable_cdn' => 'yes',
3
  Plugin Name: Slim Stat Analytics
4
  Plugin URI: http://wordpress.org/plugins/wp-slimstat/
5
  Description: The leading web analytics plugin for WordPress
6
+ Version: 4.5.1
7
  Author: Jason Crouse
8
  Author URI: http://www.wp-slimstat.com/
9
  Text Domain: wp-slimstat
15
  }
16
 
17
  class wp_slimstat {
18
+ public static $version = '4.5.1';
19
  public static $settings = array();
20
  public static $options = array(); // To be removed, here just for backward compatibility
21
 
276
  return $_argument;
277
  }
278
 
279
+ $parsed_site_url_host = parse_url( get_site_url(), PHP_URL_HOST );
280
+ if ( $referer[ 'host' ] == $parsed_site_url_host && self::$settings[ 'track_same_domain_referers' ] != 'yes' ) {
281
  unset( self::$stat[ 'referer' ] );
282
  }
283
  else {
751
  $ip_array[ 0 ] = $_SERVER["REMOTE_ADDR"];
752
  }
753
 
754
+ $originating_ip_headers = array( 'X-Forwarded-For', 'HTTP_X_FORWARDED_FOR', 'CF-Connecting-IP', 'HTTP_CLIENT_IP', 'HTTP_X_REAL_IP', 'HTTP_FORWARDED', 'HTTP_X_FORWARDED' );
755
  foreach ( $originating_ip_headers as $a_header ) {
756
  if ( !empty( $_SERVER[ $a_header ] ) ) {
757
  foreach ( explode( ',', $_SERVER[ $a_header ] ) as $a_ip ) {
1363
  'track_internal_links' => 'no',
1364
  'ignore_outbound_classes_rel_href' => '',
1365
  'do_not_track_outbound_classes_rel_href' => 'noslimstat,ab-item',
1366
+ 'track_same_domain_referers' => 'no',
1367
  'session_duration' => 1800,
1368
  'extend_session' => 'no',
1369
  'enable_cdn' => 'yes',