Support » Plugin: Opt-Out for Google Analytics » Javascript in Footer

  • Resolved umairj

    (@umairj)


    Is there a possibility to move the Script of the plugin to the footer of the page for performance reasons?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Florian Simeth

    (@floriansimeth)

    Hey umirj,

    the frontend.js file should load in the footer already. At least I’ve registered the script using wp_enqueue_script() where the in_footer parameter has been set to true.

    I also set the file to defer which means that it should at least be executed after the page has been fully loaded.

    Many greetings

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript in Footer’ is closed to new replies.