Clicker Counter allows you to track clicks on file extensions or classes. All clicks are logged and ordered by amount.
Visit the Settings and Maintenance tab and fill in one or both text fields. For example, if you want to track the global downloads of PDF files on your site, you need to enter pdf
in the file extension field. If you want to manually add a class for your tracked assets, enter the class name in file class field, such as myclass
. The plugin also allows for relationship attributes, such as rel="lightbox"
or rel="external"
. For best results, only use one of the available options.
Clicker Counter intercepts clicks on various elements, set by jQuery selectors, and adds them to database. The plugin keeps an unlimited number of clicks statistics in the backend, and displays them based on element selection, file type and post/page type.
Usage
- Use
pdf
,zip
,doc
,xls
,7z
,torrent
or more to track file types. Do not use a dot (.
) in front of the file extension. - Use
myclass
,trackMe
,custom-class
or other class names to track class elements. Do not use a dot (.
) in front of the file extension. - Use
external
,lightbox
,outgoing
or other relationship types to trackrel
attribute elements. Do not use a dot (.
) in front of the file extension. - Create a custom selector such as
$('code')
,$('#myid')
,$('li:first')
,$('a[title$="blog"]')
or other combinations to track more elements on your site.