Title: beware
Last modified: September 3, 2016

---

# beware

 *  [aizuddinmanap](https://wordpress.org/support/users/aizuddinmanap/)
 * (@aizuddinmanap)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/beware-12/)
 * please beware as admin installed tracking and sending data to their server
 *     ```
       if($_SERVER['SERVER_NAME']){
           $domain = $_SERVER['SERVER_NAME'];
         }
   
         add_option('nkweb_id', 'UA-0000000-0');
         add_option('nkweb_Display_Advertising', 'false');
         add_option('nkweb_track_login_and_register', 'false');
         add_option('nkweb_Universal_Analytics', 'true');
         add_option('nkweb_Domain', $domain);
         add_option('nkweb_Use_Custom', 'false');
         add_option('nkweb_Custom_Code', '');
         add_option('nkweb_Enable_GA', 'true');
         add_option('nkweb_Error', '');
         add_option('nkweb_code_in_head', 'true');
   
         //Just for statistics
         try {
           $xml = file_get_contents("http://www.marodok.com/url.php?url=".site_url());  
   
         } catch (Exception $e) {
           // nothing :-)
         }
       ```
   

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

 *  Plugin Author [justanotherdev](https://wordpress.org/support/users/marodok/)
 * (@marodok)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/beware-12/#post-7902748)
 * Hi,
 * Sometimes someone write me for support but don’t say his website, what can I 
   do? Well, I just send the url **ONCE** for review the generated code and help(
   is not your website public? then, why is in internet?)
 * If I can do this part very fast less other users will be affected for a plugin
   issue.
 * As you can see, I just send the public url of the website, nothing more, If this
   fails, nothing happens. So, which data I am tracking? Nothing.
 * Too many other programmers have read the source code and have told me some advices,
   why they don’t get worried for this code part? Because isn’t a security issue
   or tracking backdoor. Is just to try to make the plugin better.
 * Now, do you prefer that I remove this part of the code?
 *  [Lars Schenk](https://wordpress.org/support/users/larsschenk/)
 * (@larsschenk)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/beware-12/#post-7902751)
 * > No “phoning home” without user’s informed consent.
 * [https://wordpress.org/plugins/about/guidelines/](https://wordpress.org/plugins/about/guidelines/)
 * If user asks for support – they can send you an url along with the request. Why
   collecting that site URLs upfront? This looks like data collecting and does not
   help to build up confidence to use this plugin.
 * Remove that code to comply with WP plugin repository guidelines and attract more
   users.
 * Otherwise: Thanks for this tiny plugin – very welcome while the other guy is 
   bloating his stuff…
 *  Plugin Author [justanotherdev](https://wordpress.org/support/users/marodok/)
 * (@marodok)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/beware-12/#post-7902752)
 * Hi,
 * I have removed that code part, you can review it.
 * Regards
 *  [Lars Schenk](https://wordpress.org/support/users/larsschenk/)
 * (@larsschenk)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/beware-12/#post-7902753)
 * Great! Thx.
 *  Plugin Author [justanotherdev](https://wordpress.org/support/users/marodok/)
 * (@marodok)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/beware-12/#post-7902754)
 * you welcome,
 * if you can review the plugin that could be nice 🙂
 * Regards

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

The topic ‘beware’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nk-google-analytics_d0cfd0.svg)
 * [NK Google Analytics](https://wordpress.org/plugins/nk-google-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nk-google-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nk-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/nk-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nk-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nk-google-analytics/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [justanotherdev](https://wordpress.org/support/users/marodok/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/beware-12/#post-7902754)