From http://stackoverflow.com/questions/14649234/how-to-create-and-implement-a-pixel-tracking-code