Changeset 3308115
- Timestamp:
- 06/08/2025 05:43:05 PM (8 months ago)
- Location:
- tracemyip-visitor-analytics-ip-tracking-control/trunk
- Files:
-
- 29 added
- 8 edited
-
TraceMyIP-Wordpress-Plugin.php (modified) (4 diffs)
-
css/common.css (modified) (3 diffs)
-
includes/classes/class-tmip-system-notices.php (modified) (3 diffs)
-
includes/functions.php (modified) (9 diffs)
-
includes/local_stats (added)
-
includes/local_stats/admin (added)
-
includes/local_stats/admin/ls-dashboard-widget.php (added)
-
includes/local_stats/admin/ls-posts-columns.php (added)
-
includes/local_stats/admin/ls-settings.php (added)
-
includes/local_stats/ajax (added)
-
includes/local_stats/ajax/ls-tracking.php (added)
-
includes/local_stats/assets (added)
-
includes/local_stats/assets/apexcharts (added)
-
includes/local_stats/assets/apexcharts/dist (added)
-
includes/local_stats/assets/apexcharts/dist/apexcharts.css-full-source.css (added)
-
includes/local_stats/assets/apexcharts/dist/apexcharts.min.js (added)
-
includes/local_stats/assets/apexcharts/dist/dist.zip (added)
-
includes/local_stats/assets/apexcharts/dist/locales (added)
-
includes/local_stats/assets/apexcharts/dist/locales/locales.zip (added)
-
includes/local_stats/assets/css (added)
-
includes/local_stats/assets/css/ls-apexcharts.css (added)
-
includes/local_stats/assets/css/ls-css-admin.css (added)
-
includes/local_stats/assets/images (added)
-
includes/local_stats/assets/images/TraceMyIP-Logo_28x28.png (added)
-
includes/local_stats/assets/images/TraceMyIP-Logo_40x40.png (added)
-
includes/local_stats/assets/images/TraceMyIP-Logo_80x80.png (added)
-
includes/local_stats/assets/images/ajLoader_05-BG222.gif (added)
-
includes/local_stats/assets/js (added)
-
includes/local_stats/assets/js/ls-js-admin.js (added)
-
includes/local_stats/cron (added)
-
includes/local_stats/cron/ls-cleanup.php (added)
-
includes/local_stats/ls-class.php (added)
-
includes/local_stats/ls-config.php (added)
-
includes/notices.php (modified) (1 diff)
-
languages/en.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
uninstall.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tracemyip-visitor-analytics-ip-tracking-control/trunk/TraceMyIP-Wordpress-Plugin.php
r3297942 r3308115 4 4 Plugin Name: An Official TraceMyIP Tracker with email alerts 5 5 Plugin URI: https://www.tracemyip.org 6 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>.7 Version: 2.6 76 Description: Website visitor IP address activity tracking, IP analytics, visitor email alerts, IP changes tracker and visitor IP address blocking. UnFiltered post stats dashboard. Tag visitors IPs, count and track post views, schedule email alerts, control and manage pages, links and protect contact forms. GDPR options. 7 Version: 2.68 8 8 Author: TraceMyIP.org 9 9 Author URI: https://www.TraceMyIP.org 10 Text Domain: tracemyip- visitor-analytics-ip-tracking-control10 Text Domain: tracemyip-local-stats 11 11 License: GPLv2 (or later) 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 13 13 */ 14 if (!defined('TMIP_VERSION') ) define('TMIP_VERSION', '2.6 7');14 if (!defined('TMIP_VERSION') ) define('TMIP_VERSION', '2.68'); 15 15 16 16 ### SET CONSTANTS ############################################ … … 18 18 $script_filename = isset($_SERVER['SCRIPT_FILENAME']) ? trim($_SERVER['SCRIPT_FILENAME']) : ''; 19 19 define("tmip_plugin_path",plugin_dir_path( __FILE__ )); 20 require_once(tmip_plugin_path.'languages/en.php'); 20 require_once(tmip_plugin_path.'languages/en.php'); /* Load plugin constants */ 21 21 22 22 define("tmip_plugin_dir_name", 'tracemyip-visitor-analytics-ip-tracking-control', false); 23 define("tmip_enable_local_tracker_ops", 1); // 1-Enable [UnFiltered Stats Tracker] options 052425122331 23 24 define("tmip_enable_user_notices", 1); // User notices on WP Dashboard: 1-enable 24 25 define("tmip_enable_meta_rating", 2); // Show rate section. 1-post selected rating, 2-show transitional screen … … 76 77 77 78 78 ### FUNCTIONS ############################################79 ### MODULES ############################################ 79 80 # 052125092856 80 // Initialize user notices: Reset by $tmip_notices_debug81 // USER NOTICES: Reset by $tmip_notices_debug 81 82 $tmipSysNTF=tmip_plugin_path . 'includes/classes/class-tmip-system-notices.php'; 82 83 if (tmip_enable_user_notices==1 and file_exists($tmipSysNTF)) { … … 95 96 } 96 97 98 // UNFILTERED STATS module (TraceMyIP > UnFiltered Stats) 052425122331 99 $tmipSysUFT=tmip_plugin_path . 'includes/local_stats/ls-class.php'; 100 if (defined('tmip_enable_local_tracker_ops') && tmip_enable_local_tracker_ops and file_exists($tmipSysUFT)) { 101 require_once(tmip_plugin_path.'includes/local_stats/ls-class.php'); 102 register_activation_hook(__FILE__, function() { 103 TMIP_Local_Stats::init()->maybe_create_tables(); 104 }); 105 register_activation_hook(__FILE__, array('TMIP_Local_Stats', 'plugin_activated')); // Clear cache notice for installation 106 add_action('init', function() { 107 if (defined('DOING_AJAX') && DOING_AJAX) { 108 tmip_debug_log('AJAX request detected'); 109 add_action('wp_ajax_tmip_record_view', array('TMIP_Local_Stats_Tracking', 'record_view')); 110 add_action('wp_ajax_nopriv_tmip_record_view', array('TMIP_Local_Stats_Tracking', 'record_view')); 111 } 112 }); 113 } 114 97 115 // Reset plugin settings: 1-reset all except no_reset flagged vars, 2-reset all to defaults, 3-delete all options 98 116 // tmip_reset_delete_plugin_data(3); -
tracemyip-visitor-analytics-ip-tracking-control/trunk/css/common.css
r3297889 r3308115 9 9 background-color: #333333; 10 10 } 11 12 11 13 12 #tmip_sett_wrap_1 p, … … 286 285 color: #00E837 !important; 287 286 } 287 288 /* Admin Menu - highlighted when CSS is loaded 052625094214 */ 289 #adminmenu .toplevel_page_tmip_admpanel_menu img { 290 width: 20px; 291 height: 20px; 292 padding: 6px 0 0; 293 opacity: 1!important; 294 } 288 295 li#toplevel_page_tmip_admpanel_menu ul li:hover a { 289 296 color: #000 !important; 290 font-weight: normal ;297 font-weight: normal!important; 291 298 } 292 299 #toplevel_page_tmip_admpanel_menu ul.wp-submenu li:hover > a { … … 300 307 font-size: 0.8em; 301 308 } 302 303 309 li#toplevel_page_tmip_admpanel_menu { 304 310 color: #000 !important; -
tracemyip-visitor-analytics-ip-tracking-control/trunk/includes/classes/class-tmip-system-notices.php
r3297926 r3308115 60 60 return; 61 61 } 62 // Don't show notices if plugin was just upgraded 63 if (isset($_GET['action']) && $_GET['action'] === 'upgrade-plugin' || // Plugin upgrade via WordPress 64 isset($_GET['action']) && $_GET['action'] === 'upload-plugin' || // Plugin upload 65 isset($_GET['updated']) || // Plugin was just updated 66 isset($_GET['activated']) || // Plugin was just activated 67 (isset($_GET['action']) && $_GET['action'] === 'activate-plugin') // Plugin activation in progress 68 ) { 69 return; // Don't show notices during plugin upgrade/upload screens 70 } 62 71 63 72 // Only count views on actual user requests (not WordPress preloads) … … 159 168 // Check installation date 160 169 $days_after = isset($notice['days_after']) ? $notice['days_after'] : $this->settings['days_after']; 161 $install_date = get_option( 'tmip_install_date'); // If not present, plugin was installed before user notices implementation170 $install_date = get_option(tmip_user_notice_install_date); // If not present, plugin was installed before user notices implementation 162 171 if ($days_after > 0) { 163 172 $required_date = strtotime('-'.$days_after.' days'); … … 247 256 border-radius: 15px!important; 248 257 background: <?php echo esc_attr($background); ?> !important; 249 box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6) !important; 258 //box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6) !important; 259 box-shadow: inset 0 5px 6px rgba(0, 0, 0, 1) !important; 250 260 padding: 6px 10px!important; 251 261 max-width: 820px!important; 252 262 margin: 0 auto!important; 253 } 263 margin-bottom: 15px!important; 264 } 254 265 .tmip-notice-<?php echo esc_attr($this->current_notice_key); ?> h1, 255 266 .tmip-notice-<?php echo esc_attr($this->current_notice_key); ?> h2, -
tracemyip-visitor-analytics-ip-tracking-control/trunk/includes/functions.php
r3297889 r3308115 126 126 ); 127 127 128 // Assign user notices option vars 052125092856128 // User notices option vars 052125092856 129 129 define("tmip_user_notice_install_date", tmip_db_options_vars['tmip_notice_install_date']['db_var']); 130 130 define("tmip_user_notice_views", tmip_db_options_vars['tmip_notice_views']['db_var']); … … 180 180 echo $output; 181 181 } 182 function tmip_access_reports(){ 183 global $tmip_plugin_dir_url,$tmip_plugin_sett_url; 184 185 $menuID='tmip_admpanel_menu'; 186 $position=25; 187 $icon_url=$tmip_plugin_dir_url.'images/tmip_icon_admin_menu.png'; 188 $vis_tr_stats=tmip_log_stat_data(array('type'=>'vis_tr_stats')); 189 190 // Shared MATCH CONDITION in TMIP third-party 182 183 // Shared MATCH CONDITION in TMIP third-party 184 function tmip_reports_access_is_mac() { 191 185 $curUserAgent=trim($_SERVER['HTTP_USER_AGENT']); 192 global $mac_link_tologin; 193 $mac_limit_drop=0; $mac_link_tologin=0; 186 $mac_link_tologin=0; 194 187 if ($ua=$curUserAgent) { 195 188 // Do not show upgrade menu links - case insensitive 041023084633 … … 197 190 # || preg_match('/Chrome|Edg\/|MSIE|Trident\//', $ua) // Chrome, Edge, Internet Explorer 198 191 ) { 199 $mac_limit_drop=1;200 192 $mac_link_tologin=1; 201 193 } 202 194 } 195 return $mac_link_tologin; 196 } 197 198 function tmip_reports_url() { 199 if (tmip_reports_access_is_mac()) { 200 $v=tmip_home_page_login; 201 } else { 202 $v=tmip_go_to_projects; 203 } 204 return trim($v); 205 } 206 207 function tmip_access_reports(){ 208 global $tmip_plugin_dir_url,$tmip_plugin_sett_url; 209 210 $menuID='tmip_admpanel_menu'; 211 $position=25; 212 $icon_url=$tmip_plugin_dir_url.'images/tmip_icon_admin_menu.png'; 213 $vis_tr_stats=tmip_log_stat_data(array('type'=>'vis_tr_stats')); 214 215 $mac_limit_drop=$mac_link_tologin=tmip_reports_access_is_mac(); 203 216 204 217 // Main admin menu … … 220 233 'tmip_reports_page' // callback function 221 234 ); 222 add_submenu_page(223 $menuID,224 tmip_service_Nname.' > '.ucwords(tmip_submenu_settings),225 ucwords(tmip_submenu_settings),226 'manage_options',227 'tmip_lnk_wp_settings',228 'tmip_wp_settings'229 );230 235 if (1==1) { 231 236 add_submenu_page( … … 278 283 } 279 284 } 285 add_submenu_page( 286 $menuID, 287 tmip_submenu_vt_settings, 288 tmip_submenu_vt_settings, 289 'manage_options', 290 'tmip_lnk_wp_settings', 291 'tmip_wp_settings' 292 ); 280 293 } 281 294 function tmip_reports_page() { 282 295 tmip_load_js(); 283 global $mac_link_tologin; 284 if ($mac_link_tologin) { 285 $v=tmip_home_page_login; 286 } else { 287 $v=tmip_go_to_projects; 288 } 289 tmip_wp_iframe_page($v); 290 } 296 tmip_wp_iframe_page(tmip_reports_url()); 297 } 298 291 299 function tmip_upgrade_page() { 292 300 tmip_load_js(); … … 439 447 return $links; 440 448 } 441 function tmip_setting_link($links) {442 global $tmip_plugin_admin_url;443 if (is_multisite() && !is_main_site () && !current_user_can('manage_network_plugins')) return $links;444 445 $settings_link='<a href="'.$tmip_plugin_sett_url.'">'._x('Settings', 'Menu item', 'tracemyip-visitor-analytics-ip-tracking-control') . '</a>';446 array_unshift ($links, $settings_link);447 return $links;448 }449 449 function tmip_plugin_action_links($links) { 450 global $tmip_plugin_sett_url; 450 global $tmip_plugin_sett_url; 451 451 if (is_multisite() && !is_main_site () && !current_user_can ('manage_network_plugins')) { 452 452 return $links; … … 456 456 '<a href="'.tmip_acc_upgr_url.'" target="_blank">'.tmip_upgrade_to_pro_vers.'</a>' ); 457 457 458 if (defined('tmipu_uf_stats_settings')) { 459 array_unshift ($links, // 052825081530 460 '<a href="admin.php?page=tmip_local_stats&tab=general">'._x(tmipu_uf_stats_settings, 'Menu item', 'tracemyip-visitor-analytics-ip-tracking-control') . '</a>'); 461 } 462 458 463 array_unshift ($links, 459 '<a href="'.$tmip_plugin_sett_url.'">'._x('Settings', 'Menu item', 'tracemyip-visitor-analytics-ip-tracking-control') . '</a>'); 464 '<a href="'.$tmip_plugin_sett_url.'">'._x(tmip_submenu_vt_settings, 'Menu item', 'tracemyip-visitor-analytics-ip-tracking-control') . '</a>'); 465 460 466 return $links; 461 467 } … … 672 678 'index.php', // index,php to attached to dashboard menu 673 679 __(tmip_service_Nname.' '.tmip_wp_dashb_menu_rlink), 674 '<b style=" color:#A4F9F7;letter-spacing: 0.05em;">'.__(tmip_service_Nname.'</b>'),680 '<b style="font-weight:600;letter-spacing: 0.05em;">'.__(tmip_service_Nname.'</b>'), 675 681 'publish_posts', 676 682 'tmip', // tmip to highlight the dashboard link … … 693 699 */ 694 700 } 695 // Add link to WP settings701 // WP settings menu: link to tracker setup 696 702 function add_tmip_option_page() { 697 703 global $tmip_plugin_sett_url; 698 704 global $tmip_plugin_basename; 699 add_options_page(tmip_service_Nname.' Settings', tmip_service_Nname, "manage_options", $tmip_plugin_sett_url, ''); 705 add_options_page( 706 tmip_service_Nname.' '.tmip_submenu_vt_settings, 707 '<span style="font-weight:600;">'.tmip_service_Nname.'</span> '.tmip_submenu_vis_tracker.'', 708 "manage_options", 709 $tmip_plugin_sett_url, 710 '' 711 ); 700 712 // add_options_page(tmip_service_Nname.' Settings', tmip_service_Nname, "manage_options", $tmip_plugin_basename, 'tmip_settings_page'); 701 713 } -
tracemyip-visitor-analytics-ip-tracking-control/trunk/includes/notices.php
r3297926 r3308115 29 29 'if_option_is' => array(tmip_visit_tracker_opt,'option_not_set'), 30 30 'views_limit' => 50, 31 'expires_after' => 7*86400,31 'expires_after' => 40*86400, 32 32 'days_after' => 0, 33 33 'min_fe_req' => 0, 34 34 'min_trk_loads' => 0, 35 35 'probability' => 100, 36 'snooze_days' => 7,36 'snooze_days' => 5, 37 37 //'start_date' => strtotime('2025-05-01'),// Show starting Jan 1, 2023 38 38 //'end_date' => strtotime('2026-12-31'),// Stop showing after Dec 31, 2023 -
tracemyip-visitor-analytics-ip-tracking-control/trunk/languages/en.php
r3297889 r3308115 16 16 17 17 define("tmip_learnbl_url", tmip_service_url.'/learn/'); 18 define("tmip_userguide_url", tmip_service_url.'/learn/?wp menu=wpmenu_user_guide');18 define("tmip_userguide_url", tmip_service_url.'/learn/?wp_plugin=wpmenu_user_guide'); 19 19 define("tmip_support_url", tmip_service_url.'/contact.htm'); 20 20 define("tmip_acc_upgr_url", tmip_service_url.'/members/index.php?rnDs=1&page=spm_checkout&type=ssub&stp=acup&wplk_pro_upgrade=20423014510'); … … 26 26 27 27 28 // FORM STATEMENTS 28 ### UNFILTERED STATS TRACKER 29 define("tmipu_name", 'TraceMyIP'); // Identity name 30 define("tmipu_uf_stats", 'UnFiltered Stats'); // UnFiltered Stats 31 define("tmipu_uf_stats_settings", tmipu_uf_stats.' Settings (Local)'); // UnFiltered Stats Settings (Link Name to settings) 32 define("tmipu_uf_tmip_unf_stats", tmipu_name.' '.tmipu_uf_stats.''); // TraceMyIP UnFiltered Stats (Title) 33 define("tmipu_uf_stats_learn_diff", tmip_learnbl_url.'/tracemyip-unfiltered-stats-for-wordpress-2981/?wp_plugin=unfiltered_stats_pages'); 34 35 $v1='This panel shows <a href="'.admin_url().'">'.tmipu_uf_stats.'</a> summary only. Please read about it <a href="'.tmipu_uf_stats_learn_diff.'" target="_blank">here</a>.'; 36 $v2='complete <b>real</b> visitor IPs statistics and alerts'; 37 $v3='navigate to <a href="admin.php?page=tmip">TraceMyIP console</a>'; 38 define("tmipu_uf_vistr_srv_notice_1",$v1.' To continue using this panel and for '.$v2.', <a href="admin.php?page=tmip_lnk_wp_settings">setup a tracker</a> and '.$v3); 39 define("tmipu_uf_vistr_srv_btnurl_1", 'admin.php?page=tmip_lnk_wp_settings'); 40 define("tmipu_uf_vistr_srv_notice_2",$v1.' For '.$v2.', '.$v3); 41 define("tmipu_uf_vistr_srv_btnurl_2", 'admin.php?page=tmip'); 42 43 44 45 ### WP PLUGIN FORM STATEMENTS 29 46 define("tmip_lang_visitor_tr_code", 'Visitor Tracker Code'); 30 47 define("tmip_lang_visitr_track_ic", 'Visitor Tracker Icon'); … … 41 58 define("tmip_submenu_reports", 'My Projects'); 42 59 define("tmip_wp_dashb_menu_rlink", 'Reports'); 43 define("tmip_submenu_settings", 'tracker setup'); 60 define("tmip_submenu_vis_tracker", 'Visitor Tracker'); // WP Settings menu: tracker setup link name 61 define("tmip_submenu_vt_settings", tmip_submenu_vis_tracker.' Setup (SaaS)'); // TraceMyIP Menu: Visitor Tracker Setup link name 44 62 define("tmip_submenu_unlock_frt", 'unlock features'); 45 63 define("tmip_submenu_my_ipv46_adr", 'my current IP'); -
tracemyip-visitor-analytics-ip-tracking-control/trunk/readme.txt
r3297942 r3308115 1 === Visitor IP Tracker, IP Stats Analytics and IP Control With Email Alerts === 2 1 === Trace My IP - Visitor IP Tracker, Stats Analytics & Page Views Counter with Email Alerts === 3 2 Contributors: TraceMyIP 4 Tags: visitor ,tracker,ip,stats,analytics3 Tags: visitor tracking, ip tracker, visitor stats, website analytics, statistics, stats, trace my ip, post views counter, page views tracker, email alerts, hits counter, ip blocker, visitor analytics 5 4 Requires at least: 2.0.4 6 5 Tested up to: 6.8 7 Requires PHP: 5.68 Stable tag: 2.6 76 Requires PHP: 7.2 7 Stable tag: 2.68 9 8 License: GPLv2 (or later) 10 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 Donate link: https://www. tracemyip.org/signup/?wp=donate10 Donate link: https://www.paypal.com/donate/?hosted_button_id=TND7BL8C3KFEW 12 11 Plugin URI: https://www.tracemyip.org 13 12 14 The Official [TraceMyIP](https://www.tracemyip.org?wpp=readme_description) visitor IP tracker and page view counter. IP location tracker, IP blocker, visitor email alerts, stats counter, GDPR analytics and statistics 15 16 == Description == 17 18 TraceMyIP Visitor IP Stats Tracker plugin features easy wordpress website analytics, visitor IP tracking with email alerts, post views counting, visitor IP blocking, IP redirecting, and IP access control. 19 20 = Powerful features that help to stay in control of website visitations = 21 22 **Optimized for current web technology** - accurately capturing all real-time website visitor interaction 23 24 * [WordPress Blog Visitor IP Tracking and Analytics](https://www.tracemyip.org/website-analytics.htm?wpp=readme_txt) 25 * [Website Visits Email Alerts](https://www.tracemyip.org/website-visitors-alerts.htm?wpp=readme_txt) 26 * [Page Visitor IP Blocking and Control](https://www.tracemyip.org/learn/how-to-block-an-ip-address-1017/?wpp=readme_txt) 27 * [WordPress Link Tracking](https://www.tracemyip.org/tools/link-click-tracker-ad-clicks-counter-ip-blocker/?wpp=readme_txt) 28 * [Tracking WordPress Visitor IP changes and Visitor Tagging](https://www.tracemyip.org/tools/online-address-book-web-contact-list/?wpp=readme_txt) 13 Comprehensive visitor IP tracking and website analytics solution with real-time statistics, page view counting, and customizable email alerts. Monitor, block, and control visitor access with detailed IP analytics. 14 15 == TWO Independent Visitor Tracking Systems Included == 16 17 **1. Cloud-Based SaaS Tracking** 18 Embed a tracker code into your site and access full-featured analytics via the TraceMyIP SaaS console — integrated directly within your WordPress admin. 19 20 **2. Local "UnFiltered Stats" Tracker** 21 A standalone, compact tracking system that logs visitor activity directly inside your WordPress dashboard, with no external connections required to log the page views. 22 23 == FEATURE HIGHLIGHTS == 24 * **All your sites. No-Delays stats. All on the primary SaaS dashboard.** 25 * [UnFiltered Stats Tracker](https://www.tracemyip.org/tools/link-click-tracker-ad-clicks-counter-ip-blocker/?wpp=readme_txt) - instantly view behind-the-scenes activity right inside WordPress, including key server requests like post, page, and article views, scraping attempts, AD and tracking blocked page views, IPv4 and IPv6 connections (hosting server must have IPv6 support), ghost traffic and traffic trends — directly on your WordPress dashboard. 26 * [WordPress Blog **Visitor IP Tracking** and Analytics](https://www.tracemyip.org/website-analytics.htm?wpp=readme_txt) 27 * [Website Visits **Email Alerts**](https://www.tracemyip.org/website-visitors-alerts.htm?wpp=readme_txt) 28 * [Page **Visitor IP** Blocking and Control](https://www.tracemyip.org/learn/how-to-block-an-ip-address-1017/?wpp=readme_txt) 29 * [WordPress individual **Link Tracking**](https://www.tracemyip.org/tools/link-click-tracker-ad-clicks-counter-ip-blocker/?wpp=readme_txt) 30 * [Tracking WordPress **Visitor IP changes** and **Visitor Tagging**](https://www.tracemyip.org/tools/online-address-book-web-contact-list/?wpp=readme_txt) 29 31 * [EU GDPR Compliant Website and Blog Tracking](https://www.tracemyip.org/GDPR-compliant-website-tracking-software.htm?wpp=readme_txt) 30 32 * [Cookieless Tracking for WordPress](https://www.tracemyip.org/tools/cookie-free-tracking-analytics-eu-cookie-law-solution/) 31 * Provides additional features and targeted IP data to complement and associate with built-in dashboard statistics, Google Analytics, Semrush, Adobe Analytics, Statcounter, Clicky, Matomo Analytics and others. The IP address data can be matched to other stats packages and tagged to provide visit history data for specific site visits. 33 * **Provides additional features** and targeted IP data to **complement built-in dashboard statistics** and popular analytics tools such as *Google Analytics, Semrush, Adobe Analytics, Statcounter, Clicky, Matomo Analytics, Plausible, Fathom Analytics, Piwik PRO, Heap, Mixpanel, Amplitude, cPanel Analytics*, and more. 34 35 IP address data can be matched with other statistics platforms and tagged to reveal visit history for individual site visitors. 36 37 == Description == 38 39 **Trace My IP** is the ultimate WordPress plugin for visitor tracking, IP analytics, and website statistics. Get detailed insights about your visitors including: 40 41 - Real-time **IP tracking** and geolocation data 42 - Accurate **page views counter** and **post views counter** 43 - Customizable **email alerts** for visitor activity 44 - Advanced **visitor statistics** and **website analytics** 45 - Powerful **IP blocker** and access control features 46 - Comprehensive **visitor stats** dashboard 47 48 == Key Features == 49 50 = Visitor Tracking & IP Analytics = 51 - Complete **visitor IP tracker** with detailed location data 52 - Advanced **website analytics** and traffic statistics 53 - **Page views tracker** with historical data 54 - **Post views counter** for individual content analysis 55 56 = Access Control & Alerts = 57 - **IP blocker** to restrict unwanted visitors 58 - Custom rules for **IP access control** 59 - Instant **email alerts** for specific visitor actions 60 - Automated notifications for suspicious activity 61 62 = Statistics & Reporting = 63 - Comprehensive **visitor statistics** dashboard 64 - Detailed **website analytics** reports 65 - **Hits counter** with traffic trends analysis 66 - Exportable **stats** for further analysis 67 68 == Why Choose Trace My IP? == 69 70 **Optimized for accuracy:** Captures genuine user interactions while excluding bots, scrapers, and artificial traffic. Our advanced **IP tracker** provides the most reliable **visitor statistics** available. 71 72 **Complete visitor insights:** From basic **page views counter** to advanced **website analytics**, get all the data you need in one powerful plugin. 73 74 **Stay in control:** With our **IP blocker** and **email alerts**, you'll always know who's accessing your site and can take immediate action when needed. 32 75 33 76 == Installation == 34 77 35 TraceMyIP features like WordPress visitor IP tracking, website statistics, and visitor email alerts with an IP control are instantly activated by activating a TraceMyIP.org console 78 TraceMyIP features such as WordPress visitor IP tracking, website statistics, and visitor email alerts with IP control are activated by registering for access to your Trace My IP Console at TraceMyIP.org. 79 80 The built-in UnFiltered Stats Tracker is enabled immediately upon plugin installation. 36 81 37 82 **The installation consists of 3 simple steps:** … … 39 84 **1.** Install the WordPress TraceMyIP plugin 40 85 41 **2.** Register at www.tracemyip.org get a WordPress site visitor tracker code and console access. Multiple sites are managed under the sameconsole.86 **2.** Register at www.tracemyip.org to get a WordPress site visitor tracker code and console access. Multiple sites are managed under the same analytics console. 42 87 43 88 **3.** Place the code into the "Visitor Tracker Code" input box at the bottom of the TraceMyIP WordPress plugin settings page 44 89 45 **That's all**! Now login to your TraceMyIP account and instantly observe website visitor activity in real-time. 46 47 **Detailed steps to enable TraceMyIP.org tools for WordPress:** 48 90 **That's ALL**! Now login to your TraceMyIP.org account and instantly observe website visitor activity in real-time. 91 92 **Detailed steps to enable ALL TraceMyIP features and tools for WordPress:** 93 94 * Install **Trace My IP** Wordpress plugin to instantly activate **UnFiltered Stats** Tracking. The settings can be set under the main TraceMyIP menu. 49 95 * [**Sign Up**](https://www.tracemyip.org/tools/website-visitors-counter-traffic-tracker-statistics/index.php?sto=1&wpp=readme_txt) at TraceMyIP.org by selecting a Visitor Tracker style or click on the [**Add a New Project**] menu button of an existing TraceMyIP console account. 50 96 * **Generate a Website Visitor Tracker code** with TraceMyIP.org. If the code is lost, log-in to your TraceMyIP console, go to "**My Projects**" page, and click on the "**tracker code**" link to recover your code. 51 * **Install TraceMyIP plugin for WordPress** and go to the plugin settings page using the WordPress dashboard menu 52 * **Paste the TraceMyIP Visitor Tracker code** into the [**visitor tracker code**] input box and click on the Update Settings button below 97 * Navigate to **TraceMyIP** plugin **Tracker Settings** settings page using the WordPress dashboard menu and **Paste the TraceMyIP Visitor Tracker code** into the [**visitor tracker code**] input box and click on the Update Settings button below 53 98 * **Verify** that the Visitor Tracker icon shows up on **ALL** pages of your WordPress site, including the mobile pages 54 99 * **If you need visitor IP blocking**, redirecting, and page access controls, generate a **Page Tracker Code** within your TraceMyIP project and place the code into the [**Page Tracker Code**] input box using the TraceMyIP plugin settings page 55 * **To access the TraceMyIP console**, login to your WordPress and go to [Dashboard] => [TraceMyIP Reports]. If your browser is not displaying reports from WordPress dashboard, open a new browser tab and login directly at [**TraceMyIP.org**](https://www.tracemyip.org/?wpp=readme_txt) 100 * **To access the TraceMyIP console**, login to your WordPress and go to [Dashboard] => [TraceMyIP Reports]. 101 *Note: If your browser is not displaying reports from WordPress dashboard, open a new browser tab and login directly at* [**TraceMyIP.org**](https://www.tracemyip.org/?wpp=readme_txt) 56 102 * To configure GDPR Compliance Tools, log in to TraceMyIP.org and navigate to [My Account] => [Advanced Tracking Settings] 57 103 … … 172 218 14. New visitor activity audio alerts with custom sound patterns. Set the threshold for the number of visitors across all monitored websites to trigger a sound alert. 173 219 220 == Upgrade Notice == 221 222 = Version 2.68 = 223 * Notice: New methods in plugin WP database utilization. Please generate your site database backup 224 225 = Version 2.54 = 226 * Notice: Improved compatibility with current version of WordPress. Recommended full site backup before upgrade. 227 228 = Version 2.11 = 229 * Notice: Consequent versions will require PHP 7.2 or higher. 230 174 231 == Changelog == 232 233 = Version 2.68 = 234 - NEW! UnFiltered Stats Module tracking system for WordPress (BETA Release) 235 (Feature set is subject to changes at any time) 236 - Omptimized the SaaS primary console responsiveness 237 - Integration of UnFiltered Stats module with SaaS tracking 238 - Added options to selectively enable UnFiltered Stats dashboard widgets 239 - Added Bitcoin payments support for premium subscriptions 240 - Added new definitions for bots and scrapers 241 - Added definitions for AD blocking tracker requests 175 242 176 243 = Version 2.67 = -
tracemyip-visitor-analytics-ip-tracking-control/trunk/uninstall.php
r3127659 r3308115 3 3 require_once(__DIR__.DIRECTORY_SEPARATOR.'TraceMyIP-Wordpress-Plugin.php'); 4 4 require_once(__DIR__.DIRECTORY_SEPARATOR.'includes'.DIRECTORY_SEPARATOR.'functions.php'); 5 require_once(__DIR__.DIRECTORY_SEPARATOR.'languages'.DIRECTORY_SEPARATOR.'en.php'); 5 require_once(__DIR__.DIRECTORY_SEPARATOR.'languages'.DIRECTORY_SEPARATOR.'en.php'); /* Load plugin constants */ 6 6 7 // TraceMyIP Plugin clean up 7 8 tmip_static_urls(); 8 9 if (function_exists('is_multisite') and is_multisite()){ … … 21 22 tmip_reset_delete_plugin_data(3); 22 23 } 24 25 26 // TraceMyIP > unfiltered Stats clean up 052425122331 27 class TMIP_Local_Stats_Uninstaller { 28 29 public static function uninstall() { 30 global $wpdb; 31 32 // Drop custom tables 33 $tables = array( 34 $wpdb->prefix . 'tmip_lc_views', 35 $wpdb->prefix . 'tmip_lc_daily_stats', 36 $wpdb->prefix . 'tmip_lc_post_stats' 37 ); 38 39 foreach ($tables as $table) { 40 $wpdb->query("DROP TABLE IF EXISTS $table"); 41 } 42 43 // Include config file to get settings definitions 44 require_once plugin_dir_path(__FILE__) . 'includes/local_stats/ls-config.php'; 45 46 // Get all settings fields 47 $settings_fields = TMIP_Local_Stats_Config::SETTINGS_FIELDS; 48 49 // Delete all plugin settings 50 foreach ($settings_fields as $key => $setting) { 51 delete_option('tmip_lc_' . $key); 52 } 53 54 // Delete custom post type settings for each public CPT 55 $cpts = get_post_types(['public' => true, '_builtin' => false]); 56 foreach ($cpts as $cpt) { 57 $cpt_settings = TMIP_Local_Stats_Config::get_cpt_settings($cpt); 58 foreach ($cpt_settings as $key => $setting) { 59 delete_option('tmip_lc_' . $key); 60 } 61 } 62 63 delete_option(TMIP_Local_Stats_Config::DB_VERSION_OPTION); 64 65 // Clear any scheduled hooks 66 wp_clear_scheduled_hook('tmip_lc_daily_cleanup'); 67 68 // Optional: Delete any transients 69 $wpdb->query( 70 "DELETE FROM $wpdb->options 71 WHERE option_name LIKE '_transient_tmip_%' 72 OR option_name LIKE '_transient_timeout_tmip_%'" 73 ); 74 } 75 } 76 77 TMIP_Local_Stats_Uninstaller::uninstall(); 78 79 23 80 ?>
Note: See TracChangeset
for help on using the changeset viewer.