Like Google, Twitter also tracks you when you visit websites that have Twitter content in them.
Twitter collects your data for targeting relevant advertisements.
You should be able to control how Twitter tracks your data by going to the following link.
Twitter – Personalization and Data