Back to all

median.klaviyo.setProfile() function

Hello,

I'm trying to use median.klaviyo.setProfile and median.klaviyo.notificationEnabled functions as described in the documentation, but median.klaviyo is coming back as undefined.

Eg when calling the median.klaviyo.setProfile() function, this is the error im seeing in the console:

E/console.error: Uncaught TypeError: Cannot read properties of undefined (reading 'setProfile')
E/console.error: java.lang.Exception: Uncaught TypeError: Cannot read properties of undefined (reading 'setProfile')

Klaviyo is enabled, and I've already added the API keys in the configuration. For context, median.auth is working fine, so median bridge seems to be loading correctly.

Is there something I'm missing or an additional step required?