Skip to main content

Why can we see how many times a Card viewed and read in Guru but only views in the API?

  • December 30, 2020
  • 6 replies
  • 64 views

Marcos Perez
Hi everyone! I have a quick question: In Guru we can see for a card how many times it was viewed and read, but the API shows only views, without this differentiation. Which is the difference?image_5318.png

Zev Zoldan
Forum|alt.badge.img+3
Hey! Might be handy to ask in Developer Category too!

Marcos Perez
Yes maybe! Thanks!

  • December 31, 2020
Copying in @mhouston!

Dillon Head
@marcos.perez hey, not sure if this is exactly what you're asking, but `cardviewstats` ( `api.getguru.com/api/v1/facts/some-card-id/cardviewstats` )returns this:
```{
"analytics": {
"favorites": 0,
"copies": 3,
"views": 44
},
"membersWithCardView": 9,
"membersWithoutCardView": 50
}```
This seems to differentiate between net "views" and unique users that have opened the card at some point (membersWithCardView). I could be wrong, but I don't think "read" is determined in any way other than the card having been opened by a user. My bad if I misunderstood your question!

Marcos Perez
Hey Dillon! Thanks for that! Didn't realize it was an available endpoint! This helped me a lot!

Dillon Head
@marcos.perez awesome! Glad that helped. I just happened to have wondered about that myself not too long ago.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings