Skip to content
Snippets Groups Projects
Commit 93cc2da5 authored by David Mendez's avatar David Mendez
Browse files

Debug GA and js files generation

parent 266ddaad
No related branches found
No related tags found
1 merge request!48Debug GA and js files generation
...@@ -62,6 +62,7 @@ export default { ...@@ -62,6 +62,7 @@ export default {
process.env.SHORTEN_URLS_FOR_ENTITY_BROWSERS == null process.env.SHORTEN_URLS_FOR_ENTITY_BROWSERS == null
? true ? true
: process.env.SHORTEN_URLS_FOR_ENTITY_BROWSERS === 'true', : process.env.SHORTEN_URLS_FOR_ENTITY_BROWSERS === 'true',
GOOGLE_ANALYTICS_ID: process.env.GOOGLE_ANALYTICS_ID || 'hello',
}, },
// Global CSS: https://go.nuxtjs.dev/config-css // Global CSS: https://go.nuxtjs.dev/config-css
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
an open access chemogenomic library comprising about 5,000 well an open access chemogenomic library comprising about 5,000 well
annotated compounds covering roughly 1,000 different proteins. annotated compounds covering roughly 1,000 different proteins.
</p> </p>
<p>GOOGLE_ANALYTICS_ID: {{ analyticsID }}</p>
<div class="d-flex justify-space-between flex-wrap align-center"> <div class="d-flex justify-space-between flex-wrap align-center">
<div class="buttons-container"> <div class="buttons-container">
<v-btn depressed color="primary" nuxt to="/compound/browse"> <v-btn depressed color="primary" nuxt to="/compound/browse">
...@@ -87,6 +88,9 @@ export default { ...@@ -87,6 +88,9 @@ export default {
esProxyBaseUrl() { esProxyBaseUrl() {
return process.env.esProxyBaseUrl return process.env.esProxyBaseUrl
}, },
analyticsID() {
return process.env.GOOGLE_ANALYTICS_ID
},
}, },
} }
</script> </script>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment