Portable (red) gas tanks are usually not configured for an electric fuel gauge sender. Permanent mount gas tanks are usually equipped with one.
However, years ago a friend of mine put fuel gauge senders on his 3 6 gal metal Evinrude tanks. Not sure it was legal.