Aggregated and anonymized data from 80k+ sites using tarteaucitron.
requests / 30 days
47.25% consent
X (formerly Twitter) cards: social media and consent
X (formerly Twitter) cards belongs to the social media service category. Social buttons, widgets and features may load resources from third-party domains and transmit information to the provider.
tarteaucitron can delay the activation of X (formerly Twitter) cards until the visitor has made a choice when the service requires consent.
Managing X (formerly Twitter) cards with tarteaucitron
When X (formerly Twitter) cards is integrated through tarteaucitron, its activation is managed according to the visitor's consent choice. The service can therefore be loaded only when the corresponding permission has been granted and the visitor can later change this choice through the consent interface.
Cookies and storage used by X (formerly Twitter) cards
No cookie name is currently declared in the tarteaucitron integration for X (formerly Twitter) cards. This does not necessarily mean that the service processes no data or uses no other browser storage mechanism.
Configuring X (formerly Twitter) cards
Add the following code to your website after initializing tarteaucitron. Replace the example values with those provided by X (formerly Twitter) cards.
<script>
(tarteaucitron.job = tarteaucitron.job || []).push('twitterembed');
</script>
Additional code
The following code can already be present on your website and should be kept where the service is used.
<div class="twitterembed-canvas" data-tweetid="tweet_id" data-width="width" data-theme="theme (light | dark)" data-cards="cards (show | hidden)" data-conversation="conversation (show | none)" data-align="align (left | center | right)"></div>
Code to remove
Default HTML code to remove from your website:
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s); js.id=id; js.src=p+'://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>For a complete guide, read the documentation to install tarteaucitron.js.
Privacy information
For detailed information about the processing of data by X (formerly Twitter) cards, cookies and applicable retention periods, refer to the documentation or privacy policy published by the service provider:
X (formerly Twitter) cards privacy information
Frequently asked questions about X (formerly Twitter) cards
Does X (formerly Twitter) cards require consent?
When X (formerly Twitter) cards loads third-party resources or uses non-essential tracking technologies, its activation should be managed according to the visitor’s consent choice.
How does tarteaucitron block X (formerly Twitter) cards?
tarteaucitron controls the activation of X (formerly Twitter) cards according to the consent choice recorded for the visitor. The service code is triggered through tarteaucitron instead of being loaded independently from the consent manager.