Title: wp_enqueue_scripts instead of init
Last modified: August 30, 2016

---

# wp_enqueue_scripts instead of init

 *  Resolved [contactnieto](https://wordpress.org/support/users/contactnieto/)
 * (@contactnieto)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_enqueue_scripts-instead-of-init/)
 * Is it possible to change the way the plugin uses to register its scripts?
 * I noticed that the plugin uses the ‘init’ action to register its scripts. It 
   will be helpful for us if it will use ‘wp_enqueue_scripts’ instead.
 * After doing some research online, I understood that using the ‘wp_enqueue_scripts’
   should be the “right way” to implement it.
 * Is it possible to implement that change?
 * Thanks!
 * [https://wordpress.org/plugins/wp-google-analytics-events/](https://wordpress.org/plugins/wp-google-analytics-events/)

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

 *  Plugin Author [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * (@yuvalo)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_enqueue_scripts-instead-of-init/#post-6631996)
 * Will check it out and notify you
 *  Thread Starter [contactnieto](https://wordpress.org/support/users/contactnieto/)
 * (@contactnieto)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp_enqueue_scripts-instead-of-init/#post-6632009)
 * Thanks for checking this. This will help us to avoid any conflict with the way
   we load our plugins.

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

The topic ‘wp_enqueue_scripts instead of init’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-analytics-events/assets/icon-256x256.jpeg?rev=
   2189709)
 * [WP Google Analytics Events - No-Code Custom Event Tracking for Google Analytics](https://wordpress.org/plugins/wp-google-analytics-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-analytics-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-analytics-events/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-analytics-events/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [contactnieto](https://wordpress.org/support/users/contactnieto/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wp_enqueue_scripts-instead-of-init/#post-6632009)
 * Status: resolved