Knowledge Base      

How do I add tracking pixels or JavaScript code to WordPress?

In this article, we’re going to show you where to install tracking pixels and tracking code in WordPress. But, before you read further, if you don’t already have a good understanding of where to install tracking pixels on an HTML page, the rest of this document will make more sense if you review this article first:
What are tracking pixels and tracking code?

That being said, follow the steps below to add tracking pixels and tracking code to WordPress

To add a tracking pixel to a WordPress page simply edit the page in question, click the “Text” tab in the upper right-hand corner of the editor to switch to source mode, and then paste your tracking pixel code into the box as shown below …

A more powerful solution for WordPress is to install a tracking code plugin such as the popular “Tracking Code Manager.” With this plugin, you can place tracking pixels or tracking code on any page anywhere without having to touch the pages themselves.

Just install the plugin, then install pixels and code from the plugin’s settings.

Article 593 Last updated: 04/02/2022 1:16:58 PM