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 -->
sc_project value to
STAT_COUNTER_PROJECT = 5555555 STAT_COUNTER_SECURITY = u'XXXXXXXX'
That’s it. Elegant will take care of the rest.