Title: [Feature request] &#8211; Enable/disable JS code for pixel
Last modified: April 17, 2019

---

# [Feature request] – Enable/disable JS code for pixel

 *  [sagaio](https://wordpress.org/support/users/sagaio/)
 * (@sagaio)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/feature-request-enable-disable-js-code-for-pixel/)
 * It would be great to optionally load the fbevents.js file. For example when using
   Google Tag Manager, you can implement the pixel code there, but you would still
   like the Conversion Tracking enabled in this plugin.
 * The plugin Google Tag Manager for WordPress has this option when it comes to 
   the GTM code. The options there are as follows for **Code Placement:**
    -  Footer of the page (not recommended by Google, no tweak in your template 
      required)
    - Custom (needs tweak in your template)
    - Codeless injection (no tweak, right placement but experimental, could break
      your frontend)
    - Off (only add data layer to the page source)
 *  -  This topic was modified 7 years, 1 month ago by [sagaio](https://wordpress.org/support/users/sagaio/).

Viewing 1 replies (of 1 total)

 *  [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/)
 * (@thebengalboy)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/feature-request-enable-disable-js-code-for-pixel/#post-11648269)
 * Hello [@sagaio](https://wordpress.org/support/users/sagaio/)
 * Sorry, but we somehow overlooked this topic. Anyway, I have added your request
   to our feature request log. We may consider adding this in the future if we get
   a similar request few more.
 * Thanks
    -  This reply was modified 6 years, 11 months ago by [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/).

Viewing 1 replies (of 1 total)

The topic ‘[Feature request] – Enable/disable JS code for pixel’ is closed to new
replies.

 * ![](https://ps.w.org/woocommerce-conversion-tracking/assets/icon-256x256.png?
   rev=3451686)
 * [Conversion Tracking for WooCommerce](https://wordpress.org/plugins/woocommerce-conversion-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-conversion-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/feature-request-enable-disable-js-code-for-pixel/#post-11648269)
 * Status: not a support question