How to Paste the Proof Pixel on Your Page

Created on 10 December, 2022 • 232 views • 2 minutes read

After copying your Campaign Pixel code, the next step is to paste it into the page's HTML source code. How you do this will depend on the tools you use to edit your site.

Before adding ad code to your page, make sure your page complies with Proof.onl policies. If your page does not comply with these policies, we reserve the right to disable ad serving on your site and/or deactivate your Proof.onl account at any time.

HTML editors

Many editors use a design-enhanced HTML editor such as Macromedia Dreamweaver, also known as WYSIWYG ("what you see is what you get") software. For your notifications to work properly, paste the Pixel's JS code into the page's HTML source code using the HTML insert function or the editor's HTML view. You may see errors if you paste the ad code into a WYSIWYG view, such as a "design" view. After pasting your code, check for any additional tags inserted by the software or changes to line breaks as these may cause your ads to display incorrectly.

If you can't find the HTML source code for the page in the editor, go to the Help Center or support group for your HTML editing software.

Content Management Systems (CMS)

Content Management Systems (CMS) use third-party plug-ins to embed code in the Head or Body html tag.

If you need help with a plugin, go to the official support forum for your service or the plugin developer. Proof.onl is not responsible for third party malicious plug-ins.

If you are having trouble implementing Proof.onl with a particular CMS, we recommend searching for the name of the CMS (eg Drupal, WordPress, etc.) and "JS implementation in the HTML Head tag". You can also ask on the forum if other publishers have had similar problems, or contact the program vendor directly.

php sites

Although the Proof.onl pixel code contains JavaScript variable declarations, it is a block of HTML code compatible with most PHP websites.

Although the Proof.onl pixel code contains JavaScript variable declarations, it is a block of HTML code compatible with most PHP websites.


Example of an HTML page before adding the Proof Pixel

<html>

<head>

This is your page title.

<title>Example HTML Page</title>

</head>

<body>

HTML Page Body.

</body>

</html>

Example HTML page with campaign pixel added to <head> tag

<html>

<head>

<!-- Pixel Code for https://proof.onl/ -->

<script defer src="https://proof.onl/pixel/bmsnufo06706551yee1epriv3i00ys50"></script>

<!-- END Pixel Code -->

This is your page title.

<title>Example HTML page</title>

</head>

<body>

This is the body of your page.

</body>

</html>