• Resolved Danilo Krdzic

    (@krdza93)


    So the problem I have is that my Woocommerce Reports show the correct data (84 orders, 119 products purchased, 14000eur revenue) but when I go to Woocommerce Analytics I see insane numbers (600 orders, 900 products purchased, 98000eur revenue). Shows orders on the dates that had 0 orders.

    Tried to clear cache on Woocommerce Status > Tools – did not help
    Cleared Transients as well.
    Reimported historical data and deleted it then, nothing happens.

    Found in DB I found “transient_wc_report” with some of the insane numbers, removed everything with “transient_wc_report” did not help either, it keeps “recreating” transients to the DB.

    How is possible to fix this? To completely remove analytics data and reimport historical data ?

Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @krdza93 ,

    Thanks for reaching out!

    I understand that you are seeing discrepancies in Analytics, and have tried a few troubleshooting steps to no avail, is this correct?

    I see that you have already tried clearing analytical cache and importing historical data, however, can you please do the following, in this exact order, and see if this resolves the issue:

    • Navigate to?Analytics?→?Settings, scroll down to?Date type?, and select?Date Created?on the dropdown:
    • Navigate to WooCommerce → Status → Tools, and click on Clear Analytics Cache
    • Import Historical Data

    If this makes no difference, please can you share the following:

    • System Status Report: navigate to WooCommerce → Status. Select Get system report and then Copy for support.
    • Fatal Error log: Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.

    Once you have these, please share them in your response here.

    Cheers!

    Thread Starter Danilo Krdzic

    (@krdza93)

    As said, did that but nothing works. Just in case I repeated the steps and still nothing. Here are the reports:

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://coway.dk
    Site address (URL): https://coway.dk
    WC Version: 7.8.2
    REST API Version: ? 7.8.2
    WC Blocks Version: ? 10.2.4
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: da_DK
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 8 MB
    PHP Time Limit: 150
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.38-MariaDB-0ubuntu0.20.04.1
    Max Upload Size: 8 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.8.2
    WC Database Prefix: cwd_
    Total Database Size: 418.16MB
    Database Data Size: 398.60MB
    Database Index Size: 19.56MB
    cwd_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    cwd_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    cwd_woocommerce_order_itemmeta: Data: 0.23MB + Index: 0.20MB + Engine InnoDB
    cwd_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    cwd_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_actionscheduler_actions: Data: 2.52MB + Index: 1.66MB + Engine InnoDB
    cwd_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_actionscheduler_logs: Data: 3.52MB + Index: 0.92MB + Engine InnoDB
    cwd_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_aws_cache: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    cwd_aws_index: Data: 0.14MB + Index: 0.09MB + Engine InnoDB
    cwd_borlabs_cookie_consent_log: Data: 2.52MB + Index: 0.25MB + Engine InnoDB
    cwd_borlabs_cookie_content_blocker: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    cwd_borlabs_cookie_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_borlabs_cookie_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_borlabs_cookie_script_blocker: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_borlabs_cookie_statistics: Data: 0.50MB + Index: 0.63MB + Engine InnoDB
    cwd_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    cwd_cli_cookie_scan_cookies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    cwd_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_cli_visitor_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_comments: Data: 0.17MB + Index: 0.16MB + Engine InnoDB
    cwd_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_e_submissions: Data: 0.05MB + Index: 0.27MB + Engine InnoDB
    cwd_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    cwd_e_submissions_values: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    cwd_iconic_woothumbs_cache: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    cwd_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    cwd_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    cwd_itsec_logs: Data: 3.52MB + Index: 0.58MB + Engine InnoDB
    cwd_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    cwd_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_itsec_webauthn_credentials: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_itsec_webauthn_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_jet_smart_filters_indexer: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_mailchimp_carts: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    cwd_mailchimp_jobs: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    cwd_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    cwd_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    cwd_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    cwd_nf3_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    cwd_nf3_action_meta: Data: 0.06MB + Index: 0.01MB + Engine MyISAM
    cwd_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    cwd_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    cwd_nf3_field_meta: Data: 0.24MB + Index: 0.04MB + Engine MyISAM
    cwd_nf3_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    cwd_nf3_form_meta: Data: 0.06MB + Index: 0.01MB + Engine MyISAM
    cwd_nf3_objects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    cwd_nf3_object_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    cwd_nf3_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    cwd_nf3_upgrades: Data: 0.20MB + Index: 0.00MB + Engine MyISAM
    cwd_options: Data: 6.47MB + Index: 0.17MB + Engine InnoDB
    cwd_pmxe_exports: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxe_google_cats: Data: 0.38MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxe_posts: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxi_hash: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxi_images: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxi_imports: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxi_posts: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    cwd_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_postmeta: Data: 224.55MB + Index: 6.03MB + Engine InnoDB
    cwd_posts: Data: 119.52MB + Index: 0.78MB + Engine InnoDB
    cwd_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cwd_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    cwd_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cwd_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_usermeta: Data: 4.52MB + Index: 4.03MB + Engine InnoDB
    cwd_users: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    cwd_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    cwd_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_wc_order_product_lookup: Data: 0.13MB + Index: 0.19MB + Engine InnoDB
    cwd_wc_order_stats: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    cwd_wc_order_tax_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    cwd_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    cwd_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wdr_order_item_discounts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cwd_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wfblockediplog: Data: 0.16MB + Index: 0.00MB + Engine InnoDB
    cwd_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cwd_wfconfig: Data: 0.50MB + Index: 0.00MB + Engine InnoDB
    cwd_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wffilemods: Data: 9.52MB + Index: 0.00MB + Engine InnoDB
    cwd_wfhits: Data: 1.52MB + Index: 0.22MB + Engine InnoDB
    cwd_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wfissues: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    cwd_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    cwd_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wflogins: Data: 0.41MB + Index: 0.13MB + Engine InnoDB
    cwd_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    cwd_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cwd_wfstatus: Data: 0.22MB + Index: 0.13MB + Engine InnoDB
    cwd_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_woocommerce_exported_csv_items: Data: 0.22MB + Index: 0.02MB + Engine InnoDB
    cwd_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wpmailsmtp_emails_log: Data: 1.52MB + Index: 0.03MB + Engine InnoDB
    cwd_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wpr_rocket_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cwd_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    cwd_wt_iew_action_history: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    cwd_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cwd_yoast_indexable: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    cwd_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cwd_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cwd_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cwd_yoast_seo_links: Data: 0.17MB + Index: 0.13MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 20
    acf-field-group: 2
    attachment: 840
    custom_css: 1
    elementor_library: 72
    elementor_snippet: 7
    itsec-dash-card: 16
    itsec-dashboard: 2
    jet-smart-filters: 1
    nav_menu_item: 98
    page: 38
    post: 40
    product: 25
    product_variation: 8
    resellers: 10
    revision: 5234
    shop_order: 125
    tm_global_cp: 1
    wp_global_styles: 1
    wp_navigation: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (36) ###
    
    Advanced Custom Fields PRO: by WP Engine – 6.1.6
    Avarda Checkout for WooCommerce: by Krokedil – 1.10.1
    Borlabs Cookie - Cookie Opt-in: by Borlabs GmbH – 2.2.64
    CheckoutWC: by Objectiv – 7.10.5
    Custom Post Type UI: by WebDevStudios – 1.13.7
    Disable Emails: by WebAware – 1.8.1
    GTM4WP: by Thomas Geiger – 1.16.2
    DynamicConditions: by RTO GmbH – 1.6.2
    Ele Custom Skin: by Dudaster.com – 3.1.7
    Elementor Pro: by Elementor.com – 3.14.0
    Elementor: by Elementor.com – 3.14.1
    Facebook for WooCommerce: by Facebook – 3.0.28
    Head & Footer Code: by Aleksandar Uro?evi? – 1.3.2
    Elementor Header & Footer Builder: by Brainstorm Force
    Nikhil Chavan – 1.6.14
    
    iThemes Security Pro: by iThemes – 7.3.3
    JetSmartFilters: by Crocoblock – 3.1.2
    Loco Translate: by Tim Whitlock – 2.6.4
    Mailchimp for WooCommerce: by Mailchimp – 3.0
    NitroPack: by NitroPack Inc. – 1.8.1
    Redirection: by John Godley – 5.3.10
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    UberMenu 3 - The Ultimate WordPress Mega Menu: by Chris Mavricos
    SevenSpark – 3.8.1
    
    Woo Discount Rules PRO 2.0: by Flycart – 2.5.4
    Woo Discount Rules: by Flycart – 2.6.1
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.0
    Product Feed PRO for WooCommerce: by AdTribes.io – 12.7.8
    Variation Swatches for WooCommerce - Pro: by Emran Ahmed – 2.0.21
    Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.24
    WooCommerce Customer/Order/Coupon CSV Import Suite: by SkyVerge – 3.11.0
    WooCommerce Email Test: by RaiserWeb – 1.2.2
    WooCommerce Sequential Order Numbers Pro: by SkyVerge – 1.19.0
    Extra Product Options & Add-Ons for WooCommerce: by ThemeComplete – 6.3.2
    WooCommerce: by Automattic – 7.8.2
    WooThumbs for WooCommerce by Iconic: by Iconic – 5.1.1
    Yoast SEO: by Team Yoast – 20.11
    WP Mail SMTP Pro: by WPForms – 3.3.0
    
    ### Inactive Plugins (3) ###
    
    Store Toolkit for WooCommerce: by Visser Labs – 2.3.8
    WooCommerce Google Analytics Pro: by SkyVerge – 1.10.0
    WP Rocket: by WP Media – 3.13.0.1
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: DKK (kr.)
    Currency Position: right
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ?
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### WC Pages ###
    
    Shop base: #18 - /butik/
    Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.
    My account: #21 - /mit-konto/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Hello Elementor Child
    Version: 1.0.1
    Author URL: https://elementor.com/
    Child Theme: ?
    Parent Theme Name: Hello Elementor
    Parent Theme Version: 2.8.1
    Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: hello-theme-child-master/woocommerce/cart/cart.php version 7.4.0 is out of date. The core version is 7.8.0
    Outdated Templates: ?
    					
    					
    						Learn how to update
    
    ### Avarda Checkout Request Log ###
    
    2023-06-12 12:29:20: ACO initialize payment
    Response code: 401
    Response message:
    
    2023-06-12 12:29:20: ACO create auth token
    Response code: 401
    Response message:
    
    2023-06-12 12:29:20: ACO initialize payment
    Response code: 401
    Response message:
    
    2023-06-12 12:29:20: ACO create auth token
    Response code: 401
    Response message:
    
    2023-06-12 12:02:48: ACO initialize payment
    Response code: 401
    Response message:
    
    2023-06-12 12:02:48: ACO create auth token
    Response code: 401
    Response message:
    
    2023-06-12 12:02:48: ACO initialize payment
    Response code: 401
    Response message:
    
    2023-06-12 12:02:48: ACO create auth token
    Response code: 401
    Response message:
    
    2023-06-12 10:49:18: ACO initialize payment
    Response code: 401
    Response message:
    
    2023-06-12 10:49:18: ACO create auth token
    Response code: 401
    Response message:
    
    2023-06-12 10:49:18: ACO initialize payment
    Response code: 401
    Response message:
    
    2023-06-12 10:49:18: ACO create auth token
    Response code: 401
    Response message:
    
    2023-06-12 10:45:28: ACO initialize payment
    Response code: 401
    Response message:
    
    2023-06-12 10:45:28: ACO create auth token
    Response code: 401
    Response message:
    
    2023-06-12 10:45:28: ACO initialize payment
    Response code: 401
    Response message:
    
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: core-profiler
    minified-js
    new-product-management-experience
    product-variation-management
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2023-07-17 09:56:31 +02:00
    Options: ?
    Notes: 35
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2023-06-20 08:14:42 +0200
    Newest: 2023-06-20 08:14:42 +0200
    
    Complete: 1,409
    Oldest: 2023-06-16 11:42:08 +0200
    Newest: 2023-07-17 11:27:23 +0200
    
    Failed: 6,061
    Oldest: 2023-04-21 21:31:06 +0200
    Newest: 2023-06-26 10:24:55 +0200
    
    Pending: 5
    Oldest: 2023-07-17 13:15:58 +0200
    Newest: 2023-07-21 16:50:56 +0200
    
    
    ### Status report information ###
    
    Generated at: 2023-07-17 11:27:57 +02:00
    `

    And there are no errors in the log. The last thing logged is about mail chimp subscriber, no fatal errors.

    2023-07-15T10:04:36+00:00 NOTICE action_scheduler.queue_job :: MailChimp_WooCommerce_Cart_Update queued :: obj_id f6a63f058219cfcfef0865b9d8e1899d
    2023-07-15T10:04:38+00:00 NOTICE abandoned_cart.success :: email: [email protected] :: checkout_url: /kassa/?mc_cart_id=f6a63f058219cfcfef0865b9d8e1899d
    2023-07-15T10:04:39+00:00 NOTICE cart.member.updated :: Updated [email protected] subscriber status to transactional and language to da
    2023-07-15T10:05:11+00:00 NOTICE action_scheduler.queue_job :: MailChimp_WooCommerce_Single_Order starts in 90 seconds :: obj_id 553447
    2023-07-15T10:05:11+00:00 NOTICE handleOrderUpdate :: order_status
    2023-07-15T10:07:15+00:00 NOTICE order_submit :: #CD52965 has a financial status of pending and was skipped.
    2023-07-15T10:07:17+00:00 NOTICE handleOrderUpdate :: order_status
    2023-07-15T10:07:17+00:00 NOTICE action_scheduler.queue_job :: MailChimp_WooCommerce_Single_Order starts in 90 seconds :: obj_id 553447
    2023-07-15T10:07:17+00:00 NOTICE handleOrderUpdate :: order_status
    2023-07-15T10:07:17+00:00 NOTICE handleOrderUpdate :: order_status
    2023-07-15T10:07:17+00:00 NOTICE handleOrderUpdate :: order_status
    2023-07-15T10:07:17+00:00 NOTICE debug :: Order ID 553447 was pending and is now processing :: Array
    (
        [new_order] => 1
        [tracking] => Array
            (
                [campaign_id] => 
                [landing_site] => /kassa/order-pay/553447/?key=wc_order_1qi3eebayn5gQ
            )
    
    )
    
    2023-07-15T10:09:06+00:00 NOTICE order.member.updated :: Updated [email protected] subscriber status to subscribed and language to 
    2023-07-15T10:09:06+00:00 NOTICE order_submit.success :: addStoreOrder :: #CD52965 :: email: [email protected] :: landing site /kassa/order-pay/553447/?key=wc_order_1qi3eebayn5gQ :: abandoned cart deleted [f6a63f058219cfcfef0865b9d8e1899d]
    Saif

    (@babylon1999)

    Hello @krdza93,

    Thank you for sharing the logs!

    but when I go to Woocommerce Analytics I see insane numbers (600 orders, 900 products purchased, 98000eur revenue). Shows orders on the dates that had 0 orders.


    Have you clicked on any of these orders in the analytics tab?

    Doing so should take you to the order page, which should help you pinpoint the origin of these ghost orders.

    On another note, I couldn’t help but notice that your site has many failed scheduled actions. It’s probable that these are happening because your server’s PHP time limit is set a bit low. Try setting the limit somewhere between 900 and 1000.


    Just to clarify, the PHP Time Limit is the maximum amount of time that PHP scripts are allowed to run. If any script runs longer than the set time, PHP will stop it and flag an error. You can adjust this by tweaking the max_execution_time in your PHP configuration file. Your hosting provider should be able to help you with this.

    Let us know how it goes!

    Thread Starter Danilo Krdzic

    (@krdza93)

    Have you clicked on any of these orders in the analytics tab?

    Doing so should take you to the order page, which should help you pinpoint the origin of these ghost orders.

    Yes I did and I see nothing on the Order page, just says 0. And that is correct because it should not exist ??

    On another note, I couldn’t help but notice that your site has many failed scheduled actions. It’s probable that these are happening because your server’s PHP time limit is set a bit low. Try setting the limit somewhere between 900 and 1000.

    Increased it, but that should not affect wrong data.


    Is there a way to clear everything from Analytics and “import” the data again? Because this is totally wrong.

    Saif

    (@babylon1999)

    Increased it, but that should not affect wrong data.

    It shouldn’t, but since Analytics uses the action scheduler to sync data, increasing the PHP time limit will eliminate the possibility of the problem originating from a faulty sync.

    You can try deleting previously imported data from Analytics → Settings and import them again:


    Link to image: https://d.pr/i/RWysz2

    If that doesn’t help, then please try disabling all plugins except WooCommerce. Make sure to switch to the default Storefront theme as well.

    If the problem is not present after doing so, then you know there was a plugin conflict. You can enable plugins one by one again to find the culprit.

    Let us know how it goes!



    Thread Starter Danilo Krdzic

    (@krdza93)

    Already tried that, nothing helped, what now?

    Thread Starter Danilo Krdzic

    (@krdza93)

    Update – This is a huge bug in the system.

    It happens when you delete orders – so deleted orders are still visible in the analytics even if they do not exist anywhere on the website.

    To test that quickly I cloned my DB and then used this SQL to remove all order data:

    DELETE FROM wp_woocommerce_order_itemmeta;
    DELETE FROM wp_woocommerce_order_items;
    DELETE FROM wp_comments WHERE comment_type = 'order_note';
    DELETE FROM wp_postmeta WHERE post_id IN ( SELECT ID FROM wp_posts WHERE post_type = 'shop_order' );
    DELETE FROM wp_posts WHERE post_type = 'shop_order';
    

    And guess what? Analytics still there. Followed all the steps that were mentioned, but Analytics data is still there from the deleted orders.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    I understand that you deleted order data, however Analytics is still showing the incorrect stats.

    This sounds like a persistent cache issue on your site. I’d recommend to clear and disable cache from any plugin on your site and the server. I see a drop-in cache plugin that seems to come from the server here:

    advanced-cache.php: advanced-cache.php

    Let us know how it goes. We’re here to help further.

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

    Thread Starter Danilo Krdzic

    (@krdza93)

    No, this did not help, still same issue.

    So even if I remove all the data by using SQL codes I sent you, analytics data is still there and I have no idea how?

    When you delete order from backend panel, what tables it affect, because obviously something is missing here:

    DELETE FROM wp_woocommerce_order_itemmeta;
    DELETE FROM wp_woocommerce_order_items;
    DELETE FROM wp_comments WHERE comment_type = 'order_note';
    DELETE FROM wp_postmeta WHERE post_id IN ( SELECT ID FROM wp_posts WHERE post_type = 'shop_order' );
    DELETE FROM wp_posts WHERE post_type = 'shop_order';
    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hey there, @krdza93!

    Thanks so much for letting us know that the issue persists. I would like to step back just for a bit for the sake of clarity.

    Would you be so kind as to share two screenshots, one from the WooCommerce Reports and another one from the Analytics section, where we can see the report’s discrepancy?

    On a side note, it also seems that your site is having an Action Scheduler issue since it has over 6,061 actions which could be contributing to this issue. So, could you please install WP-Crontrol plugin and share a screenshot of the error you get when navigating to the WP-Crontrol tab from your WP Dashboard?

    Thanks!

    Thread Starter Danilo Krdzic

    (@krdza93)

    @gabrielfuentes

    So to summarize removing order from the backend removes analytics while quick SQL actions do not remove it (mentioned earlier in the ticket), can you check why is that happening and tell me where analytics are stored in the database and what I should do to remove them from SQL so I can totally wipe out that info?

    Anyway, replies to your questions. Screenshots attached
    Reports – CORRECT:

    Analytics – WRONG:

    Cron Events – no errors:

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hi there,

    Before doing anything database related, I’d highly suggest backing up your site and database. You can also clone your site into a staging version to run this test

    Can you please try emptying the following lookup tables?

    wc_category_lookup
    wc_customer_lookup
    wc_order_coupon_lookup
    wc_order_product_lookup
    wc_order_tax_lookup

    Are you comfortable dropping or emptying those database tables on your site? Most hosts offer a tool called phpMyAdmin that lets you manage your database. If you’d rather not do this yourself I’d reach out to your host and ask if they can do this for you.

    I hope this helps so far, let us know how if this does the trick.

    Thread Starter Danilo Krdzic

    (@krdza93)

    @nathvi

    Yes, I do make backups always.
    Unfortunately, this did not fix it – still Analytics show wrong values, while Reports are correct as explained multiple times in this thread.

    Next trick?

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hi @krdza93

    Thanks for testing that.

    As a next step, can you plese try clearing wc_reports transients in the Options table?

    You can can do a wildcard search transient_wc_report

    After this, navigate to WooCommerce → Status → Tools, and click on Clear Analytics Cache

    Let us know how it goes!

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘WooCommerce Analytics show totally wrong numbers and data wont reset’ is closed to new replies.