Plugin Directory

Changeset 2634419


Ignore:
Timestamp:
11/24/2021 12:25:19 AM (4 years ago)
Author:
friendlych
Message:

Minor fixes including testing on the most recent version of WordPress, adding functionality for users, and bug fixing

Location:
friendly-analytics
Files:
112 added
5 edited

Legend:

Unmodified
Added
Removed
  • friendly-analytics/tags/1.0.3/readme.txt

    r2324999 r2634419  
    11=== Friendly Analytics ===
    2 Contributors: friendlyis, webkinder
     2Contributors: friendlyis, bradycargle, webkinder
    33Tags: analytics, privacy, tracking code, web analytics, anonymization, cookie, Datenschutz, ga, gaoptout, googleanalytics, google analytics, google tag manager, gym
    44Requires at least: 4.8
    55Requires PHP: 7.1
    6 Tested up to: 5.3.2
     6Tested up to: 5.8.2
    77Stable tag: 1.0.3
    88License: GPLv2 or later
  • friendly-analytics/trunk/friendly-analytics.php

    r2324998 r2634419  
    44 * Plugin URI: https://wordpress.org/plugins/friendly-analytics/
    55 * Description: Friendly Analytics is  a professional web analytics solution that is friendly to your website visitors by respecting their privacy.
    6  * Version: 1.0.3
     6 * Version: 1.0.4
    77 * Author: Friendly
    8  * Author URI: https://friendly.is/analytics
    9  * License: GPL2
     8 * Author URI: https://friendly.ch/analytics
     9 * License: GPLv2 or later
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111 * Domain Path: /languages
  • friendly-analytics/trunk/lib/Loader.php

    r2304938 r2634419  
    4848        }
    4949
    50 
    51 
    52 
    53        
    54 
    55        
    5650    }
    57 
    58 
    59 
    6051
    6152    /**
     
    7566        if ($fa_tracking_code) {
    7667        ?>
    77 var friendlyAnalyticsSiteId="<? echo $fa_tracking_code; ?>";<?php
     68            var friendlyAnalyticsSiteId="<? echo $fa_tracking_code; ?>";<?php
    7869
    7970        }
     
    8273        ?>
    8374
    84 var friendlyAnalyticsTagManagerId="<? echo $fa_tag_manager_id; ?>";<?php
     75            var friendlyAnalyticsTagManagerId="<? echo $fa_tag_manager_id; ?>";<?php
    8576
    8677        }   
     
    9081        ?>
    9182
    92 var friendlyAnalyticsServer="<? echo $fa_server; ?>";<?php
     83            var friendlyAnalyticsServer="<? echo $fa_server; ?>";<?php
    9384
    9485        }               
  • friendly-analytics/trunk/lib/Settings.php

    r2308457 r2634419  
    137137    add_settings_field(
    138138      'fa_server',
    139       __('Friendly Analytics custom server', 'friendly_analytics_wp'),
     139      __('Friendly Analytics Custom Server', 'friendly_analytics_wp'),
    140140      array( $this, 'fa_server_field' ),
    141141      'friendly_analytics',
     
    143143    );
    144144
     145    register_setting(
     146      'friendly_analytics_wp',
     147      'fa_server_2'
     148    );
    145149
    146150  }
     
    232236    $field = 'fa_server';
    233237    $value = esc_attr( get_option( $field ) );
    234 
    235     ?>
    236 
    237     <input type="text" name="<?php echo $field; ?>" placeholder="example.com" value="<?php echo $value; ?>" />
    238 
    239     <p>Optional – please use only when provided.</p>
    240 
    241     <?php
    242 
    243   }
    244 
    245 
     238    $value_name = "";
     239    if ($value == "app.friendlyanalytics.ch") {
     240      $value_name = "Switzerland";
     241    }
     242    else {
     243      $value_name = "Germany/EU";
     244    };
     245    ?>
     246
     247    <label for="fa_server">Choose your server location:</label>
     248    <select name="fa_server" id="fa_server">
     249      <option value="app.friendlyanalytics.ch" name="Switzerland">Switzerland</option>
     250      <option value="app.friendlyanalytics.com" name="Germany/EU">Germany/EU</option>
     251    </select>
     252
     253    <p>Optional. Your current server is in <?php echo $value_name ?>.</p>
     254
     255    <?php
     256
     257  }
    246258
    247259}
  • friendly-analytics/trunk/readme.txt

    r2324999 r2634419  
    11=== Friendly Analytics ===
    2 Contributors: friendlyis, webkinder
     2Contributors: friendly, bradycargle, webkinder
    33Tags: analytics, privacy, tracking code, web analytics, anonymization, cookie, Datenschutz, ga, gaoptout, googleanalytics, google analytics, google tag manager, gym
    44Requires at least: 4.8
    55Requires PHP: 7.1
    6 Tested up to: 5.3.2
    7 Stable tag: 1.0.3
     6Tested up to: 5.8.2
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Official WordPress plugin for Friendly Analytics (friendly.is/analytics)
     11Official WordPress plugin for Friendly Analytics (friendly.ch/analytics)
    1212
    1313== Description ==
     
    1818
    1919You can find out more about our service at:
    20 https://friendly.is/analytics
     20https://friendly.ch/analytics
    2121
    2222Privacy Policy:
    23 https://friendly.is/privacy
     23https://friendly.ch/privacy
    2424
    2525== Installation ==
     
    4646= 1.0.3 =
    4747* Minor fixes
     48
     49= 1.0.4 =
     50* Minor fixes including a change in URL
     51* Made it easier for users to choose their server location
Note: See TracChangeset for help on using the changeset viewer.