What are custom types?
Custom types allow you to define types that are specific to your application that differ from our four preset types (page,click,url and error). Custom types alows you to tailor App Analytics to your application not the other way round. Also custom types in App Analytics are non destructive unlike many other web analytic solutions out there. This means that you can add and remove custom types at anytime with no data loss.
Create a custom type
- Gettitng Started
The first thing you will need is an App Analytics account and an application setup. If you are new to App Analytics we suggest you read our Getting Started Guide and our Tracking Implementation Guide.
- Create the custom type in the App Analytic web interface
You will need to login to App Analytics and navigate to your applications content overview. Your application nav on the left should look something like this:
To add a custom type click the “Add new tracking type…” link in the content menu
- Type Form Fields
After click the add button from the step above you will be presented with a form that you will need to complete to add the new type to App Analtyics Stats Admin Tracking Name
This field is the name that will appear in the web interface content nav, its recommenced that you have this a useful name that makes sense to the type that you are going to track
Stats AS3 Tracking Type
This is the type string that will be used in your AS3 code. It is also recommended that you made this a useful string as it will help you understand what is being tracked back to App Analytics.
- Implement into Application
To use the custom type in your application you just enter the “AS3 Tracking Type” string into the type param in the AppAnalytics.track() method. E.G.