Referrer Header
Having come across Facebook's Link Shim the subject of what information is transmitted when an Internet user clicks on a link on a webpage. Facebook claim that the issue is keeping their users data secure, I think that is more to do with their bottom-line.
Allowing Facebook users to post links to their own busineses does not make sense to their, or anyone's, business model. Why allow someone who is visiting your website an easy way to go somewhere else.
The implementation of the Referrer Header Meta tag requires the understanding of the syntax and options.
Restricting the Referrer
In an attempt to control what information is available to Google Analytics, Facebook are using the Referrer Header Meta tag options.
This is what Facebook Engineering say:
The current version (November 2022) of Microsoft Edge is based on the Chromium technology so it is probably Chrome 17+ compliant.
Referrer Header
MDN say:
The referrer information the Google Analytics receives from Facebook
The Link Shim mechanism used by Facebook submits a redirect to the linked page and the referrers are modified to the following:
- m.facebook.com/referrer - Mobile
- l.facebook.com/referrer - Desktop
- lm.facebook.com/referrer - Ether (perhaps)
In my analysis and test page for a shim of my own I will have to play around with the referer meta tag on the modal. I am not sure this can be done from the modal and I may need to construct new page that has a new header.
Syntax
There are many options that result is what is seen by the tracking software such as Google Analytics. The simplest seems to be the "stripping" of the additional characters that possibly exist in an accessing URL.
Facebook Engineering claim that the user data, such as their login information and where they are accessing from, is something that needs to be suppressed for privacy reasons. I am not so sure that this is the main reason.
The origin directive:
The Meta Tag and adding to a HTML Element: