How to track an application openly in analysis analysis using javascript?

I use parsing and want to track open applications and other events. I saw an example in my documentation

 var dimensions = {
    // Define ranges to bucket data points into meaningful segments
    priceRange: '1000-1500',
    // Did the user filter the query?
    source: 'craigslist',
    // Do searches happen more often on weekdays or weekends?
    dayType: 'weekday'
};
// Send the dimensions to Parse along with the 'search' event
Parse.Analytics.track('search', dimensions);

This updates Analytics Requestsin the dashboard.

How can i track App Opens?

0
source share
2 answers

I found the event name in the REST analytics api documentation. So the code worked:

Parse.Analytics.track('AppOpened', { 'user': userObj}, function(response){
    // callback function
});

You can also track custom events only with your custom event name, for example:

Parse.Analytics.track('CustomEvent', { 'user': userObj, 'otherInfo': otherInfo}, function(response){
    // callback function
});

You can see this in analytics tab -> events in left sidebar -> select custom breakdowns from list, and you will see a list of your custom events in the right sidebar.

+2
source

Parse.com, . Parse.com "Google Analytics" , " ", (, , API ) App Opens.

PFAnalytics.trackAppOpenedWithLaunchOptions(launchOptions)

didFinishLaunching.

0

All Articles