diff --git a/.idea/.idea.Marechai/riderModule.iml b/.idea/.idea.Marechai/riderModule.iml index 3f30df5e..1ec9210a 100644 --- a/.idea/.idea.Marechai/riderModule.iml +++ b/.idea/.idea.Marechai/riderModule.iml @@ -9,5 +9,6 @@ + \ No newline at end of file diff --git a/Marechai/Marechai.csproj b/Marechai/Marechai.csproj index 69199160..39d4bd76 100644 --- a/Marechai/Marechai.csproj +++ b/Marechai/Marechai.csproj @@ -162,6 +162,10 @@ TODO.md + + true + PreserveNewest + <_ContentIncludedByDefault Remove="Areas\Admin\Views\BrowserTests\Delete.cshtml" /> diff --git a/Marechai/Pages/_Host.cshtml b/Marechai/Pages/_Host.cshtml index c98bece9..6ab93515 100644 --- a/Marechai/Pages/_Host.cshtml +++ b/Marechai/Pages/_Host.cshtml @@ -44,6 +44,8 @@ + + diff --git a/Marechai/wwwroot/js/ga.js b/Marechai/wwwroot/js/ga.js new file mode 100644 index 00000000..27f75f47 --- /dev/null +++ b/Marechai/wwwroot/js/ga.js @@ -0,0 +1,29 @@ +/****************************************************************************** + // MARECHAI: Master repository of computing history artifacts information + // ---------------------------------------------------------------------------- + // + // Author(s) : Natalia Portillo + // + // --[ License ] -------------------------------------------------------------- + // + // This program is free software: you can redistribute it and/or modify + // it under the terms of the GNU General Public License as + // published by the Free Software Foundation, either version 3 of the + // License, or (at your option) any later version. + // + // This program is distributed in the hope that it will be useful, + // but WITHOUT ANY WARRANTY; without even the implied warranty of + // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + // GNU General Public License for more details. + // + // You should have received a copy of the GNU General Public License + // along with this program. If not, see . + // + // ---------------------------------------------------------------------------- + // Copyright © 2003-2020 Natalia Portillo + *******************************************************************************/ + +window.addEventListener('load', function () { + ga('create', 'UA-XXXXXXXX-1', 'auto') + ga('send', 'pageview') +}) \ No newline at end of file