Title: Weird code in header when using WP-Statistics
Last modified: April 15, 2025

---

# Weird code in header when using WP-Statistics

 *  Resolved [ebturner](https://wordpress.org/support/users/ebturner/)
 * (@ebturner)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/weird-code-in-header-when-using-wp-statistics/)
 * When the WP-statistics is operational there is a flash of code that appears at
   the top of the page, then disappears after about a second or two. It is more 
   noticeable on mobile devices and shows most of the time, and it *always* shows
   when logged into the site which pushes the page content down the page!
 * Here is a link to what shows.
   [https://tbs-cigars.com/wp-content/uploads/2025/04/2025-04-15_183623.jpg](https://tbs-cigars.com/wp-content/uploads/2025/04/2025-04-15_183623.jpg)
 * Why are you advertising your “PRO version” in the header of my website? I really
   don’t think it’s acceptable to hijack peoples websites to promote your plugin.
   Especially in the top fold where google and other search engines are going to
   see that code before the actual website content.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fweird-code-in-header-when-using-wp-statistics%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Mehmet](https://wordpress.org/support/users/gandomi/)
 * (@gandomi)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/weird-code-in-header-when-using-wp-statistics/#post-18419441)
 * Dear [@ebturner](https://wordpress.org/support/users/ebturner/),
 * Thank you for reaching out and sharing the details regarding the issue you’re
   experiencing with WP Statistics.
 * We would like to clarify that our plugin, WP Statistics, **does not** include
   any feature that would display a “PRO version” advertisement or flash of code
   in the header of your website. This may suggest that there could be another plugin
   or script on your website causing this behaviour.
 * We recommend verifying if any other plugins or custom scripts are responsible
   for this issue.
 * If the issue persists, please don’t hesitate to share any further details, and
   we would be happy to assist you in resolving this matter.
 * Thank you for your understanding and cooperation.
 * Best regards,
   Mehmet

Viewing 1 replies (of 1 total)

The topic ‘Weird code in header when using WP-Statistics’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mehmet](https://wordpress.org/support/users/gandomi/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/weird-code-in-header-when-using-wp-statistics/#post-18419441)
 * Status: resolved