Changeset 3243564
- Timestamp:
- 02/20/2025 02:21:16 AM (14 months ago)
- Location:
- yooanalytics/trunk
- Files:
-
- 7 edited
-
build/index-rtl.css (modified) (1 diff)
-
build/index.asset.php (modified) (1 diff)
-
build/index.css (modified) (1 diff)
-
includes/yoo-track.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
src/index.css (modified) (1 diff)
-
yooanalytics.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yooanalytics/trunk/build/index-rtl.css
r3242117 r3243564 1 1 @import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap); 2 :root{--growth-green:#e8f5e9;--growth-red:#ffebee}#wpbody,#wpbody span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-right:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;bottom:7px;overflow-y:auto;position:fixed;top:40px;width:250px }.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-left:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;margin-right:250px;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-left:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;right:7px;position:absolute;left:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-right:3px}.yoo-menu-item .yoo-coming-soon-chip{float:left;margin-left:25px}.yoo-stats-box{border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{right:50%;position:absolute;text-align:center;top:50%;transform:translate(50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-top-referers-card{min-height:253px}.yoo-search-engines-card img{margin-left:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:left}.yoo-search-engines-card tr,.yoo-top-referers-card tr{line-height:25px}.yoo-toast-notification{margin-top:25px}.yoo-dashboard-cards.yoo-dashboard-stats{background:#fafafa;border-radius:7px;height:641px;width:100%}.yoo-dashboard-stats-tooltip,.yoo-top-referers-card tr{cursor:pointer}2 :root{--growth-green:#e8f5e9;--growth-red:#ffebee}#wpbody,#wpbody span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-right:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;bottom:7px;overflow-y:auto;position:fixed;top:40px;width:250px;z-index:99}.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-left:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;margin-right:250px;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-left:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;right:7px;position:absolute;left:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-right:3px}.yoo-menu-item .yoo-coming-soon-chip{float:left;margin-left:25px}.yoo-stats-box{border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{right:50%;position:absolute;text-align:center;top:50%;transform:translate(50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-top-referers-card{min-height:253px}.yoo-search-engines-card img{margin-left:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:left}.yoo-search-engines-card tr,.yoo-top-referers-card tr{line-height:25px}.yoo-toast-notification{margin-top:25px}.yoo-dashboard-cards.yoo-dashboard-stats{background:#fafafa;border-radius:7px;height:641px;width:100%}.yoo-dashboard-stats-tooltip,.yoo-top-referers-card tr{cursor:pointer} 3 3 @keyframes react-loading-skeleton{to{transform:translateX(-100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:var( 4 4 --custom-highlight-background,linear-gradient(-90deg,var(--base-color) 0,var(--highlight-color) 50%,var(--base-color) 100%) -
yooanalytics/trunk/build/index.asset.php
r3242117 r3243564 1 <?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => ' a144719dedecbe839206');1 <?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => 'b2ea5e2f60ec740c91e2'); -
yooanalytics/trunk/build/index.css
r3242117 r3243564 1 1 @import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap); 2 :root{--growth-green:#e8f5e9;--growth-red:#ffebee}#wpbody,#wpbody span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-left:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;bottom:7px;overflow-y:auto;position:fixed;top:40px;width:250px }.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-right:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;margin-left:250px;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-right:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;left:7px;position:absolute;right:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-left:3px}.yoo-menu-item .yoo-coming-soon-chip{float:right;margin-right:25px}.yoo-stats-box{border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-top-referers-card{min-height:253px}.yoo-search-engines-card img{margin-right:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:right}.yoo-search-engines-card tr,.yoo-top-referers-card tr{line-height:25px}.yoo-toast-notification{margin-top:25px}.yoo-dashboard-cards.yoo-dashboard-stats{background:#fafafa;border-radius:7px;height:641px;width:100%}.yoo-dashboard-stats-tooltip,.yoo-top-referers-card tr{cursor:pointer}2 :root{--growth-green:#e8f5e9;--growth-red:#ffebee}#wpbody,#wpbody span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-left:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;bottom:7px;overflow-y:auto;position:fixed;top:40px;width:250px;z-index:99}.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-right:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;margin-left:250px;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-right:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;left:7px;position:absolute;right:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-left:3px}.yoo-menu-item .yoo-coming-soon-chip{float:right;margin-right:25px}.yoo-stats-box{border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-top-referers-card{min-height:253px}.yoo-search-engines-card img{margin-right:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:right}.yoo-search-engines-card tr,.yoo-top-referers-card tr{line-height:25px}.yoo-toast-notification{margin-top:25px}.yoo-dashboard-cards.yoo-dashboard-stats{background:#fafafa;border-radius:7px;height:641px;width:100%}.yoo-dashboard-stats-tooltip,.yoo-top-referers-card tr{cursor:pointer} 3 3 @keyframes react-loading-skeleton{to{transform:translateX(100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:var( 4 4 --custom-highlight-background,linear-gradient(90deg,var(--base-color) 0,var(--highlight-color) 50%,var(--base-color) 100%) -
yooanalytics/trunk/includes/yoo-track.php
r3241354 r3243564 47 47 */ 48 48 public function track_visitor() { 49 $page_id = get_the_ID(); 49 50 $referer_url = yooanalytics_get_referer(); 50 51 $user_agent = yooanalytics_get_user_agent(); … … 52 53 53 54 if( 55 $page_id === 0 56 || 54 57 yooanalytics_is_bot( $user_agent ) 55 58 || … … 75 78 $wp_user_id = get_current_user_id() ? get_current_user_id() : 0; 76 79 $page_url = home_url( add_query_arg( NULL, NULL ) ); 77 $page_id = get_the_ID();78 80 79 81 /** -
yooanalytics/trunk/readme.txt
r3242117 r3243564 4 4 Requires at least: 4.9 5 5 Tested up to: 6.7 6 Stable tag: 0.1. 16 Stable tag: 0.1.2 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 12 12 13 13 == Description == 14 15 [Get Pro 👑](https://www.yooanalytics.com/?utm_source=wordpress&utm_medium=readme&utm_campaign=Get+Pro) | [ Just Install & Use. ] 14 16 15 17 YooAnalytics is a privacy friendly analytics plugin for WordPress & WooCommerce, YooAnalytics is alternative to Google Analytics. It helps you to track your visitors, views, online users, search engine referrers, referrers, search engines referrers, WooCommerce purchase events, WooCommerce checkout journey and much more. … … 49 51 == Changelog == 50 52 53 = 0.1.2 - Feb 20, 2025 = 54 * FIX 🐛 - 404 pages were also being tracked. 55 * FIX 🐛 - Logs were overlapping on YooAnalytics Menu. 56 51 57 = 0.1.1 - Feb 18, 2025 = 52 58 * NEW 🚀 - Now users can open Top referrers into new in just one click. 53 59 * TWEAK 🛠 - Moved YooAnalytics to 2nd position for better visibility & users' ease. 54 60 * TWEAK 🛠 - Pages Stats on YooAnalytics Dashboard set to show unlimited from 10 limit. 61 * TWEAK 🛠 - Set Instant refresh to 30 seconds from 30 minutes. 55 62 * FIX 🐛 - Last 30 Minutes Online users were not showing correctly. 56 63 * FIX 🐛 - Post ID was not shown to default post type on YooAnalytics Dashboard Pages Stats. -
yooanalytics/trunk/src/index.css
r3242117 r3243564 51 51 .yoo-menu { 52 52 background: #FAFAFA; 53 width: 250px;54 53 border-radius: 6px; 54 bottom: 7px; 55 55 overflow-y: auto; 56 56 position: fixed; 57 57 top: 40px; 58 bottom: 7px; 58 width: 250px; 59 z-index: 99; 59 60 } 60 61 -
yooanalytics/trunk/yooanalytics.php
r3242117 r3243564 5 5 * Plugin URI: https://yooanalytics.com 6 6 * Description: The Best Analytics Plugin for WordPress. 7 * Version: 0.1. 17 * Version: 0.1.2 8 8 * Author URI: https://coderpress.co 9 9 * Text Domain: yooanalytics … … 53 53 do_action( 'yoo_fs_loaded' ); 54 54 } 55 define( 'YOOANALYTICS_VERSION', '0.1. 1' );55 define( 'YOOANALYTICS_VERSION', '0.1.2' ); 56 56 define( 'YOOANALYTICS_DB_VERSION', '0.0.1' ); 57 57 define( 'YOOANALYTICS_PLUGIN_FILE', __FILE__ );
Note: See TracChangeset
for help on using the changeset viewer.