I work on a website in the EU, and currently there are no ways without these social buttons (by their "there").
Recently, there has been concern regarding the legality of this in the EU , in particular the collection of user information sent to US servers without explicit user consent.
There was a German report on golem.de, as well as advice from a lawyer (sorry, only German) that this would be enough if the built-in button does not automatically initiate interaction with the American server as such, but only with the consent of the user, that is, with manual interaction, such as a click.
We are currently using the official method, as well as subscribing to the edge.create event , to understand its use. But, unfortunately, this works by downloading an iframe with content from Facebook, thereby immediately sending user data without his consent, without even clicking on him. I am looking for a way to avoid this.
Idea: show a local image with a local href that starts uploading Facebook stuff only when the user actually clicks on it.
The problems that I see in them are:
- The user clicks on my DOM element, and now I will need to act how the real FB button was pressed, but how can I do this, since the real button is not there? If I load the button, the user will see the second one, they will need to click again, etc. I will need to boot if you close the screen, fake a click, etc. Complex and confusing.
- A counter next to similar ones will be absent. I need to find a way to get this information for the current URL (for example, on the server side), securely cache this data and still show it to the user. I have no idea where I can get this data.
Whether in the EU or not, the law or not, since I only recently began to study this issue (because my work required it), it made me creeps when I realized how it works. I am a web paranoid, I canβt believe that I am alone.
Any ideas how to solve the above problems?
source share