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:
@@ -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');
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user