chore: Update analytics events (#6050)

This commit is contained in:
Pranav Raj S
2022-12-08 20:53:13 -08:00
committed by GitHub
parent 7dc790a7e0
commit 6200559123
17 changed files with 1108 additions and 55 deletions

View File

@@ -51,11 +51,10 @@
}
window.errorLoggingConfig = '<%= ENV.fetch('SENTRY_DSN', '')%>'
</script>
<% if @global_config['ANALYTICS_TOKEN'].present? && @global_config['ANALYTICS_HOST'].present? %>
<% if @global_config['ANALYTICS_TOKEN'].present? %>
<script>
window.analyticsConfig = {
token: '<%= @global_config['ANALYTICS_TOKEN'] %>',
host: '<%= @global_config['ANALYTICS_HOST'] %>',
}
</script>
<% end %>