Follow these steps to automatically integrate Localytics into your WinRT app, with
minimal coding.
-
In your application's App class, add the following line to the
end of the existing using section.
using LocalyticsComponent;
-
Add the following code to the begining of the OnLaunched
method.
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
Localytics.AutoIntegrate("AppKey");
Congratulations! You're integrated. Check out the data in your
Dashboard or get even more insights
when you start
tagging
events. Don't forget to test your app. Run it in an emulator, or on a real
device if possible.