Skip to content

Display article pageviews by using the Fathom API #832

@driesvints

Description

@driesvints

I think it could be cool if we could show the total pageviews an article has received. We could set up a scheduled task that dispatches queued jobs to call the Fathom API to update the counter in the database. The total pageviews are probably gotten from the moment the article was published so we'll need to use the publishing date as a start point.

https://usefathom.com/api

Updating this value can be done once or twice a day maybe? Not sure.

In terms of UI an "x times read" can be shown under the title next to the other meta data as well as on the article overview in the page previews somewhere.

This could also be a neat thing to kickstart the user dashboard again at some point which can aggregate the total reads of a user's articles.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions