Final updates and tweaks in preparation for MVP launch

- Removed unused items from the footer
- Fixed language files to cover all variants of English
- Added Google Analytics tracking code
This commit is contained in:
Jason Williams
2020-10-25 12:40:21 -06:00
parent 98ff78321b
commit b5014cae5b
5 changed files with 17 additions and 8 deletions

View File

@@ -14,4 +14,13 @@ $(() => {
$('textarea').each(function() {
$(this).height($(this)[0].scrollHeight)
})
// Use google analytics in production
if (!window.location.hostname.includes('dev')) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-167178542-1');
}
});