Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Conversation

wcjohnson11
Copy link
Contributor

We were trying to send all properties to Optimizely but they can only accept one property, revenue. I've updated our integration and the tests to reflect this and I've also added a fallback to pass total as revenue if the latter isn't included in the call's properties.

Some customers want to be able to track the variable monetary values they get with Optimizely test variations but they don't want to use the word revenue since the value they want to pass through isn't equivalent to revenue and they don't want to conflate the two in their raw data to see that in Optimizely.

@sperand-io
Copy link
Contributor

look_ing_ gtm — ping me once you add value() fallback and we'll get this out!

@wcjohnson11
Copy link
Contributor Author

@sperand-io updated the fallback, lmk 🐩

@sperand-io
Copy link
Contributor

@wcjohnson11 nice, lgtm!

sperand-io added a commit that referenced this pull request Sep 8, 2015
update properties on trackEvent and revenue fallback
@sperand-io sperand-io merged commit 3b35938 into master Sep 8, 2015
@sperand-io sperand-io deleted the revenue-fallback branch September 8, 2015 17:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants