Skip to content

Instantly share code, notes, and snippets.

@keshcreations
Created August 17, 2018 11:37
Show Gist options
  • Save keshcreations/4a9911fbe7105505278abebb3bf79eed to your computer and use it in GitHub Desktop.
Save keshcreations/4a9911fbe7105505278abebb3bf79eed to your computer and use it in GitHub Desktop.
Target EventCallback on a specific Campaing
window.usabilla_live("setEventCallback", function (category, action, label, value) {
if(action == "Campaign:Open" && label == "db9094e12969") {
console.log("This is AWESOME");
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment