Changeset 3272282
- Timestamp:
- 04/14/2025 10:57:10 AM (12 months ago)
- Location:
- jg-website-analytics
- Files:
-
- 49 added
- 3 edited
-
assets/banner-1544x500.jpg (added)
-
assets/banner-772x250.jpg (added)
-
assets/icon-256x256.jpg (added)
-
assets/icon-512x512.jpg (added)
-
assets/screenshot-1.jpg (added)
-
assets/screenshot-2.jpg (added)
-
trunk/LICENCE.txt (added)
-
trunk/README.txt (modified) (4 diffs)
-
trunk/assets (added)
-
trunk/assets/css (added)
-
trunk/assets/css/dataTables.css (added)
-
trunk/assets/css/dataTables.min.css (added)
-
trunk/assets/css/jg-website-analytics-admin-min.css (added)
-
trunk/assets/css/jg-website-analytics-admin.css (added)
-
trunk/assets/css/jg-website-analytics-public.css (added)
-
trunk/assets/img (added)
-
trunk/assets/img/JG_logo.png (added)
-
trunk/assets/img/chosen-sprite.png (added)
-
trunk/assets/img/jumping-giraffe-logo-23x20.png (added)
-
trunk/assets/img/jumping-giraffe-logo@2x.png (added)
-
trunk/assets/img/jumpinggiraffe-icon-20x20.png (added)
-
trunk/assets/img/jumpinggiraffe-icon-menu.png (added)
-
trunk/assets/img/jumpinggiraffe-icon-menu@2x.png (added)
-
trunk/assets/jgwa_geoip_data.bin (added)
-
trunk/assets/js (added)
-
trunk/assets/js/chart.js (added)
-
trunk/assets/js/chart.umd.js (added)
-
trunk/assets/js/chartjs-plugin-annotation.js (added)
-
trunk/assets/js/chartjs-plugin-annotation.min.js (added)
-
trunk/assets/js/dataTables.js (added)
-
trunk/assets/js/dataTables.min.js (added)
-
trunk/assets/js/jg-website-analytics-admin-min.js (added)
-
trunk/assets/js/jg-website-analytics-admin.js (added)
-
trunk/assets/js/jg-website-analytics-public-min.js (added)
-
trunk/assets/js/jg-website-analytics-public.js (added)
-
trunk/assets/js/track-visitor-min.js (added)
-
trunk/assets/js/track-visitor.js (added)
-
trunk/includes/class-jg-website-analytics-activator.php (added)
-
trunk/includes/class-jg-website-analytics-admin.php (added)
-
trunk/includes/class-jg-website-analytics-deactivator.php (added)
-
trunk/includes/class-jg-website-analytics-helpers.php (added)
-
trunk/includes/class-jg-website-analytics-i18n.php (added)
-
trunk/includes/class-jg-website-analytics-loader.php (added)
-
trunk/includes/class-jg-website-analytics-public.php (added)
-
trunk/includes/class-jg-website-analytics.php (added)
-
trunk/jg-website-analytics.php (modified) (3 diffs)
-
trunk/templates (added)
-
trunk/templates/jg-website-analytics-admin-popup.php (added)
-
trunk/templates/jg-website-analytics-admin.php (added)
-
trunk/templates/jg-website-analytics-email.php (added)
-
trunk/templates/jg-website-analytics-public.php (added)
-
trunk/uninstall.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jg-website-analytics/trunk/README.txt
r3251039 r3272282 1 1 === JG Website Analytics === 2 Contributors: StuartCole3 Tags: analytics, stats, Google Analytics, Website Analytics2 Contributors: Jumping Giraffe Ltd 3 Tags: analytics, stats, Google Analytics, visitor analytics, Website Analytics 4 4 Requires at least: 5.7 5 Requires PHP: 5.4 6 Tested up to: 6.6.1 7 Stable tag: 0.4.2 5 Tested up to: 6.9 6 Stable tag: 1.0.0 8 7 License: GPLv2 or later 9 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 25 24 Reporting on how your visitors use your website is only the first version of the plugin, it will do so much more in the future which will also help increase user experience for your visitors but also increase the volume of traffic to your website. 26 25 27 What this plugin will do: 26 = What this plugin will do = 28 27 29 28 * Record 100% of the visitors to your website … … 37 36 There is no need for complicated configuration or settings to get going, as soon as the plugin is "Activated" it will start recording your visitors and you can start using JG Website Analytics. 38 37 39 = Real Time Visitors :=38 = Real Time Visitors = 40 39 Find out exactly how many visitors you have on your website with our LIVE Real Time Visitors. 41 40 Did you know that Google Analytics can't show who is on your website right now! It can only show how many visitors have come to your website in the last 30 minutes. Not very helpful. 42 41 With JG Website Analytics you can see how many people are on your site now and what pages they are looking at. 43 42 44 = WooCommerce Analytics :=43 = WooCommerce Analytics = 45 44 JG Website Analytics will not only produce in-depth visitor analytics for your WordPress blog but also for every page of your WooCommerce e-commerce shop. A powerful tool to identify your best selling products. 46 45 47 = Privacy Protected :=46 = Privacy Protected = 48 47 We value everyone's privacy as, well, private and that is how it should be. JG Website Analytics will not store any personal data. 49 48 … … 80 79 == Screenshots == 81 80 81 1. Showing live visitors currently on the site and where they came from. Also the main graph, in this case showing the last 30 days traffic. 82 2. Tables showing the last 30 days worth of traffic to the site split up by Country, Device and Browser. There are additional tables showing all referrers and Pages landed on as well as linked internally. 83 82 84 == Changelog == 83 85 84 = 1.0 = 85 * First version live 86 86 Please see detailed change log at https://jumpinggiraffe.com/product/website-analytics/ -
jg-website-analytics/trunk/jg-website-analytics.php
r3251039 r3272282 1 1 <?php 2 2 3 /** 3 4 * @wordpress-plugin 4 5 * Plugin Name: JG Website Analytics 5 * Plugin URI: https://jumpinggiraffe.com/ analyse-visitors/6 * Description: Website analytics functions you normally pay for, but for free: live visitors, pagesviews, referrers, customer insight, improve your site!7 * Version: 0.4.26 * Plugin URI: https://jumpinggiraffe.com/jg-website-analytics/ 7 * Description: An easy to use, privacy focused website analytics plugin that boasts functionality that only paid analytics tools provide. 8 * Version: 1.0.0 8 9 * Author: Jumping Giraffe Ltd 9 10 * Author URI: https://jumpinggiraffe.com/ 10 * @since 1.0.011 * @since 0.1.0 11 12 * @package jgwa_website_analytics 12 13 * Text Domain: jg-website-analytics … … 16 17 * 17 18 * JG Website Analytics 18 * Copyright (C) 2023 Jumping Giraffe Ltd 19 * 20 * This program is free software: you can redistribute it and/or modify 21 * it under the terms of the GNU General Public License as published by 22 * the Free Software Foundation, either version 3 of the License, or 23 * (at your option) any later version. 24 * 25 * This program is distributed in the hope that it will be useful, 26 * but WITHOUT ANY WARRANTY; without even the implied warranty of 27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 * GNU General Public License for more details. 29 * 30 * You should have received a copy of the GNU General Public License 31 * along with this program. If not, see <http://www.gnu.org/licenses/>. 19 * Copyright (C) 2025 Jumping Giraffe Ltd 32 20 */ 33 21 34 if ( ! defined( 'ABSPATH' ) ) { 35 exit; // Exit if accessed directly. 22 namespace jgwa_website_analytics; 23 24 // If this file is called directly, abort. 25 if ( ( ! defined( 'WPINC' ) ) OR ( ! defined('ABSPATH' ) ) ) 26 die; 27 28 define( 'JGWA_NAME', 'JG Website Analytics WordPress Plugin' ); 29 define( 'JGWA_ID', 'jgwa_website_analytics' ); 30 define( 'JGWA_ID_HYPHEN', 'jg-website-analytics' ); 31 define( 'JGWA_VERSION', '1.0.0' ); 32 define( 'JGWA_PATH', plugin_dir_path(__FILE__) ); 33 define( 'JGWA_URL', plugin_dir_url(__FILE__) ); 34 define( 'JGWA_HOME', home_url() ); 35 define( 'JGWA_SITE', site_url() ); 36 37 function jgwa_website_analytics_activate() { 38 require_once plugin_dir_path( __FILE__ ) . 'includes/class-jg-website-analytics-activator.php'; 39 JGWA_Website_Analytics_Activator::activate(); 36 40 } 37 41 38 $jgwa_plugin = 'jg-website-analytics'; 42 function jgwa_website_analytics_deactivate() { 43 require_once plugin_dir_path( __FILE__ ) . 'includes/class-jg-website-analytics-deactivator.php'; 44 JGWA_Website_Analytics_Deactivator::deactivate(); 45 } 46 register_activation_hook( __FILE__, 'jgwa_website_analytics\jgwa_website_analytics_activate' ); 47 //register_deactivation_hook( __FILE__, 'jgwa_website_analytics\jgwa_website_analytics_deactivate' ); 39 48 40 define( 'JGWA_NAME', 'JG Website Analytics WordPress Plugin' ); 41 define( 'JGWA_ID', 'JG_website_analytics' ); 42 define( 'JGWA_ID_HYPHEN', $jgwa_plugin ); 43 define( 'JGWA_VERSION', '0.4.2' ); 44 define( 'JGWA_PATH', plugin_dir_path( __FILE__ ) ); 45 define( 'JGWA_URL', plugin_dir_url( __FILE__ ) ); 46 define( 'JGWA_HOME', home_url() ); 47 define( 'JGWA_SITE', site_url() ); 48 define( 'JGWA_PLAN', '1' ); 49 50 function jgwa_activate_website_analytics() { 51 52 require_once plugin_dir_path( __FILE__ ) . 'includes/jg-website-analytics-activator.php'; 53 JGWA_Website_Analytics_Activator::activate(); 54 } 55 register_activation_hook( __FILE__, 'jgwa_activate_website_analytics' ); 56 57 require plugin_dir_path( __FILE__ ) . 'includes/jg-website-analytics.php'; 49 require plugin_dir_path( __FILE__ ) . 'includes/class-jg-website-analytics.php'; 58 50 59 51 /** … … 62 54 * @since 0.1.0 63 55 */ 64 function jgwa_run_website_analytics() { 65 66 $plugin = new JGWA_Website_Analytics(); 56 function jgwa_website_analytics_run() { 57 $plugin = new JGWA_website_analytics(); 67 58 $plugin->run(); 68 59 } 69 jgwa_ run_website_analytics();60 jgwa_website_analytics_run(); -
jg-website-analytics/trunk/uninstall.php
r3251039 r3272282 7 7 * @author Jumping Giraffe Ltd 8 8 */ 9 10 namespace jgwa_website_analytics; 9 11 10 12 if ( ! defined( 'ABSPATH' ) ) { … … 18 20 * 19 21 */ 20 //jgwa_website_analytics_clean_db(); // Commented out ready for future function of choosing to delete or not on uninstall. 21 function jgwa_website_analytics_ clean_db() {22 global $wpdb;22 jgwa_website_analytics_uninstall(); 23 function jgwa_website_analytics_uninstall() { 24 global $wpdb; 23 25 $t = esc_sql($wpdb->prefix . 'JG_website_analytics_totals'); 24 26 $wpdb->query("DROP TABLE IF EXISTS `$t`"); 25 27 $t = esc_sql($wpdb->prefix . 'JG_website_analytics_visitor'); 26 28 $wpdb->query("DROP TABLE IF EXISTS `$t`"); 29 $t = esc_sql($wpdb->prefix . 'JG_website_analytics_page_totals'); 30 $wpdb->query("DROP TABLE IF EXISTS `$t`"); 31 32 $table = 'jg_table_exists_' . $wpdb->prefix . 'JG_website_analytics_totals'; 33 delete_option($table); 34 $table = 'jg_table_exists_' . $wpdb->prefix . 'JG_website_analytics_visitor'; 35 delete_option($table); 36 $table = 'jg_table_exists_' . $wpdb->prefix . 'JG_website_analytics_page_totals'; 37 delete_option($table); 27 38 }
Note: See TracChangeset
for help on using the changeset viewer.