In this article, we will learn How to add code to Elementor page in WordPress – Step by Step.

To add code to a page on your website using Elementor, you can simply add it by –

Step by Step

Going to your page – Click > Edit with Elementor

Once the page opens, go towards the bottom and add an HTML element

Click > Add New Section on the left hand side you will see an open to drag a HTML element, do that.

Here you can add either html or javascript code both works.

Add your pixel in it and save the page.

Hope this helps, this was one of the questions asked on my youtube video – How to add code to head tag in WordPress ?


Below I just put in a test Javascript code to verify this works and it does.

Use Cases

This article applies for all these use cases –

I you want to add facebook pixel code to wordpress without plugin or you are looking answers – How to add facebook pixel to elementor ?

Related Tags

Elementor facebook pixel, Add tracking pixel to wordpress

Related Pages

Below, I have linked a related page, where I have even expanded more on the problem, so feel free to check it out, and others in the WordPress community may post something useful there.

Add code to Elementor page?


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.