guardian/frontend — pull request #594 by ahume (2013-03-27 14:18:46+00:00)
Title: Send optimizely test data back to Omniture and Ophan.

This is part of our push to 'get optimizely to do something useful quickly'. This logs the current test and current variant data back to Omniture and Ophan.

This is unfortunate because it means holding back Omniture and Ophan pings until Optimizely has loaded, hence the slightly ugly crunching of optimizely into the ophan and omniture inits. Very open to better ways of doing this, short or long term.

It's also unfortunate because it loads optimizely on every page, not just the article. :/

Longer term, these need to be sent to Ophan/Omniture as separate requests.

If you want to test, ensure optimizely switch is on in your environment, and then check Ophan ping for an 'optimizely' attr, and the Omniture ping for prop51.

Thoughts?