Is it possible to embed a PayPal donation button and still be GDPR compliant?
<p>I've read that PayPal embeds a pixel in its button which tracks every user that visits the website. Is that true?</p>
<p>More generally, is it possible to embed a PayPal donation button and still be GDPR compliant?</p>

<p>You can embed a third party button, but have to take care how and why you do this.</p>
<p>PayPal is not providing the button solely on your behalf, but for their own purposes. They are not your data processor, but another data controller. Thus, you need a legal basis (Art 6 GDPR) for sharing visitor data with PayPal. You do have a legitimate interest to accept “donations”, but does this interest outweigh the privacy of people who are just visiting your website, without the intent to donate and without being aware of PayPal's data collection? Likely not. Common solutions:</p>
<ul>
<li><p>You do not embed the button at all, but merely <strong>link</strong> to a PayPal page where the visitor can make a payment.</p>
</li>
<li><p>You show a <strong>placeholder</strong> for the embedded content, and only load the PayPal button when the user clicks on it.</p>
<p>Additionally, this placeholder could provide information about PayPal and their privacy policy. Then, your legal basis for embedding PayPal could be <em>consent</em> instead of legitimate interest (which may or may not be simpler compliance-wise).</p>
<p>An attractive aspect of explicit consent is that it can serve as a legal basis for international transfers, considering that US-based services are no longer covered by an adequacy decision following the Schrems II ruling in 2020.</p>
</li>
</ul>
<p>Background: when you embed third party content on your page, you are <em>jointly responsible</em> for processing of personal data resulting from this. This applies to embedding buttons, scripts, iframes, and other content. There is good case-law on this through the Fashion ID case (ECJ C-40/17) that discussed the obligations of a site operator who embedded a Facebook “Like” button. They were held jointly responsible for the data collection of the button on the page (including merely disclosing the IP address for loading the button from Facebook), but not responsible for subsequent processing of this information on Facebook's servers. The site operator is the data controller even though the embedded button is actually loaded by the user's browser. The scenario is very similar to your question regarding PayPal.</p>
<p>Related questions:</p>
<ul>
<li>Who is the data controller for embedded content? <a href="https://law.stackexchange.com/q/55925/20476/">q/55925</a></li>
<li>Background on the “joint controller” concept, includes an example for embedding a Youtube video in a likely GDPR-compliant manner. <a href="https://law.stackexchange.com/q/55996/20476/">q/55996</a></li>
</ul>

internet gdpr european-union