A pixel is a tag or a block of code placed within your site’s code that allows you to collect data about user behavior and is stored in a server. For example, a Facebook pixel can be put on pages of your website, and when the “pixel fires,” it tells Facebook to show ads of a product the person saw on your website.