Title: Missing Jetpack Stats
Last modified: April 30, 2021

---

# Missing Jetpack Stats

 *  Resolved [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/)
 * Hi,
 * Jetpack stats and insights are unavailable to view. I’m usually able to see my
   views, visitors, referrals etc but this hasn’t been visible in the last 4 days
   despite having visitors and views as confirmed by google analytics. I have deleted
   and re-installed the jetpack plugin but no luck.
 * The Jetpack stats pixel i.e. the code Jetpack uses to track visits appears to
   be missing from my site.
 * I have included the link to the stats page. Can you help rectify the issue please.
 * Many thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-jetpack-stats-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [Bruce (a11n)](https://wordpress.org/support/users/bruceallen/)
 * (@bruceallen)
 * Happiness Engineer
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14394345)
 * Hi [@blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * Jetpack uses a function called wp_footer() to insert the Stats tracking code 
   into your site. Could you check that this function is correctly added to your
   theme, as explained here?
 * [https://jetpack.com/support/wordpress-com-stats/#missing-wpfooter](https://jetpack.com/support/wordpress-com-stats/#missing-wpfooter)
 * You will need to click on the section saying **The Stats feature is active, but
   no visits are being recorded anymore**.
 * Thanks!
 *  Thread Starter [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14394429)
 * HiBruce,
 * Thank you for your response. To the best of my knowledge, I can see the wp_footer()
   tag on my site. please see an extract from my footer.php showing the wp_footer()
   however I’m unsure if this is inserted correctly. Are you able to please have
   a look and advise? Thank you for your help.
 * Extract:
 *     ```
       if ( ! defined( 'ABSPATH' ) ) {
       	exit; // Exit if accessed directly.
       }
   
       ?>
       <?php astra_content_bottom(); ?>
       	</div> <!-- ast-container -->
       	</div><!-- #content -->
       <?php 
       	astra_content_after();
   
       	astra_footer_before();
   
       	astra_footer();
   
       	astra_footer_after(); 
       ?>
       	</div><!-- #page -->
       <?php 
       	astra_body_bottom();    
       	wp_footer(); 
       ?>wp_footer() 
       	</body>
       </html>
       ```
   
 *  Plugin Contributor [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14401063)
 * Hi [@blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/),
 * Did you change your footer.php file recently, or updated/changed something on
   your theme?
 * Your theme must have a call to:
 * `<?php wp_footer(); ?>`
 * If you compare your code with the [`wp_footer` template linked here](https://developer.wordpress.org/reference/functions/wp_footer/),
   you’ll notice that it’s different.
 * Can you try editing the code and see how it goes? Thanks!
 *  Thread Starter [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14416524)
 * Hi Stef,
 * Thank you for your help. Yes I did alter the file recently but I’m unsure what
   went wrong. I was able to insert the code as advised but this hasn’t resolved
   the issue, unfortunately. please see a snippet of my footer PHP file below. Thank
   you
 *     ```
       <?php
       /**
        * The template for displaying the footer.
        *
        * Contains the closing of the #content div and all content after.
        *
        * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
        *
        * @package Astra
        * @since 1.0.0
        */
   
       if ( ! defined( 'ABSPATH' ) ) {
       	exit; // Exit if accessed directly.
       }
   
       ?>
       <?php astra_content_bottom(); ?>
       	</div> <!-- ast-container -->
       	</div><!-- #content -->
       <?php 
       	astra_content_after();
   
       	astra_footer_before();
   
       	astra_footer();
   
       	astra_footer_after(); 
       ?>
       	</div><!-- #page -->
       <?php 
       	astra_body_bottom();     
           wp_footer(); ?>
          </body> 
       </html>
       ```
   
 *  Plugin Contributor [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14418565)
 * Hi [@blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/),
 * I see that the `wp_footer()` is there, but there might be something within the
   rest of the code that’s preventing the function to works properly. As this goes
   beyond the scope of our support, I’d recommend reaching out to the theme author(
   s) to ask about any theme-related changes in the footer.
 * Alternatively, for further WordPress support, you can ask in the general WordPress.
   org forums here:
 * > [Support Forums](https://wordpress.org/support/)
 * In case the issue still persists and it’s strictly related to our Jetpack stats
   footer function, then you can circle back to us and we’ll take another closer
   look at it 🙂
 * Hope this helps! Let us know if there is anything else we can assist you with.
 *  Thread Starter [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14418676)
 * Hi Stef,
 * Thank you for your help so far. I’ll reach out to the theme’s author ‘elementor’
   and revert back with progress update.
 * Kind regards
 *  [MadHatter (a11n)](https://wordpress.org/support/users/madhattersez/)
 * (@madhattersez)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14422018)
 * That sounds like a plan.
 * No need to reply until you’ve heard back from your theme’s developers, but once
   you do, please let us know the results and we can help from there if need be.
   Thanks!
 *  Plugin Contributor [Jen H. (a11n)](https://wordpress.org/support/users/jennywp/)
 * (@jennywp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14449930)
 * Hey [@blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/),
 * Since it’s been more than a week since we’ve heard from you, I’m going to go 
   ahead and mark this thread as Resolved. If you still need a hand, please feel
   free to reach back out here and mark the thread as `not resolved`.
 * Thanks!
 *  Thread Starter [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14449983)
 * Hi Jen,
 * I haven’t gotten a response back from my theme editor unfortunately. Is it ok
   if I wait a couple more days and let you know the outcome please?
 * Thanks
 *  Thread Starter [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14449988)
 * Hi Jen,
 * I haven’t gotten a response back from my theme editor unfortunately. Is it ok
   if I wait a couple more days and let you know the outcome please?
 *  Plugin Contributor [Jen H. (a11n)](https://wordpress.org/support/users/jennywp/)
 * (@jennywp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14450065)
 * Hey, absolutely! Thanks for marking as not resolved. 🙂
 *  Thread Starter [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14456124)
 * Hi Jen,
 * I didn’t hear back from my theme’s editor Astra and I also reached out to my 
   website builder Elementor but unfortunately they weren’t able to resolve. Please
   proceed with taking a closer look.
 * Many thanks for your help so far.
 *  Plugin Contributor [Dan (a11n)](https://wordpress.org/support/users/drawmyface/)
 * (@drawmyface)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14457763)
 * Hi there
 * I believe this may be related to your Complianz GDPR plugin, which may be blocking
   our stats script from working.
 * You could confirm that by temporarily disabling the Complianz plugin, then visiting
   your site in a browser where you are not logged into the site. You can then enable
   the plugin again, wait a few hours, and check whether the visits were recorded.
 * If so, I’d suggest checking your Complianz configuration, or posting on their
   support forum for help getting it to work with Jetpack stats:
    [https://wordpress.org/support/plugin/complianz-gdpr/](https://wordpress.org/support/plugin/complianz-gdpr/)
 *  Thread Starter [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * (@blackgirlblackhair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14460912)
 * Hi Dan,
 * You’re absolutely correct. The issue was in fact due to my complianz plugin which
   is now resolved following your advise.
 * Many thanks to you and the rest of the team for helping out.
 * All the best!

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Missing Jetpack Stats’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [Jet Pack](https://wordpress.org/support/topic-tag/jet-pack/)

 * 14 replies
 * 6 participants
 * Last reply from: [blackgirlblackhair](https://wordpress.org/support/users/blackgirlblackhair/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/missing-jetpack-stats-2/#post-14460912)
 * Status: resolved