Leer en español.

What Is It?

ProPublica’s PixelPing is a small snippet of JavaScript code that we ask publishers to include in the stories we publish together (or that they republish under our Creative Commons license) to let us know how much traffic our story has received.

Why Are You Doing This?

Our mission is to effect real change through investigative journalism. One of the ways we do this is by providing our reporting free of charge to other news outlets.

An important piece of information we need in return is a sense of the size of the audience our stories reach on our partners’ web sites. PixelPing is simply an efficient way of getting basic pageview statistics quickly.

How Does It Work?

All you have to do is copy and paste the following line of code anywhere in the body of the article we’re co-publishing in your website’s content management system—if possible, somewhere close to the top of the story.

<script type="text/javascript" src="https://pixel.propublica.org/pixel.js" async="true"></script>

What Will My Users See?

Nothing. This will not affect your web page layout at all.

What Does It Track?

It only counts the number of page views to the story on which the code appears. It doesn’t count unique visitors. It also doesn’t count anything on pages other than the one on which you loaded it.

Who Will See the Data?

We will hold the pageview data PixelPing collects as confidential, and we will not share it with outsiders, period.

Does This Violate My Privacy Policy?

We know how seriously all of our partners take the privacy of their users. PixelPing does not attempt to track anything at all about visitors — neither individually nor in the aggregate — nor does it attempt to set or read any cookies.

Will It Slow Down or Break My Web Pages?

No. We’ve tested our code extensively. It’s designed to deal with heavy loads, and it’s designed to fail gracefully, meaning that even if our servers are overloaded or down, your web page will not be blocked, or prevented from loading. The JavaScript code on your page will always take precedence over PixelPing.

Can I See the Code Behind It?

PixelPing is open source. You can scrutinize the code, and even propose changes to it, on Github.

Who Can I Contact With Questions About It?

Contact Alexis Stephens at [email protected].

Latest Stories from ProPublica