How doing view counter in app that work with wordpress api

i make app for showing post of my wordpress site using wp cor api v2, now i need counting view of post but i don’t know how do that in app and site view counter syncing together
how by view post in app , view counter of site increase ?

thanks for your time