Title: WP Plugin vs. Code Snippet
Last modified: February 11, 2024

---

# WP Plugin vs. Code Snippet

 *  [Marcus Anthony Cyganiak](https://wordpress.org/support/users/marcusanthony/)
 * (@marcusanthony)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/wp-plugin-vs-code-snippet/)
 * On the front-end of my website, when I use the Yandex Metrica plugin, I see that
   two additional JS files are included, rather than one when using the manually
   inserted code snippet.
 * The JS files are:
    - frontend.min.js?ver=1.2.0
    - YmEc.min.js?ver=1.2.0
 * The goal of a webmaster is to always have less JS files loading on a website.
   Why are these included on the frontend?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-plugin-vs-code-snippet%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘WP Plugin vs. Code Snippet’ is closed to new replies.

 * ![](https://ps.w.org/wp-yandex-metrika/assets/icon-256x256.png?rev=2823004)
 * [Yandex.Metrica](https://wordpress.org/plugins/wp-yandex-metrika/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-yandex-metrika/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-yandex-metrika/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-yandex-metrika/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-yandex-metrika/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-yandex-metrika/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Marcus Anthony Cyganiak](https://wordpress.org/support/users/marcusanthony/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/wp-plugin-vs-code-snippet/)
 * Status: not resolved