Skip to content

Instantly share code, notes, and snippets.

@LMG23
Created January 18, 2023 20:56
Show Gist options
  • Save LMG23/c65e61c05dc23749545d4a67e36d5525 to your computer and use it in GitHub Desktop.
Save LMG23/c65e61c05dc23749545d4a67e36d5525 to your computer and use it in GitHub Desktop.
window.usabilla_live('setEventCallback', function(category,action,label,value){
if (typeof action !== 'undefined') {
gtag('event', action, {
'event_category': 'Usabilla',
'event_label': label,
'value': value,
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment