This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var currentPos = body.scrollTop || window.pageYOffset || document.documentElement.scrollTop, | |
body = document.body, | |
windowHeight = window.innerHeight, | |
documentHeight = document.body.offsetHeight, | |
scrollPercent = parseInt( (currentPos + 5) / (documentHeight - windowHeight) * 10) * 10; | |
//b.send - первый обязательный аргумент, где 'b' - имя счетчика, которое задается в самом счетчике: | |
/* кусок кода из счетчика | |
ga('create','UA-59280394-9','auto',{'name':'b'}); | |
ga('b.require', 'displayfeatures'); - эта строчка обязательна для показа подробной статистики по посетителям (интересы. география и т.д.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scrollDepthtracking = {}; | |
window.addEventListener ('scroll', function () { | |
var currentPos = body.scrollTop || window.pageYOffset || document.documentElement.scrollTop, | |
currentPosRnd = Math.round((currentPos / 200) * 200); | |
if (!scrollDepthtracking[currentPosRnd]) { | |
scrollDepthtracking[currentPosRnd] = true; | |
ga('b.send', 'event', 'Глубина прокрутки в px', currentPosRnd); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var label = 0; | |
setInterval(function () { | |
label += 10; | |
if (label >= 20) { | |
ga('b.send', 'event', 'Время на странице', label); | |
} | |
}, 10000); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ru-RU"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta property="og:title" content=""> | |
<meta property="og:image" content=""> | |
<link rel="image_src" href="img/share.png"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mouseX = 0, | |
mouseY = 0, | |
limitX = 39 - 23, | |
limitY = 33 - 23; | |
$(window).bind('mousemove', function(e) { | |
var offset = $('.eye').offset(); | |
mouseX = Math.min(e.pageX - offset.left, limitX) | |
mouseY = Math.min(e.pageY - offset.top, limitY) | |
if (mouseX < 0) mouseX = 0 | |
if (mouseY < 0) mouseY = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var conditions = [{ | |
"занятость": "работает", | |
"погода": "ясно", | |
"время суток": "утро", | |
"день недели": "будни", | |
"название линка": "пляж", | |
"сообщение": "Солнечное утро. На работу в гармонии с собой", | |
"пиксель на показ": "https://cocacola.solution.weborama.fr/fcgi-bin/dispatch.fcgi?a.A=im&a.si=91&a.te=2059&a.he=1&a.wi=1&a.hr=p&a.ra=8864359", | |
"ссылка перехода": "https://cocacola.solution.weborama.fr/fcgi-bin/dispatch.fcgi?a.A=cl&a.si=91&a.te=2059&a.ra=6407103&g.lu=", | |
"TNS": "https://www.tns-counter.ru/V13a****weborama_ad/ru/UTF-8/tmsec=wmediavest_9192-2059-1/2958643" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//1. https://hi-tech.mail.ru/card/samsung_suhd/ | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() | |
{(i[r].q=i[r].q||[]).push(arguments)} | |
,i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create','UA-81706562-13','auto',{'name':'c'}); | |
ga('c.require', 'displayfeatures'); | |
ga('c.send','pageview'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Rating@Mail.ru counter --> | |
<script type="text/javascript"> | |
var _tmr = window._tmr || (window._tmr = []); | |
_tmr.push({id: "2826995", type: "pageView", start: (new Date()).getTime()}); | |
(function (d, w, id) { | |
if (d.getElementById(id)) return; | |
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id; | |
ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js"; | |
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; | |
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//GA-counter: | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-81706562-20', 'auto'); | |
ga('require', 'displayfeatures'); | |
try { | |
var args = JSON.parse(location.search.match(/custom_args=(.+)($|&)/)[1]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//GA-counter: | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-81706562-21', 'auto'); | |
ga('require', 'displayfeatures'); | |
try { |
OlderNewer