How to add a pixel which fires when any user registers?

The question is why do you want to do it this way? Wouldn’t it make more sense to have the server send a signal once the user registers, rather than a hidden pixel which is less reliable?