Firebase Analytics VIEW_ITEM_LIST ITEMS not showing

Published

I am trying to report a VIEW_ITEM_LIST event with some ITEMS inside. Everything is reported properly in the Debug View except for the items. I am not using any custom event. There appears to be the same problem in both Android and iOS.

Here is my code.

 override fun trackSTTListView() {
    val eventBundle = Bundle().apply {
        val itemBundle1 = Bundle().apply {
            putString(Param.ITEM_NAME, "name1")
            putString(Param.ITEM_CATEGORY, "Category")
            putString(Param.PRICE, "49.95")
            putString(Param.CURRENCY, "EUR")
        }

        val itemBundle2 = Bundle().apply {
            putString(Param.ITEM_NAME, "name2")
            putString(Param.ITEM_CATEGORY, "Category")
            putString(Param.PRICE, "89.95")
            putString(Param.CURRENCY, "EUR")
        }
            putString(Param.ITEM_LIST_ID, "1234567890")
            putString(Param.ITEM_LIST_NAME, "WhateverListName")
            putString(Param.PRICE, "125.60")
            putString(Param.CURRENCY, "EUR")

            putParcelableArray(Param.ITEMS, arrayOf(itemBundle1, itemBundle2))
        }
    tracking.logEvent(Event.VIEW_ITEM_LIST, eventBundle)
}

Source: Ios

Published
Categorized as android, firebase, firebase-analytics, ios, kotlin

Answers

Did you find any solution on this ?


Burak Soykal


Sean Kautzer

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq