• Resolved neval123

    (@neval123)


    Hey guys! Is there any chance you can make an option to enable page views in a future update?

    For some reason, no matter what I try, I keep having this statement inside the plugin’s code:
    "{ 'send_page_view': false });"

    This causes my stats to receive 0 page views altogether. In fact, even when I had my own separate analytics code, it would cause that one to send false page views as well, thus overriding it.

    I’ve disabled every other addon that could even remotely cause it to happen, but to no avail.

    Or, is there any way to enable it myself?

    I’ve tried the following code in functions.php but it did not work:

    add_filter( 'wc_google_analytics_send_pageview', '__return_true' );

    • This topic was modified 2 years, 1 month ago by neval123.
    • This topic was modified 2 years, 1 month ago by neval123.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Before moving forward, can you please share a copy of your site’s System Status? It is located under WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Thanks.

    Thread Starter neval123

    (@neval123)

    Sure, here it is:

    
    ### WordPress Environment ###
    
    WordPress address (URL): 
    Site address (URL): 
    WC Version: 7.0.0
    REST API Version: ? 7.0.0
    WC Blocks Version: ? 8.5.1
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.51 (Debian)
    PHP Version: 8.0.21
    PHP Post Max Size: 100 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 10.4.20-MariaDB-1:10.4.20+maria~buster-log
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.0.0
    WC Database Prefix: xx
    Total Database Size: xxMB
    Database Data Size: xxMB
    Database Index Size: xxMB
    xx_woocommerce_sessions: Data: 0.19MB + Index: 0.02MB + Engine InnoDB
    xx_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xx_woocommerce_order_items: Data: 1.52MB + Index: 0.39MB + Engine InnoDB
    xx_woocommerce_order_itemmeta: Data: 11.52MB + Index: 7.02MB + Engine InnoDB
    xx_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xx_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xx_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xx_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_actionscheduler_actions: Data: 0.25MB + Index: 0.23MB + Engine InnoDB
    xx_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_actionscheduler_logs: Data: 0.17MB + Index: 0.13MB + Engine InnoDB
    xx_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_bv_ip_store: Data: 0.28MB + Index: 0.30MB + Engine InnoDB
    xx_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_comments: Data: 4.52MB + Index: 4.78MB + Engine InnoDB
    xx_ewwwio_images: Data: 0.28MB + Index: 0.34MB + Engine InnoDB
    xx_indexnow_failed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_indexnow_passed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_itsec_dashboard_events: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    xx_itsec_distributed_storage: Data: 9.02MB + Index: 0.02MB + Engine InnoDB
    xx_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    xx_itsec_logs: Data: 1.02MB + Index: 0.17MB + Engine InnoDB
    xx_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xx_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_itsec_webauthn_credentials: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_itsec_webauthn_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_newsletters: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_newsletter_templates: Data: 2.36MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_segments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_sending_queues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xx_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xx_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xx_mailpoet_subscribers: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_mailpoet_subscriber_segment: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    xx_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_nf3_upgrades: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    xx_nm_checkoutmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_options: Data: 5.25MB + Index: 0.14MB + Engine InnoDB
    xx_postmeta: Data: 91.50MB + Index: 40.11MB + Engine InnoDB
    xx_posts: Data: 17.34MB + Index: 3.63MB + Engine InnoDB
    xx_pum_subscribers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xx_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    xx_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    xx_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xx_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    xx_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    xx_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_wc_customer_lookup: Data: 0.33MB + Index: 0.36MB + Engine InnoDB
    xx_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_wc_order_coupon_lookup: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    xx_wc_order_product_lookup: Data: 1.52MB + Index: 0.63MB + Engine InnoDB
    xx_wc_order_stats: Data: 1.52MB + Index: 0.53MB + Engine InnoDB
    xx_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    xx_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_woocommerce_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xx_wpr_rocket_cache: Data: 0.06MB + Index: 0.08MB + Engine InnoDB
    xx_wpr_rucss_used_css: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    xx_yoast_indexable: Data: 2.52MB + Index: 0.69MB + Engine InnoDB
    xx_yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.16MB + Engine InnoDB
    xx_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xx_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xx_yoast_seo_links: Data: 0.39MB + Index: 0.28MB + Engine InnoDB
    xx_yoast_seo_meta: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bv_ip_store: Data: 0.33MB + Index: 0.33MB + Engine InnoDB
    wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 0.14MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: xx
    cs_template: 6
    custom_css: 1
    itsec-dash-card: 9
    itsec-dashboard: 1
    mailpoet_page: 1
    nav_menu_item: 14
    oembed_cache: 253
    page: xx
    popup: 3
    popup_theme: x
    post: xx
    postman_sent_mail: xx
    product: xx
    revision: 170
    shop_coupon: xx
    shop_order: xx
    shop_order_refund: xx
    wpforms: 4
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (xx) ###
    
    Cloudflare: by Cloudflare Inc. – 4.11.0
    Easy Table of Contents: by Magazine3 – 2.0.34
    Header and Footer Scripts: by Digital Liberation – 2.2.1
    IndexNow: by Microsoft Bing – 1.0.1
    iThemes Security Pro: by iThemes – 7.2.1
    Cookie and Consent Solution for the GDPR & ePrivacy: by iubenda – 3.2.6
    Post SMTP: by Post SMTP – 2.1.10
    Fixed Widget: by Thomas Maier Max Bond – 6.2.0
    Redirection: by John Godley – 5.3.4
    Spam Destroyer: by Ryan Hellyer – 2.1.3
    WooCommerce Checkout Field Editor: by WooCommerce – 1.6.2
    WooCommerce: by Automattic – 7.0.0
    Yoast SEO: by Team Yoast – 19.8
    WP Rocket: by WP Media – 3.12.1.1
    WPForms Lite: by WPForms – 1.7.7.2
    
    ### Inactive Plugins (2) ###
    
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.15
    WooCommerce PayPal Payments: by WooCommerce – 1.9.4
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Object Cache Pro (Drop-in)
    
    ### Must Use Plugins (1) ###
    
    Object Cache Pro (MU): by Rhubarb Group – 1.16.3
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: USD ($)
    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: –
    
    ### WC Pages ###
    
    Shop base: #xx - /xx/
    Cart: #xx - /xx/
    Checkout: #xx - /xx/
    My account: ? Page visibility should be public
    Terms and conditions: #xx - /xx/
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-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: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ? Next scheduled: 2022-10-24 18:25:17 +03:00
    Options: ?
    Notes: 102
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 636
    Oldest: 2022-09-24 00:15:02 +0300
    Newest: 2022-10-24 18:26:59 +0300
    
    Failed: 1
    Oldest: 2022-03-15 14:17:57 +0200
    Newest: 2022-03-15 14:17:57 +0200
    
    Pending: 6
    Oldest: 2022-10-24 18:27:59 +0300
    Newest: 2022-10-29 12:50:04 +0300
    
    ### Status report information ###
    
    Generated at: 2022-10-24 18:27:27 +03:00
    

    Hi there @neval123 ??

    For some reason, no matter what I try, I keep having this statement inside the plugin’s code:
    "{ 'send_page_view': false });

    Thanks for reaching back, with further information about your site.

    The { 'send_page_view': false } does not necessarily mean that page views are not tracked. This only means that the plugin doesn’t track pages automatically (automatically firing the tracking of the page by sending the browser title and the URL).

    For reference, the code is implemented in line 77, here.

    Hope that helps ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Enable Page Views?’ is closed to new replies.