#️⃣ Hashtag Analytics
Analyze hashtag performance — top posts, contributors, and engagement patterns.
📋 What It Does
- Navigates to the search results for a given hashtag
- Scrolls to collect tweets using the hashtag
- Extracts engagement data (likes, retweets, replies)
- Identifies top performing posts and top contributors
- Computes hourly posting distribution
- Exports full results as JSON
🌐 Browser Console Script
Steps:
- Go to
x.com/search?q=%23yourhashtag(or any search page) - Edit CONFIG with your target hashtag
- Open console (F12) and paste
src/hashtagAnalytics.js
Configuration:
const CONFIG = {
hashtag: '#web3',
scrollCycles: 20,
delayBetweenScrolls: 1500,
topN: 10,
};
📊 Output
#️⃣ HASHTAG ANALYSIS: #web3
━━━━━━━━━━━━━━━━━━━━━━━━
📊 Stats:
- Total posts collected: 247
- Unique contributors: 189
- Avg engagement: 42 per post
🏆 Top 10 Posts (by engagement)
🔝 Top 10 Contributors (by post count)
📈 Hourly Distribution
📁 Files
src/hashtagAnalytics.js— Browser console hashtag analysis
⚠️ Notes
- Include the
#in your hashtag config - The script navigates to the search page if not already there
- Results are limited by how much X shows in search (recent tab)
- Top N defaults to 10 but is configurable
- JSON export includes all raw tweet data for further analysis
⚡ Ready to try #⃣ Hashtag Analytics?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts