Popravek aai simple frontenda - cookie notice, dodana google analytics koda
This commit is contained in:
parent
c6cdb75392
commit
525dadd136
@ -74,6 +74,13 @@
|
|||||||
/**************** HEAD ****************/
|
/**************** HEAD ****************/
|
||||||
echo '<head>';
|
echo '<head>';
|
||||||
|
|
||||||
|
// Google analytics
|
||||||
|
if($site_domain == 'www.1ka.si' && $site_url == 'https://www.1ka.si/'){
|
||||||
|
echo '<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KS6CJHL" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->';
|
||||||
|
}
|
||||||
|
|
||||||
$sqlv = sisplet_query("SELECT value FROM misc WHERE what='version'");
|
$sqlv = sisplet_query("SELECT value FROM misc WHERE what='version'");
|
||||||
$rowv = mysqli_fetch_array($sqlv);
|
$rowv = mysqli_fetch_array($sqlv);
|
||||||
|
|
||||||
|
@ -52,6 +52,22 @@ class DisplayController{
|
|||||||
global $site_url;
|
global $site_url;
|
||||||
global $app_settings;
|
global $app_settings;
|
||||||
global $lang;
|
global $lang;
|
||||||
|
global $aai_instalacija;
|
||||||
|
|
||||||
|
|
||||||
|
// Google analytics za AAI
|
||||||
|
if(isset($aai_instalacija) && $aai_instalacija == true){
|
||||||
|
echo '<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-141542153-2"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag(\'js\', new Date());
|
||||||
|
|
||||||
|
gtag(\'config\', \'UA-141542153-2\');
|
||||||
|
</script>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
echo ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
|
echo ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
|
||||||
echo ' <meta charset="utf-8">';
|
echo ' <meta charset="utf-8">';
|
||||||
|
@ -244,9 +244,8 @@ footer .footer_content .col .logo_holder img {
|
|||||||
height: auto;
|
height: auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
background-color: white;
|
color: white;
|
||||||
border-top: 1px #666 solid;
|
background-color: rgba(96, 96, 96, 0.8);
|
||||||
box-shadow: 0px 0px 5px 1px #999;
|
|
||||||
}
|
}
|
||||||
.cookie_notice .left {
|
.cookie_notice .left {
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
@ -256,6 +255,13 @@ footer .footer_content .col .logo_holder img {
|
|||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
.cookie_notice .left a {
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.cookie_notice .left a:hover {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
.cookie_notice .right button {
|
.cookie_notice .right button {
|
||||||
padding: 13px;
|
padding: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
|
|
||||||
background-color: white;
|
color: white;
|
||||||
border-top: 1px #666 solid;
|
|
||||||
box-shadow: 0px 0px 5px 1px #999;
|
background-color: rgba(96,96,96,.8);
|
||||||
|
|
||||||
.left{
|
.left{
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
@ -25,6 +25,15 @@
|
|||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a{
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
&:hover{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right{
|
.right{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user