lundi 7 mai 2018

How to store data in Google Analytics?

I am using this library for Google Analytics :

https://github.com/revolunet/angular-google-analytics/

For web application in AngularJS.

What I want is : 1) When the user logs in to the application(Web/AngularJS), the user data should be stored on Google Analytics (For ex : userId, userName,userCity,email,role). So this will help me to get the report based on any of the above value.

2) How to store data: For ex : If user searched something, the search string and the search response should be stored at Google Analytics. How I can do this?

3) And are there any Google Analytics API, to GET this information into our application?(For ex: getAllPageViews,getMostViewedPages)




Aucun commentaire:

Enregistrer un commentaire