Optimizely Schema Not working


#1

I have optimizely schema available in S3 and From the Front-End , sp.js version 2.6.2
I am initializing tracker like this

 window.snowplow("newTracker", "scala", "<collector-url>", {
            appId: "<appId>",
            cookieDomain: "<cookie domain>",
            context:{
                optimizelyVisitor:true,
                optimizelyStates:true
            }

        });

I don’t see any Data corresponding to optimizely in elasticsearch, Am I missing something here


#2

Hi @devsaik

Did you check the bad rows in Elastic Search?
Usually when you do not see any data it ends up there.


#3

Hi @leon I could see events in elastic search but on each event I was expecting optimizely properties. But for some reason I don’t see them


#4

I think I should use property Contexts rather than Context. That fixed the issue