If the desktop and mobile site are on the same domain, you can place the pixel on the desktop site and should work on both mobile and desktop.
Example: Desktop – http://www.xyz.com & Mobile – http://www.m.xyz.com
If the desktop and mobile site are on different domains, then generate different pixels and deploy on the mobile site.
Example: Desktop - http://www.xyz.com & Mobile – www.abc.com