CleverTap / clevertap-web-sdk

CleverTap Web SDK
https://clevertap.com/
MIT License
14 stars 18 forks source link

Unable to send Array as Event Property #81

Closed akshaysr-buku closed 1 year ago

akshaysr-buku commented 2 years ago

Hey @akashvercetti @pranaywarke I am unable to send Array of string as Event Property in Clevertap web SDK, i am getting the below Error, Is it possible to send Array of string/boolean as event property or is there any work Around to send Array as Event Property? please let me know.

Screenshot 2022-09-07 at 11 43 59 AM
akshaysr-buku commented 2 years ago

@akashvercetti The verison i am using is 1.1.0

KambleSonam commented 2 years ago

@akshaysr-buku Currently we don't have value support in the event array. https://developer.clevertap.com/docs/events#adding-properties-to-a-custom-event Kindly let us know the format in which you are trying to send the event ?

akshaysr-buku commented 2 years ago

@KambleSonam i want to send an EventProperty like below , in which Loan_application_id and Loan_application_status is array of string { "Loan_application_id": ["caf7608d-04ed-4fb1-89ba-fa7ae22118bf"], "Loan_application_status": ["DRAFT","NA"], "Landing_page_type": "NoCondition_PageView" }

KambleSonam commented 2 years ago

@akshaysr-buku The event structure specified is not supported . We will add it to our to-do's. Thank You.

akshaysr-buku commented 1 year ago

Hey @KambleSonam do Clevertap supports Array of event properties now? or any update on same? Thank you