Strong Posted May 17, 2011 Posted May 17, 2011 Народ, у кого Яндекс метрика на 1.14.1 на стандартной теме стоит?Все работает? у меня почему-то валит весь правый хук и футер.К чему бы это? Share this post Link to post Share on other sites More sharing options...
Scotch Posted May 20, 2011 Posted May 20, 2011 Яндекс метрику делал не ors, а Яндекс!!! Модератор, разберитесь пожалуйста... Share this post Link to post Share on other sites More sharing options...
Scotch Posted May 20, 2011 Posted May 20, 2011 Народ, у кого Яндекс метрика на 1.14.1 на стандартной теме стоит?Все работает? у меня почему-то валит весь правый хук и футер.К чему бы это? По всей вероятности некорректно вставлен код метрики, напишите куда и как вставляли ... Share this post Link to post Share on other sites More sharing options...
Scotch Posted May 20, 2011 Posted May 20, 2011 а точнее, код (у меня в 1.3.7 по крайней мере так) в сайт\тема\ваша тема\header.tpl {$HOOK_HEADER} </head> {literal} <!-- Yandex.Metrika counter -->[removed](function(w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter5272072 = new Ya.Metrika({id:0000000, clickmap:true, trackLinks:true}); } catch(e) { } });})(window, 'yandex_metrika_callbacks');[removed] [removed][removed] <!-- /Yandex.Metrika counter -->{/literal} <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> Share this post Link to post Share on other sites More sharing options...
Strong Posted May 24, 2011 Posted May 24, 2011 Точно, точно.... Обернул литералами, заработало... Только я в футер пихаю.... вместе с информером. Share this post Link to post Share on other sites More sharing options...
Евгений Медведев Posted June 5, 2011 Posted June 5, 2011 Помогает так же вынесение скрипта в JS файл, с загрузкой там же через src Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now