blog
Installing a Retargeting Pixel in WordPress
Installing a retargeting pixel in WordPress is typically very easy. Retargeting web visitors is also a common best practice to help maximize conversions. As such El Toro clients often ask us to help re-target their web traffic. Unlike El Toro's IP targeting technology, which is cookie-less, our web user retargeting technology uses a pixel or cookie to track site visitors.
Please note, if you use Google Tag Manager then this article won't apply. There's an easier way to install a retargeting pixel using Google Tag Manager.
To add the El Toro retargeting pixel to your WordPress site, please follow the following steps:
1.) Go to your WordPress dashboard and select "Appearance" and then "Editor".
2.) From there, you can view your Templates, followed by php files.
3.) Select the “footer.php”, scroll down to the closing body tag, and place the retargeting pixel directly above it.
See the examples below, using the Tonic Pro Theme from Bavotasan, please note your theme will probably be different. This process will work with any PHP code just find the footer.
Here is sample PHP code before the retargeting tracking pixel has been installed (sample only -- don't use in your website's code).
<?php wp_footer(); ?>
<!-- <?php echo BAVOTASAN_THEME_NAME; ?> created by c.bavota - https://themes.bavotasan.com -->
</body>
</html>
Here is sample PHP code after the retargeting tracking pixel has been installed (sample only -- don't use in your website's code).
<?php wp_footer(); ?>
<!-- <?php echo BAVOTASAN_THEME_NAME; ?> created by c.bavota - https://themes.bavotasan.com -->
<script src="http://ib.adnxs.com/seg?add=1065823&t=1" type="text/javascript"></script>
</body>
</html>
Ready to Run With the Bull?
Contact Us