add tb_base from main
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
<html lang="{{ request.LANGUAGE_CODE }}">
|
<html lang="{{ request.LANGUAGE_CODE }}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
{# <meta name="viewport" content="width=100%,maximum-scale=5,minimum-scale=1,initial-scale=1">#}
|
||||||
<meta name="viewport" content="width=device-width,maximum-scale=1,minimum-scale=1,initial-scale=1,height=device-height">
|
<meta name="viewport" content="width=device-width,maximum-scale=1,minimum-scale=1,initial-scale=1,height=device-height">
|
||||||
{% if page.description %}
|
{% if page.description %}
|
||||||
<meta name="description" content="{{ page.description }}">
|
<meta name="description" content="{{ page.description }}">
|
||||||
@@ -18,7 +19,8 @@
|
|||||||
<meta name="google-site-verification" content="4V4upJSK2_4MBrr5ZXjcCLw3bBwXc4_gsnKudJAaWqI" />
|
<meta name="google-site-verification" content="4V4upJSK2_4MBrr5ZXjcCLw3bBwXc4_gsnKudJAaWqI" />
|
||||||
<meta name="yandex-verification" content="b8a976575e41fbbc" />
|
<meta name="yandex-verification" content="b8a976575e41fbbc" />
|
||||||
|
|
||||||
{% include "inter/meta_OpenGraph.html" %}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Yandex.Metrika counter -->
|
<!-- Yandex.Metrika counter -->
|
||||||
<script type="text/javascript" >
|
<script type="text/javascript" >
|
||||||
@@ -48,6 +50,7 @@
|
|||||||
|
|
||||||
gtag('config', 'G-2WW2PTG5BM');
|
gtag('config', 'G-2WW2PTG5BM');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16654215692">
|
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16654215692">
|
||||||
</script>
|
</script>
|
||||||
@@ -76,8 +79,42 @@ function gtag_report_conversion(url) {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{# </header>#}
|
|
||||||
{#<div class="line_f_header"></div>#}
|
<!-- TikTok Pixel Code Start -->
|
||||||
|
<script>
|
||||||
|
!function (w, d, t) {
|
||||||
|
w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(
|
||||||
|
var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner;ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=r,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement("script")
|
||||||
|
;n.type="text/javascript",n.async=!0,n.src=r+"?sdkid="+e+"&lib="+t;e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(n,e)};
|
||||||
|
|
||||||
|
|
||||||
|
ttq.load('CQLLM8BC77UEI2I3MU5G');
|
||||||
|
ttq.page();
|
||||||
|
}(window, document, 'ttq');
|
||||||
|
</script>
|
||||||
|
<!-- TikTok Pixel Code End -->
|
||||||
|
|
||||||
|
<!-- Meta Pixel Code -->
|
||||||
|
<script>
|
||||||
|
!function(f,b,e,v,n,t,s)
|
||||||
|
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
||||||
|
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
||||||
|
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
||||||
|
n.queue=[];t=b.createElement(e);t.async=!0;
|
||||||
|
t.src=v;s=b.getElementsByTagName(e)[0];
|
||||||
|
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
||||||
|
'https://connect.facebook.net/en_US/fbevents.js');
|
||||||
|
fbq('init', '370775942506737');
|
||||||
|
fbq('track', 'PageView');
|
||||||
|
</script>
|
||||||
|
<noscript><img height="1" width="1" style="display:none"
|
||||||
|
src="https://www.facebook.com/tr?id=370775942506737&ev=PageView&noscript=1"
|
||||||
|
/></noscript>
|
||||||
|
<!-- End Meta Pixel Code -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
@@ -116,7 +153,7 @@ function gtag_report_conversion(url) {
|
|||||||
init_ws()
|
init_ws()
|
||||||
const beep = new Audio('/static/sounds/beep_2.mp3')
|
const beep = new Audio('/static/sounds/beep_2.mp3')
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
@@ -147,39 +184,6 @@ function gtag_report_conversion(url) {
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body{% if page_type == 'routes' %} onscroll="scroll_ev(event,this)"{% endif %}>
|
<body{% if page_type == 'routes' %} onscroll="scroll_ev(event,this)"{% endif %}>
|
||||||
|
|
||||||
<div class="popup_wrapper">
|
|
||||||
|
|
||||||
{% if not user.is_authenticated %}
|
|
||||||
<div class="popup_content">
|
|
||||||
<div class="popup_cross" onclick="setCokie(182,'popup_show','false')">
|
|
||||||
<img src="/static/img/svg/cross_popup.svg" alt="">
|
|
||||||
</div>
|
|
||||||
<div class="popup_img"><img src="/static/img/svg/close_gift.svg" alt=""></div>
|
|
||||||
<div class="popup_title">{% translate "Попробуй бесплатно" %}</div>
|
|
||||||
<div class="popup_text">{% blocktranslate %} Зарегистрируйся сейчас и получи бонус <br> <span id="poup_text_bold">3 месяца бесплатного пользования!</span> {% endblocktranslate %}</div>
|
|
||||||
<button class="confirm_profile_btn" onclick="setCokie(182,'popup_show','false', '{% url "registration_page" %}')">{% translate "Зарегистрироваться" %}</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
|
||||||
<div class="popup_content">
|
|
||||||
<div class="popup_cross" onclick="setCokie(182,'first_authorization','true')">
|
|
||||||
<img src="/static/img/svg/cross_popup.svg" alt="">
|
|
||||||
</div>
|
|
||||||
<div class="popup_img">
|
|
||||||
<img src="/static/img/svg/open_gift.svg" alt="">
|
|
||||||
</div>
|
|
||||||
<div class="popup_title">{% translate "Добро пожаловать!" %}</div>
|
|
||||||
<div class="popup_text">{% blocktranslate %} Команда Trip With Bonus <br> поздравляет вас с регистрацией и дарит <br> <span id="poup_text_bold">3 месяца бесплатного пользования сервисом</span> {% endblocktranslate %}</div>
|
|
||||||
<button class="confirm_profile_btn" onclick="setCokie(182,'first_authorization','true')">{% translate "Забрать подарок" %}</button>
|
|
||||||
<div id="authenticated_img"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="cookie_block">
|
<div class="cookie_block">
|
||||||
<div class="container_content_cookie_block">
|
<div class="container_content_cookie_block">
|
||||||
<div class="txt_cookie">{% translate "Сайт использует файлы cookie. Просматривая этот сайт, Вы соглашаетесь" %}
|
<div class="txt_cookie">{% translate "Сайт использует файлы cookie. Просматривая этот сайт, Вы соглашаетесь" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user