Title: Disable the hidden analytics code
Last modified: August 21, 2016

---

# Disable the hidden analytics code

 *  Resolved [Friso](https://wordpress.org/support/users/mardonios/)
 * (@mardonios)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/disable-the-hidden-analytics-code/)
 * The latest version of the plugin appears to collect some analytics for I don’t
   know which reason. If you don’t want these analytics to be collected from your
   WordPress blog, open lava/_classes/lavaPage.php in a text editor and delete lines
   165, 166, 167 and 168.
 * Development tip: make this an opt-in option.
 * [http://wordpress.org/extend/plugins/password-protect-wordpress/](http://wordpress.org/extend/plugins/password-protect-wordpress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Chatfield](https://wordpress.org/support/users/volcanicpixels/)
 * (@volcanicpixels)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/disable-the-hidden-analytics-code/#post-3872073)
 * Hi Friso,
 * Firstly I’ll explain what that code is doing:
 * It only runs on the admin page, not the user facing site. It only runs if there
   is a javascript error and sends details of the error as well as the browser. 
   Despite being called ‘analytics’ it does not actually track any interactions 
   with the plugin.
 * I understand your concerns and I will change it:
 * The code WILL run by default when the plugin is installed.
    When the plugin settings
   are saved for the first time it will be disabled (since this has demonstrated
   that the javascript has worked).
 * The reason making it ‘opt-in’ wouldn’t work as these javascript errors are caused
   by conflicts with other plugins or themes and prevent the admin interface from
   working (so in the event of an issue the user would be unable to opt-in to send
   an error report).
 * I’d love to hear your views,
    Daniel

Viewing 1 replies (of 1 total)

The topic ‘Disable the hidden analytics code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/password-protect-wordpress.svg)
 * [Password Protect Wordpress](https://wordpress.org/plugins/password-protect-wordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/password-protect-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/password-protect-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/password-protect-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/password-protect-wordpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Chatfield](https://wordpress.org/support/users/volcanicpixels/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/disable-the-hidden-analytics-code/#post-3872073)
 * Status: resolved