I work at a company with a very prolific tracking tag, which uses a tracking pixel to pass information. Currently, our tag uses a bare <img>
inside of a <noscript>
, and the image does not have an alt
attribute.
Our SEO wants to add an alt
with some keywords to the tracking pixel, but I noted that the Facebook and Google pixels do not do this. I'm unable to justify my resistance to making this change besides a strong gut-feeling and comparison to competitors.
Is there any technical or SEO reason why this would be a bad idea? Have Facebook and Google simply overlooked this, or perhaps they're aware it offers no benefit - but wouldn't do any harm either.
I did note a few older threads discussing that all images should have an alt
and that in the case of tracking pixels, an empty alt
would be most appropriate. However, neither FB nor Google have an alt
at all.
This question is not about how to track users on our site. My company is providing the tag that others use for their tracking. We're the second most prolific web tag behind Google Analytics. If I add an alt
attribute, it will be included across all websites who install our tag moving forward. This is not about adding an alt
attribute to a single tag on our own website.