Amazon Mobile Analytics in Outsytems

Amazon Mobile Analytics in Outsytems

  

Hi.

I'm trying to create a wrapper for Amazon Mobile Analytics on Outsystems.

I've gone through the documentation, and the setup of the Analytics is working fine. But tracking of custom events along with attributes don't seem to be working.

The documentation says that tracking events can be performed using this code snippet:

mobileAnalyticsClient.recordEvent('CUSTOM EVENT NAME', {
            'ATTRIBUTE_1_NAME': 'ATTRIBUTE_1_VALUE',
            'ATTRIBUTE_2_NAME': 'ATTRIBUTE_2_VALUE'
            /* ... */
        }, {
            'METRIC_1_NAME': 1,
            'METRIC_2_NAME': 99.3
            /* ... */
        });

I've tried using an object for the custom parameters, as well as a JSON string, but they don't seem to be working.

Anyway other way I can achieve this?

Hello Saurav,


Are you getting any specific error? Can you share an OML file with what you've done so far?


Thanks,

Armando