Added promise functionality
Logging customer ID and email
Configuring analytics.js