I've published 350+ articles on Dev.to. Some got 30 views. Most got 0-5. I wanted to understand why.
So I analyzed the patterns.
The Data
I pulled my own article data via Dev.to's API:
import httpx
articles = []
for page in range(1, 20):
r = httpx.get(f"https://dev.to/api/articles/me?per_page=100&page={page}",
headers={"api-key": "YOUR_KEY"})
batch = r.json()
if not batch: break
articles.extend(batch)
print(f"Total: {len(articles)} articles")
Then I analyzed: which titles, tags, formats, and posting times correlated with higher views.
Finding 1: Titles With Numbers Outperform
Articles with numbers in the title get 2.3x more views on average:
- "5 Government APIs..." → 30 views
- "The $847/year Stack..." → 20 views
- "How to Use the FRED API" → 5 views
The pattern matches what copywriters have known for decades: specific numbers create curiosity.
Finding 2: Tag Selection Matters More Than Content Quality
My top-performing tags by views per article:
| Tag | Avg Views/Article |
|---|---|
| npm | 10.0 |
| machinelearning | 7.2 |
| security | 5.8 |
| javascript | 5.7 |
| python | 5.4 |
| discuss | 4.6 |
The discuss tag is interesting — it doesn't have the highest views, but articles with discuss get more comments (which is what we actually want).
Finding 3: The First 2 Hours Are Everything
Dev.to's feed algorithm heavily weights recency. If your article doesn't get engagement in the first 2 hours, it's effectively dead.
This means:
- Post when your audience is online (US morning = 9-11am ET seems best for English content)
- Cross-post immediately to other platforms for initial traffic boost
- Engage in comments on other articles right before/after posting
Finding 4: Series and Cross-Links Compound
When I published my npm + PyPI typosquatting articles as a series, the second article got 40% more views than a standalone article would have. Internal cross-links keep readers in your content.
Finding 5: "Discuss" Format Gets More Comments
Articles that end with a genuine question get 3x more comments than tutorials. Comments boost the article in Dev.to's algorithm, creating a virtuous cycle.
Low-comment ending: "That's how you set up a Python virtual environment."
High-comment ending: "What's your virtual environment setup? Do you use venv, conda, or poetry?"
My Updated Strategy
Based on this analysis, I'm changing my approach:
- Fewer articles, higher quality — 2-3 per week instead of 10
- Always include numbers in titles
-
Always end with a question in
discusstagged articles - Cross-link everything — build internal link network
- Post at 9am ET on Tuesday-Thursday
What Works for You?
If you publish on Dev.to, what patterns have you noticed? Which of your articles performed best, and why?
I share what I learn about developer marketing, APIs, and security. Follow for data-driven content strategies.
Top comments (0)