Measuring the Hard-to-Measure

Have you ever wondered how many people are printing out your web pages?

Me neither, but if you did want to know who was printing your web pages it might be difficult to work that out. In this tutorial, Harry Roberts shows you how you can do that with tracking pixels.

Now, whenever someone wants to print our page, a request for print.gif will fire off and we can capture that information: we can make informed decisions about if and how to implement a print stylesheet, and how much effort we should put into it.

Once again, I built a quick demo to test it out. Expectedly, as soon as I hit ⌘+P, a request for print.gif fires off:

An excerpt from Measuring the Hard-to-Measure

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.