DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 964,423 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Alexandra Grazhevskaja
Alexandra Grazhevskaja

Posted on

Get url clicks with Dev.TO API

Hi all!
I am exploring Dev.To API, and would like to get the amount of clicks on the url inside my article.
Is there any way to do that?πŸ™„

Top comments (6)

Collapse
 
rhymes profile image
rhymes

Yeah!

If you mean the amount of page views of your article there is a way: docs.dev.to/api/#operation/getUser... includes the field page_views_count that contains just that :)

Collapse
 
bauripalash profile image
Palash Bauri πŸ‘»

I think she meant URL (which are inside an article) view count. Something like XDA Forums has

Collapse
 
grazhevskaja profile image
Alexandra Grazhevskaja Author • Edited on

You are right. I mean, the view count or click count of the URL, which is inside the article.

Thread Thread
 
rhymes profile image
rhymes

I don't think we even track that information to begin with.

I'll double check and let you know

Thread Thread
 
grazhevskaja profile image
Alexandra Grazhevskaja Author

Thank you, it would be of a great help for me!

Thread Thread
 
rhymes profile image
rhymes • Edited on

@grazhevskaja I can confirm, we don't track outbound clicks so we don't have that info to begin with

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.