How to add Facebook Pixel and Google Analytics code?

  1. Home
  2. Docs
  3. How to’s
  4. How to add Facebook Pixel and Google Analytics code?

How to add Facebook Pixel and Google Analytics code?

Add Facebook Pixel and Google Analytics code to WordPress with Visual Composer Custom JavaScript.

You can add Facebook Pixel and Google Analytics code to your WordPress site with Visual Composer.

To add the snippet, you will need to use Global Custom JavaScript.

To add Facebook Pixel or Google Analytics code:

  1. In the Frontend editor open Settings - Custom JavaScript
  2. Switch to the "Global JavaScript" tab
    How to add Facebook Pixel and Google Analytics code in WordPress
  3. Copy your Facebook Pixel or Google Analytics code in the head section
  4. Save the page

Important: It is recommended to insert Facebook Pixel and Google Analytics codes in the head part.

Was this article helpful to you? No Yes

How can we help?