How Twitter for Websites widgets respect users’ privacy¶
What information does Twitter receive from Twitter for Websites widgets?¶
When users visit websites that include Twitter for Websites widgets, such as Tweet buttons or embedded Tweets, we receive certain browser-related information that helps the buttons and widgets work properly and improves the Twitter experience. This information includes the web page visited and a cookie that identifies the user’s browser.
How does Twitter use this information?¶
We use this information for analytics and measurement purposes and to personalize content. For example, our “metrics_token” cookie helps us count the number of users that have seen a particular embedded Tweet or timeline, and our “pid” cookie enables our Tailored Suggestions feature that personalizes content and suggestions for Twitter users based on their website visits.
How long do you keep this information?¶
For analytics and measurement, we keep data that does not include web pages visited, for 120 days.
What privacy options do website publishers have?¶
You may choose whether Twitter widgets on your site help to tailor content and suggestions for Twitter users. You can opt out of having information from your website used for personalization by following the instructions below.
Include the following snippet within the
<link> elements on your pages that include Twitter for Websites widgets:
<meta name="twitter:dnt" content="on">
You may also opt-out of tailoring for a specific button or widget, and can do so by setting the optional
data-dnt parameter to be true, as shown in the example below:
<a class="twitter-share-button" href="https://twitter.com/share" data-dnt="true"> Tweet</a> <script async defer src="//platform.twitter.com/widgets.js" charset="utf-8"> </script>
What privacy options do users have?¶
In addition to the choices websites have regarding tailoring content on Twitter, we remain committed to providing users with simple and meaningful privacy choices about how their information is used to improve their Twitter experience. For more information about those choices, please see the links below: