Plugin Directory

Changeset 2942112


Ignore:
Timestamp:
07/23/2023 02:42:20 PM (20 months ago)
Author:
TraceMyIP
Message:

TraceMyIP Visitor IP Stats Tracker v2.52

  • Tracker code async script insertion change. Improves header script execution and speed for invisible tracking
  • Provisional updates
Location:
tracemyip-visitor-analytics-ip-tracking-control/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tracemyip-visitor-analytics-ip-tracking-control/trunk/TraceMyIP-Wordpress-Plugin.php

    r2941696 r2942112  
    44    Plugin URI: https://www.tracemyip.org
    55    Description: Website visitor IP address activity tracking, IP analytics, visitor email alerts, IP changes tracker and visitor IP address blocking. Tag visitors IPs, track, create email alerts, control and manage pages, links and protect contact forms. GDPR compliant. For visitor tracker setup instructions, see <a href="admin.php?page=tmip_lnk_wp_settings"><b>plugin settings</b></a>.
    6     Version: 2.51
     6    Version: 2.52
    77    Author: TraceMyIP.org
    88    Author URI: https://www.TraceMyIP.org
     
    1111    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1212*/
    13 if (!defined('TMIP_VERSION') )      define('TMIP_VERSION', '2.51');
     13if (!defined('TMIP_VERSION') )      define('TMIP_VERSION', '2.52');
    1414
    1515### SET CONSTANTS ############################################
  • tracemyip-visitor-analytics-ip-tracking-control/trunk/includes/functions.php

    r2941722 r2942112  
    363363            }
    364364        }
    365         // Add async attribute
     365       
     366       
     367        $add_remove_async=0; // 1-Add if does not exist, 2-Remove if exists
    366368        $pos_val=get_option(tmip_position_val);
    367         // Async header - set tracker image enclosing div font-size to 0 to prevent line space for invisible tracker option
     369       
     370        // Header Async - set tracker image enclosing div font-size to 0 to prevent line space for invisible tracker option
    368371        if ($pos_val and $pos_val==='header_async') {
    369372            $code=tmip_strip_divs($code);
     
    372375                $code=str_replace('lgUrl.php?',$reduce_line_height.'&amp;',$code);
    373376            }
    374         // Sync script to show tracker in header
     377            $add_remove_async=1;
     378           
     379        // Header no async to show tracker in center header
    375380        } elseif ($pos_val and $pos_val==='header') {
    376             $code=str_replace('script async','script',$code);
    377         // Async footer
    378         } elseif (tmip_trk_add_async_attr===1 and $code and !stristr($code,'async') and strpos($code,'<script')==true) {
    379             $code=str_replace('<script','<script async',$code);
    380         }
     381            $add_remove_async=2;
     382           
     383        // Footer async
     384        } elseif (tmip_trk_add_async_attr===1) {
     385            $add_remove_async=1;
     386        }
     387       
     388        $is_async_code=0;   // 1-is async, 2-is not async
     389        if (strpos($code,'<script')==true) { if (stristr($code,' async ')) $is_async_code=1; else $is_async_code=2;  }
     390        if ($add_remove_async==1 and $is_async_code==2) $code=str_replace('<script','<script async',$code); // Add async
     391        if ($add_remove_async==2 and $is_async_code==1) $code=str_replace('<script async','<script',$code); // Remove async
     392       
    381393        $js_conversion=NULL;
    382394        if ($successVTC) $js_conversion=tmip_stats_optimi_pagntra; elseif ($res and $res['alerts']) $js_conversion=$res['alerts'];
    383395        tmip_log_stat_data(array('type'=>'vis_tr_query','js_conversion'=>$js_conversion));
     396       
    384397        echo $code;
    385398    }
  • tracemyip-visitor-analytics-ip-tracking-control/trunk/languages/en.php

    r2941696 r2942112  
    2020                    tmip_service_url.'/members/index.php?rnDs=1&page=spm_checkout&type=ssub&stp=acup&wplk_pro_upgrade=20423014510');
    2121
    22 
    2322// URLS
    24 define("tmip_support_link",         '<a href="'.tmip_support_url.'" target="_blank"><b>'.tmip_support_url.'</b></a>');
     23define("tmip_support_link",         tmip_link(tmip_support_url,'<b>'.tmip_support_url.'</b>'));
    2524define("tmip_lrn_invtrk_url",       tmip_learnbl_url.'how-to-make-a-visitor-tracker-invisible-91/');
    2625
    27 
     26// FORM STATEMENTS
    2827define("tmip_lang_visitor_tr_code", 'Visitor Tracker Code');
    2928define("tmip_lang_visitr_track_ic", 'Visitor Tracker Icon');
     
    5958define("tmip_stats_used_since_unx", 'started');
    6059
    61 
    62 // LINKS - For Learn KB define in 071323070147
    63 define("tmip_support_link",         tmip_link(tmip_support_url,'<b>'.tmip_support_url.'</b>'));
    6460
    6561// PHRASES
  • tracemyip-visitor-analytics-ip-tracking-control/trunk/readme.txt

    r2941723 r2942112  
    2323Optimized for current web technology - accurately capturing all real-time website visitor interaction
    2424
    25 * [Website & Blog Visitor Tracking & Analytics](https://www.tracemyip.org/website-analytics.htm)
    26 * [Website Visitor Email Alerts](https://www.tracemyip.org/website-visitors-alerts.htm)
     25* [Website & Blog Visitor IP Tracking & Analytics](https://www.tracemyip.org/website-analytics.htm)
     26* [Website Visits Email Alerts](https://www.tracemyip.org/website-visitors-alerts.htm)
    2727* [Visitor IP Blocking & Control](https://www.tracemyip.org/learn/how-to-block-an-ip-address-1017/)
    2828* [Individual Link Tracking](https://www.tracemyip.org/tools/link-click-tracker-ad-clicks-counter-ip-blocker/)
     
    3737
    3838The installation consists of 3 simple steps:
    39 1. Install Wordpress plugin
     391. Install TraceMyIP Wordpress plugin
    40402. Register an account at www.tracemyip.org which will provide you with a unique visitor tracker code
    41413. Place the code into the "Visitor Tracker Code" input box at the bottom of the TraceMyIP Wordpress plugin settings page
    4242
    43 That's it! Now login to your TraceMyIP account and collect website visitor activity in real-time with no delays.
    44 
    45 Here are the actual steps to enable TraceMyIP.org tools for WordPress:
     43That's it! Now login to your TraceMyIP account and instantly observe website visitor activity in real-time.
     44
     45Here are the steps to enable TraceMyIP.org tools for WordPress:
    4646
    4747* [Register](https://www.tracemyip.org/tools/website-visitors-counter-traffic-tracker-statistics/index.php?sto=1) a new TraceMyIP.org account by selecting a Visitor Tracker style or click on the [Add a New Project] menu button of an existing TraceMyIP account.
     
    5757= Support for TraceMyIP Visitor IP Tracker =
    5858
    59 If you require help with the TraceMyIP visitor IP tracker plugin or need to report an issue, please [contact](https://www.tracemyip.org/contact.htm) TraceMyIP support.
     59For ALL tutorials and general information, please visit [Learn TraceMyIP](https://www.tracemyip.org/learn/) support site.
     60
     61For most frequently requested tutorials, please visit  [Popular Guides](https://www.tracemyip.org/learn/most-popular-tracemyip-features-1594/) section.
     62
     63If you require further help with the TraceMyIP visitor IP tracker plugin or need to report an issue, please [contact](https://www.tracemyip.org/contact.htm) TraceMyIP support.
    6064
    6165
     
    128132
    129133== Changelog ==
     134
     135= TraceMyIP Visitor IP Stats Tracker v2.52 =
     136- Tracker code async script insertion change. Improves header script execution and speed for invisible tracking
     137- Provisional updates
    130138
    131139= TraceMyIP Visitor IP Stats Tracker v2.51 =
Note: See TracChangeset for help on using the changeset viewer.