Using Invisible Counter with Official StatCounter Plugin for WordPress Використання Невидимий лічильник з офіційною StatCounter плагін для WordPress

WordPress bloggers using StatCounter service to track and count visitors and page views statistics on their blogs can now download and install WordPress блогерів допомогою StatCounter службу для відстежування і підрахунку відвідувачів і переглядів сторінок за статистикою на їх блоги тепер можуть завантажити і встановити official WordPess plug-in for StatCounter офіційний плагін в Wordpess для StatCounter to easily install StatCounter tracking code on self-hosted on the blog for comprehensive range of web analytic stats. легко встановити код відстеження StatCounter On Self-розміщеного на блозі повний спектр веб-аналітики, статистики.

The StatCounter plugin provides easier way to install tracking code without the need to manually edit and modify the template files or code. Плагін StatCounter забезпечує більш легкий спосіб встановити код відстеження, без необхідності вручну редагувати і змінювати файли шаблону або коду. However, it also introduces some inflexibilities too, such as to make use of invisible counter. Однак, він також вводить деякі inflexibilities занадто, як використовувати невидимий лічильник. Although it's possible to customize counter display style to invisible in “Configure Counter” option, but StatCounter sometimes add a StatCounter.com tagline to the web pages with code added even though the counter type is set to invisible in control panel. Хоча це можливо налаштувати стиль відображення боротьбі з невидимим "Налаштування Counter" варіант, але іноді StatCounter додати підзаголовок StatCounter.com на веб-сторінки з кодом додав хоча тип лічильника встановлений на невидимою в панелі керування.

To ensure that StatCounter always stay invisible when using Official StatCounter Plugin for WordPress to automatically display the tracking code on all Wordpress blog posts and pages, a specific invisible tag code needed to be added into the tracking code by modifying the plug-in file. Для того щоб StatCounter завжди залишатися невидимим при використанні офіційних StatCounter плагін для WordPress для автоматичного відображення код відстеження на всіх блог WordPress постів і сторінок, невидимих конкретні тег необхідно додати код відстеження, змінивши плагіна у файлі.

Open StatCounter-Wordpress-Plugin.php in any text editor (if already uploaded to server, remote SSH into the server and change directory to \wp-content\plugins directory). Відкрите StatCounter-WordPress-plugin.php в будь-якому текстовому редакторі (якщо вже завантажені на сервер, SSH на віддаленому сервері і перейдіть в директорію \ WP-Content \ Plugins Directory). Then go to the bottom of the code, and locate a block of text similar to the following text at around line 197: Потім перейдіть до нижньої частини коду, а також знайти фрагмент тексту схожа на наступний текст приблизно на рядок 197:

<!-- Start of StatCounter Code -->
<script type="text/javascript">
<!--
var sc_project=<?php echo $sc_project; ?>;
var sc_partition=<?php echo $sc_part; ?>;
var sc_security="<?php echo $sc_security; ?>";
//-->
</script>
<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
<!-- End of StatCounter Code -->

Add an additional var line below to in between, or on top or bottom of existing 3 lines: Додати додаткові VAR рядки нижче, щоб між ними, або на верхній або нижній частині існуючого 3 рядки:

var sc_invisible=1;

The final code will looks like below: Остаточний код виглядає нижче:

<!-- Start of StatCounter Code -->
<script type="text/javascript">
<!--
var sc_project=<?php echo $sc_project; ?>;
var sc_invisible=1;
var sc_partition=<?php echo $sc_part; ?>;
var sc_security="<?php echo $sc_security; ?>";
//-->
</script>
<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
<!-- End of StatCounter Code -->

Upload the new plugin file to the server, or if you already editing on the server, save the file. Завантажити новий файл плагіна на сервер, або якщо ви вже редагування на сервер, збережіть файл. Voila, the StatCounter will now always invisible to visitors' eyes. Вуаля, StatCounter тепер завжди буде невидимою для очей відвідувачів.

IMPORTANT : The page is machine translated and provided "as is" without warranty. ВАЖЛИВО: Сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article оригінальний англійська статтю whenever possible. коли це можливо.


Leave a Reply Написати відповідь

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Ви можете використовувати ці теги: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <справі DateTime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Підписатися на коментарі функція була відключена. To receive notification of latest comments posted, subscribe to Щоб отримувати повідомлення про останні коментарях, підписатися My Digital Life Comments RSS feed Моя Цифрова життя Коментарі RSS Feed or або register to receive Увійдіть, щоб отримувати new comments in daily email digest. нові коментарі в щоденній електронній пошті.
Custom Search

New Articles Нові статті

Incoming Search Terms for the Article Вхідні терміни пошуку для статті

stats counter for wordpress статистика лічильник для WordPress - -- how to remove wordpress stat counter Як видалити WordPress боротьбі стат - -- invisible detcatoe - plug in невидимі detcatoe - підключіть - -- invible detector plug in invible Plug детектора - -- visit counter plugins for wordpress лічильник відвідувань плагіни для WordPress - -- wordpress plugin invisible visitor counter Wordpress Plugin невидимий лічильник відвідувань - -- wordpress Start of StatCounter Code remove WordPress Початок StatCounter кодекс видалити - -- put invisible code into wordpress покласти невидимий код на WordPress - -- wordpress counter strike WordPress Strike Counter - -- how can I put a invisible counter on my facebook profile Як я можу покласти невидимий лічильник на мій профіль Facebook - -- invisible counter customizer Customizer невидимий лічильник - --