Elegant has support for popular web tracking service, StatCounter.

You need two codes from StatCounter - project ID and security code.

Create a project inside StatCounter. Click on Config, Reinstall Code and then Default Guide.

It will show you a standard code that a website must have in order to use StatCounter.

<!-- Start of StatCounter Code for Default Guide -->
<script>
var sc_project=5555555;
var sc_invisible=1;
var sc_security="XXXXXXXX";
...
<!-- End of StatCounter Code for Default Guide -->

Assign sc_project value to STAT_COUNTER_PROJECT and sc_security to STAT_COUNTER_SECURITY.

STAT_COUNTER_PROJECT = 5555555
STAT_COUNTER_SECURITY = u'XXXXXXXX'

That’s it. Elegant will take care of the rest.

Понравилась статья? Расскажите о ней на: TwitterFacebookEmail


Talha Mansoor is the creator and lead developer of Elegant theme

Что почитать


Дата

Категория

Analytics, SEO and SMO

Тэги

Будьте с нами