Instrumenting Your App

To instrument an event for Freshpaint, add the following bit of code whenever there's an event you want to track:

    "Example Event", 
    properties: ["Example Property": "Example Value"]

Verifying the Instrumentation

To verify the instrumentation you can use the Freshpaint Live View. After firing an event, you should see it show up in Freshpaint after a minute:

You can then click the event to look at the properties of the event and confirm they are correct:

By default, Freshpaint automatically forwards any event instrumented with the iOS SDK to any enabled destinations. If you now take a look in Amplitude, you will see the events you created being sent:

Last updated