Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Changed yandex metrix number, added ecommerce:dataLayer (refs https:/…
Browse files Browse the repository at this point in the history
  • Loading branch information
nutsoriginal committed Feb 8, 2017
1 parent 5c7fab8 commit 12b8d0e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/views/layouts/web/shared/_yandex_metrics.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter20139103 = new Ya.Metrika({
w.yaCounter28587691 = new Ya.Metrika({
id:28587691,
webvisor:true,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
accurateTrackBounce:true,
ecommerce:"dataLayer"
});
} catch(e) { }
});
Expand All @@ -30,4 +31,4 @@

%noscript
%div
%img(src="//mc.yandex.ru/watch/20139103" style="position:absolute; left:-9999px;" alt="")
%img(src="//mc.yandex.ru/watch/28587691" style="position:absolute; left:-9999px;" alt="")

0 comments on commit 12b8d0e

Please sign in to comment.