Connect Medium to Notion

The fastest and easiest way to see your Medium post statistics

Gautham Dinesh
2 min readFeb 18, 2024
Medium posts stats in Notion

When I first started writing on Medium this year, I would always go to https://medium.com/me/stats to see how my posts were doing. This quickly became annoying because:

  1. The stats are only updated once every day so there was no point in checking it more than once in a day.
  2. I hated having to load the website, navigate to stats, and sort to see what post was best performing.

So I decided to automate this and pull this information into my central data source, Notion.

I won’t bore you with the details but I wanted to learn Rust as well so this was a fun side project to implement. I used the medium graphql endpoint to pull in the stats for my posts and auto-populate my Notion database with this information.

First time running the program

This database is sorted on Views and Reads and the database table is updated automatically every day by the Rust program which is currently hosted on a Google Cloud VM.

Currently, this is a private Notion integration but if you would like to use this integration, I can extend it to a public one that you can use in your Notion workspace. Comment on this post to express your demand and I will look into it!

If you like my content, please hit the follow button and share this post.

Follow me on X. Check out my website as well.

Related articles:

--

--