What is personalization.js in your X archive?
personalization.js shows what X has inferred about you for ads and recommendations: your interests, languages, gender and age, recent location activity, and which advertisers have put you in their audiences.
How to open it
It is a text file in the archive’s data folder. Open it in any text editor; delete the first line’s window.YTD... = prefix and the rest is plain JSON any JSON tool can read. Our free viewer does not read this file yet; it covers likes, bookmarks and your own posts.
Fields in personalization.js
| Field | What it means |
|---|---|
| interests | Interests X inferred from your activity. |
| partnerInterests | Interests supplied by X's partners. |
| languages | Languages X thinks you use. |
| genderInfo | Gender X inferred. |
| inferredAgeInfo | Inferred date of birth and current age. |
| locationHistory | Location activity from the last 60 days. |
| shows | TV shows X thinks you watch. |
| numAudiences | How many tailored advertiser audiences you are in. |
| advertisers | Advertisers whose tailored audiences include you. |
| lookalikeAdvertisers | Advertisers whose lookalike audiences include you. |
| doNotReachAdvertisers | Advertisers who excluded you from their ads. |
What it is useful for
- Seeing why you get the ads and suggestions you get.
- Finding interests to remove in X's settings.
What to watch out for
- Inferences can be wrong; they are X's guesses, not facts you entered.
Related files
- ad-impressions.js : Ads you were shown
- account.js : Account details
Field names come from the README.txt X includes in every archive. X changes the archive from time to time, so check the README in your own download if something differs. See every file in the archive.