Title: Conditional load the script
Last modified: November 11, 2019

---

# Conditional load the script

 *  [Mehul Gohil](https://wordpress.org/support/users/mehul0810/)
 * (@mehul0810)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/conditional-load-the-script/)
 * When I install Minimal Analytics plugin, I notice that the script is loaded directly,
   irrespective of an option to not load script when logged-in via administrator.
 * Also, I would expect an option to load in the header or footer.
 * Let me know if you have any questions and need any help with it.
 * Thanks!

The topic ‘Conditional load the script’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/minimal-analytics_c8ccbc.svg)
 * [Minimal Analytics](https://wordpress.org/plugins/minimal-analytics/)
 * [Support Threads](https://wordpress.org/support/plugin/minimal-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/minimal-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/minimal-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/minimal-analytics/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Mehul Gohil](https://wordpress.org/support/users/mehul0810/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/conditional-load-the-script/)
 * Status: not resolved