Using Invisible Counter with Official StatCounter Plugin for WordPress Använda Invisible Counter med officiella StatCounter Plugg för WordPress

WordPress bloggers using StatCounter service to track and count visitors and page views statistics on their blogs can now download and install WordPress bloggare använder StatCounter tjänst för att spåra och räkna besökare och sidvisningar statistik på sina bloggar kan nu ladda ner och installera official WordPess plug-in for StatCounter officiell WordPess plug-in för StatCounter to easily install StatCounter tracking code on self-hosted on the blog for comprehensive range of web analytic stats. enkelt installera StatCounter spårningskoden på egen värd på bloggen för omfattande utbud av webb-analytiska statistiken.

The StatCounter plugin provides easier way to install tracking code without the need to manually edit and modify the template files or code. Den StatCounter plugin ger enklare sätt att installera spårningskoden utan att behöva manuellt ändra och modifiera mallen filer eller kod. However, it also introduces some inflexibilities too, such as to make use of invisible counter. Däremot innehåller det också en del stelheter också, såsom att använda sig av osynliga disk. 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. Även om det är möjligt att anpassa Räkneverk stil osynlig i "Anpassa Counter" alternativet, men StatCounter ibland lägga en StatCounter.com tagline till webbsidor med kod till trots disk typ är osynliga i kontrollpanelen.

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. För att säkerställa att StatCounter alltid stanna osynlig när man använder officiella StatCounter Plugg för WordPress att automatiskt visa spårningskoden på alla Wordpress blogginlägg och sidor, en specifik tagg osynlig kod som behövs för att läggas till spårningskod genom att ändra plug-in fil.

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). Öppna StatCounter-Wordpress-Plugin.php i valfri textredigerare (om den redan laddats upp till servern remote SSH till servern och byta katalog till \ wp-content \ plugins). Then go to the bottom of the code, and locate a block of text similar to the following text at around line 197: Gå sedan till slutet av koden, och lokalisera ett block av text som liknar följande text på runt rad 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: Lägg till en extra Var raden nedan i mellan, eller på toppen eller botten av befintliga 3 rader:

var sc_invisible=1;

The final code will looks like below: Den slutliga koden ser ut som nedan:

<!-- 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. Lägg upp den nya plugin-filen till servern, eller om du redan redigering på servern, spara filen. Voila, the StatCounter will now always invisible to visitors' eyes. Voila, kommer StatCounter nu alltid osynligt för besökarnas ögon.

IMPORTANT : The page is machine translated and provided "as is" without warranty. VIKTIGT: är sidan maskin översatt och "i befintligt skick" utan garanti. Machine translation may be difficult to understand. Maskinöversättning kan vara svåra att förstå. Please refer to Hänvisas till original English article original English article whenever possible. möjligt.


Leave a Reply Lov en Svara

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> Du kan använda dessa taggar: href="" titel=""> <abbr titel=""> <b> <blockquote anföra=""> <kodifiera> <del datetime = ""> <em> <jag <slag> <starkt>

Subscribe to comments feature has been disabled. Prenumerera på kommentarer funktionen har inaktiverats. To receive notification of latest comments posted, subscribe to Underrätta jag av följa kommentarerna prenumerera My Digital Life Comments RSS feed Min Digital Liv Kommentarer RSS-flöde or eller register to receive register för att få new comments in daily email digest. nya kommentarer i den dagliga e-postutskick.
Custom Search

New Articles Nya artiklar

Incoming Search Terms for the Article Inkommande Söka Termen för artikeln

stats counter for wordpress stats counter för wordpress - -- how to remove wordpress stat counter hur till flytta wordpress stat counter - -- invisible detcatoe - plug in osynlig detcatoe - plug in - -- invible detector plug in invible detektor plug in - -- visit counter plugins for wordpress Visit Counter plugins för WordPress - -- wordpress plugin invisible visitor counter wordpress plugin osynlig besöksräknare - -- wordpress Start of StatCounter Code remove wordpress Start of StatCounter Code bort - -- put invisible code into wordpress sätta osynlig kod i wordpress - -- wordpress counter strike wordpress counter strike - -- how can I put a invisible counter on my facebook profile Hur kan jag sätta en osynlig räknare på min Facebook-profil - -- invisible counter customizer invisible counter Customizer - --