How to install the Paved Pixel

The Paved Pixel is a lightweight JavaScript tag that powers conversion tracking, lookalike audiences, and website demographics for Paved ad campaigns. The Paved Pixel works for both dedicated & sponsored campaigns from our Marketplace and programmatic campaigns on the Paved Ad Network.

By default, the pixel will track URLs visited, domains visited, and the devices your visitors use. In addition, you can use the pixel's library of functions to:

  • conversions
  • signups
  • downloads

Base Code

Before you can install the pixel, you will need your pixel's base code, which you can find in the  Account Settings -> Pixels

The base pixel code contains your pixel's ID and looks like this:

<script><br> ! function(e, t, n, p, s, a, o, c, d) {<br> e.pvd || ((o = e.pvd = function() {<br> o.process ? o.process.apply(o, arguments) : o.queue.push(arguments)<br> }).queue = [], o.t = 1 * new Date, (c = t.createElement(n)).async = 1, c.src = "https://js.pvd.to/v1/pixel.js?t=" + 864e5 * Math.ceil(new Date / 864e5), (d = t.getElementsByTagName(n)[0]).parentNode.insertBefore(c, d))<br> }(window, document, "script"), pvd("init", "ID-XXXXXXXX"), pvd("event", "pageload"); <br></script>

 

Installing The Pixel

To install the pixel, we highly recommend that you add its base code between the opening and closing  <head> tags on every page where you will be tracking website visitor actions. Most developers add it to their website's persistent header, so it can be used on all pages.

Placing the code within your  <head> tags reduces the chances of browsers or third-party code blocking the pixel's execution. It also executes the code sooner, increasing the chance that your visitors are tracked before they leave your page.

Once you have added it to your website, load a page that has the pixel. This should call  pvd('event', 'pageload'), which will be tracked as a PageLoad event in the Events Manager.

Once we receive a signal from the tag you’ve placed on your website, your pixel will be listed as Active under  Account Settings -> Pixels.

Pixels.png

Still need help? Contact Us Contact Us