feat: Integrate LogRocket (#6494)

* feat: install logrocket

* feat: allow log rocket

* feat: enable vuex log-rocket

* feat: integrate vuex with log rocket

* feat: add log rocket identify

* fix: identify if log rocket is initialized

---------

Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
This commit is contained in:
Shivam Mishra
2023-02-21 08:42:45 +05:30
committed by GitHub
parent 26f164d6a0
commit 62de25960c
6 changed files with 43 additions and 0 deletions

View File

@@ -51,6 +51,7 @@
browser_name: '<%= browser.name %>',
}
window.errorLoggingConfig = '<%= ENV.fetch('SENTRY_DSN', '')%>'
window.logRocketProjectId = '<%= ENV.fetch('LOG_ROCKET_PROJECT_ID', '')%>'
</script>
<% if @global_config['ANALYTICS_TOKEN'].present? %>
<script>