Unstructured event

Update: After noticing network traffic more closely, I realized event is sent from the Frontend-App, Though I am not sure why event is not collected. Sorry for the confusion
Is this still valid syntax for tracking an unstructured event …?

window.snowplow_name_here('trackUnstructEvent', {
    schema: 'iglu:com.acme_company/viewed_product/jsonschema/2-0-0',
    data: {
        productId: 'ASO01043',
        category: 'Dresses',
        brand: 'ACME',
        returning: true,
        price: 49.95,
        sizes: ['xs', 's', 'l', 'xl', 'xxl'],
        availableSince: new Date(2013,3,7)

where schema ispointing to a valid URL where my jsonschema is hosted and data should align with schema .
In my case from my frontend app doesn’t raise the unstructured event I don’t see the call from developer tools(Network tab). Am I missing any initialization piece. Here is tracker

Hi @devsaik - would you mind updating your post to ask your outstanding question?

Sure…, Will do that

I just got it working. It’s something to do with s3 permissions.