DEV Community

Alexandra Grazhevskaja
Alexandra Grazhevskaja

Posted on

1 2

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

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay