This commit is contained in:
Dawid Wysokiński 2020-12-21 20:45:59 +01:00
parent 7bcd69b40e
commit 3d012f893e
2 changed files with 11 additions and 1 deletions

View File

@ -15,6 +15,14 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<script async src="https://www.googletagmanager.com/gtag/js?id=%REACT_APP_TRACKING_CODE%"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '%REACT_APP_TRACKING_CODE%');
</script>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.

View File

@ -1,4 +1,4 @@
export const DEFAULT_LANGUAGE = process.env.REACT_APP_DEFAULT_LANGUAGE ?? 'pl';
export const DEFAULT_LANGUAGE = process.env.REACT_APP_DEFAULT_LANGUAGE ?? 'en';
export const NAME = 'TWHelp';
@ -17,6 +17,8 @@ export const MAP_SERVICE =
export const AUTHOR = 'Dawid Wysokiński';
export const TRACKING_CODE = process.env.REACT_APP_TRACKING_CODE ?? '';
export const DATE_FORMAT = {
MONTH_AND_YEAR: 'yyyy-MM',
DAY_MONTH_AND_YEAR: 'yyyy-MM-dd',