-
-
Save LMG23/68a54cf412bbf7eb0ebac27cdee6ace6 to your computer and use it in GitHub Desktop.
This file contains 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
<script> | |
window.usabilla_live('setEventCallback', function(category,action,label,value,userData){ | |
if (typeof action !== 'undefined') { | |
//Append data to data layer on all actions | |
window.dataLayer.push({ | |
'event':'Usabilla', | |
'category': category, | |
'action': action, | |
'label': label, | |
'value': value, | |
'userData': userData | |
}); | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment