Created
October 24, 2023 13:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.optimizelyEdge = window.optimizelyEdge || []; | |
window.optimizelyEdge.push({ | |
type: 'addListener', | |
filter: { | |
type: 'lifecycle', | |
name: 'campaignDecided' | |
}, | |
handler: (event) => { | |
var campaignId = event.data.decision.campaignId; | |
var experimentId = event.data.decision.experimentId; | |
var variationId = event.data.decision.variationId; | |
// Wait for analytics or heatmapping provider variable and send bucketing info using it here | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment