Plugin Directory

Changeset 2522951


Ignore:
Timestamp:
04/28/2021 07:46:34 PM (5 years ago)
Author:
yehudah
Message:

Fix: Call to undefined function is_plugin_active()
Update: Menu Name
Update: Readme file

Location:
metrics-query/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • metrics-query/trunk/admin/setup.php

    r2248834 r2522951  
    4040            if ( current_user_can( 'manage_options' ) ) {
    4141                include ( METRICS_QUERY_DIR . 'admin/settings.php' );
    42                 add_menu_page( __( "Google Analytics", 'google-analytics-board' ), __( "Google Analytics", 'google-analytics-board' ), 'manage_options', 'gadwp_settings', array( 'GADWP_Settings', 'general_settings' ), version_compare( $wp_version, '3.8.0', '>=' ) ? 'dashicons-chart-area' : METRICS_QUERY_URL . 'admin/images/gadwp-icon.png' );
     42                add_menu_page( __( "Google Analytics", 'google-analytics-board' ), __( "Metrics Query", 'google-analytics-board' ), 'manage_options', 'gadwp_settings', array( 'GADWP_Settings', 'general_settings' ), version_compare( $wp_version, '3.8.0', '>=' ) ? 'dashicons-chart-area' : METRICS_QUERY_URL . 'admin/images/gadwp-icon.png' );
    4343                add_submenu_page( 'gadwp_settings', __( "General Settings", 'google-analytics-board' ), __( "General Settings", 'google-analytics-board' ), 'manage_options', 'gadwp_settings', array( 'GADWP_Settings', 'general_settings' ) );
    4444                add_submenu_page( 'gadwp_settings', __( "Backend Settings", 'google-analytics-board' ), __( "Backend Settings", 'google-analytics-board' ), 'manage_options', 'gadwp_backend_settings', array( 'GADWP_Settings', 'backend_settings' ) );
  • metrics-query/trunk/gadwp.php

    r2248834 r2522951  
    44 * Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
    55 * Author: Yehuda Hassine
    6  * Version: 1.0.1
     6 * Version: 1.0.2
    77 * Author URI: https://wpplugins.net/metrics-query/
    88 * Text Domain: google-analytics-board
     
    271271
    272272function mb_check_for_gadwp() {
     273    if ( ! function_exists( 'is_plugin_active' ) ) {
     274        require_once ABSPATH . '/wp-admin/includes/plugin.php';
     275    }
     276
    273277    if ( is_plugin_active( 'google-analytics-dashboard-for-wp/gadwp.php' ) ) {
    274278
  • metrics-query/trunk/readme.txt

    r2248834 r2522951  
    11=== Metrics Query ===
    22Contributors: yehudah
    3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@myinbox.in&item_name=Donation+for+metrics+query
     3Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehudahas@gmail.com&item_name=Donation+for+metrics+query
    44Tags: gadwp,analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget,gtag
    55Requires at least: 3.5
    6 Tested up to: 5.3.2
    7 Stable tag: 1.0.1
     6Tested up to: 5.7.1
     7Stable tag: 1.0.2
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    1717In addition to a set of general Google Analytics stats, in-depth Page reports and in-depth Post reports allow further segmentation of your analytics data, providing performance details for each post or page from your website.
    1818
    19 The Google Analytics tracking code is fully customizable through options and hooks, allowing advanced data collection like custom dimensions and events.   
     19The Google Analytics tracking code is fully customizable through options and hooks, allowing advanced data collection like custom dimensions and events.
    2020
    2121= Credits =
     
    2727Google Analytics reports, in real-time, in your dashboard screen:
    2828
    29 - Real-time number of visitors 
     29- Real-time number of visitors
    3030- Real-time acquisition channels
    31 - Real-time traffic sources details 
     31- Real-time traffic sources details
    3232
    3333= Google Analytics Reports =
    3434
    35 The Google Analytics reports you need, on your dashboard, in your All Posts and All Pages screens, and on site's frontend: 
     35The Google Analytics reports you need, on your dashboard, in your All Posts and All Pages screens, and on site's frontend:
    3636
    3737- Sessions, organic searches, page views, bounce rate analytics stats
     
    6464
    6565Google Analytics Dashboard for WP enables you to easily track events like:
    66  
     66
    6767- Downloads
    68 - Emails 
     68- Emails
    6969- Outbound links
    7070- Affiliate links
     
    9797
    9898- Google Tag Manager basic tracking
    99 - Google Analytics basic tracking 
     99- Google Analytics basic tracking
    100100- Automatically removes <em>amp/</em> from Google Analytics tracking page URL
    101101- Scrolling depth tracking
     
    1251256. Go to Google Analytics -> Tracking Code to configure/enable/disable tracking.
    126126
    127 == Frequently Asked Questions == 
     127== Frequently Asked Questions ==
    128128
    129129= Do I have to insert the Google Analytics tracking code manually? =
     
    151151== Changelog ==
    152152
     153= 1.0.2 =
     154Fix: Call to undefined function is_plugin_active()
     155Update: Menu Name
     156Update: Readme file
     157
    153158= 1.0.1 =
    154159Change domain name
Note: See TracChangeset for help on using the changeset viewer.