DEV Community

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 • Edited

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

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

Thread Thread
 
rhymes profile image
rhymes • Edited

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