Fix Bug 1041997 - optimizely event parameter

I haven't finished this testing yet, but this is the first issue which definitely stops it from working!