Analytics tracking pixels normally ARE GIFs, specifically a 43 byte transparent 1x1 GIF.
But most “GIFs” are not GIFs but rather Mp4, mov, or webm or some other compressed file format. Actual GIFs are extremely wasteful of bandwidth and not hardware optimized. The name lives on though.