Reputation: 1295
I have a page in wordpress. And I developed an android application that calls to word press's rest api , to retrieve existing pages in json format. Then I parse json and display in application.
My question is that, does my requests to rest api, affect page view in google analytics?
Regards Ceyhun
Upvotes: 0
Views: 453
Reputation: 621
The answer to your question is: NO.
the reason is as simple as the fact the there is no html being loaded when you make a JSON request.
the analytics api is a javascript code that is being loaded with the page in your site but JSON pages are just pages with a string inside of them.
so there is no real HTML being loaded > the analytics code is not activated.
If you want users to count in your analytics you should use the Analytics SDK
Upvotes: 3