-
-
Save paulca/9ad874cfc900749adfee to your computer and use it in GitHub Desktop.
tito-tracking-template
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
<!DOCTYPE html> | |
<head> | |
<title>Tito Sample Event Tracking</title> | |
<script src="https://js.tito.io/v1"></script> | |
<script> | |
if(!console){var console = function(){};} | |
Tito.on('event:landing', function(data){ | |
console.log('[Tracking]', 'landing with', data) | |
}) | |
Tito.on('registration:started', function(data){ | |
console.log('[Tracking]', 'registration started with', data) | |
}) | |
Tito.on('registration:filling', function(data){ | |
console.log('[Tracking]', 'registration filling with', data) | |
}) | |
Tito.on('registration:finished', function(data){ | |
console.log('[Tracking]', 'finishing with', data) | |
}) | |
Tito.on('registration:complete', function(data){ | |
console.log('[Tracking]', 'completing with', data) | |
}); | |
</script> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment