Tracking metrics like revenue with tags

If you have metrics like revenue, reward points, air miles, kilo-metres run, numbers of transactions. money deposited etc. in your App you can easily track them with xtremepush. You can tag your metrics up to the platform from your app using our tagging methods. This is a simple piece of development in your app. Use the special syntax shown below:

iOS 

// On iOS You can send any available metric
[XPush hitTag:@"#METRICNAME: TAGNAME" withValue: AMOUNT];


// like  an amount of revenue related to a purchase
[XPush hitTag:@"#revenue: new-suit.purchased" withValue: @"500"];

// or the number of air-miles related to a flight
[XPush hitTag:@"#air-miles: Flight.London-to-NewYork" withValue: @"1200"];



Android
// On Android You can send any available metric
mPushConnector.hitTag("#METRICNAME: TAGNAME", AMOUNT);


// like an amount of revenue related to a purchase
mPushConnector.hitTag("#revenue: new-suit.purchased""500");

// or the number of air-miles related to a flight
mPushConnector.hitTag("#air-miles: Flight.London-to-NewYork""1200");

 

Once you have added these tags you can view your tracked metrics in the application metrics page of the analytics suite.

 

The list of metrics you are tacking will also appear in App Lists > App Settings:

On this page you can add a unit for your metrics or rename them to something more user friendly for display on the analytics page:

 

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.