Contao Open Source CMS > Enhance > Extension list > [inserttagcount] InsertTagCount: Count on insert-tags 1.3.1 stable

Extensions > inserttagcount

[inserttagcount] InsertTagCount: Count on insert-tags

Counts the number of calls on an insert-tag including content

This extension counts how often content is included by an insert-tag. If the original content is place outside the usual page structure you can exatcly count how often the content was displayed.

The following new insert-tags are added. The work exactly like the originals but add the counter:

insert_article_count::XX
insert_content_count::XX
insert_module_count::XX
article_teaser_count::XX

Add "::inactive" or "::invisible" to the insert tag to avoid the insert happen. This helps to disable some insert tags for a while. Both are handled different for the banner rotation.

The values are stored in the table tl_inserttagcount. In the list view for articles and modules the number of views, teasers (articles only) and clicks (function will be added later) is shown.

In each article you can define a target URL to which the banner should link. You can get that link with the insert tag link_count::article::XX which points to a redirect URL. This counts the call (=click) and redirects to the original URL. To use this, please configure a URL fragment (e.g. "clickcount") in the settings. It will be used for the redirct URLs. (e.g. "../clickcount/article/ID") 

For modules (type "html") and content elements (type "html") banner rotation is available. The rotation is done by a cronjob (system/modules/inserttagcount/tools/cronjob.php) which moves the first line of code to the end. If the HTML element only contains the above insert tags (ine each line) this results in a banner rotation. If "inactive" insert tags are included the first of them will become active and the one added at the end gets inactive. This means you can rotate 10 banners and only display 5 of them. "Invisible" ones are just rotated without changing their status. The cronjob does not use the Contao logic, as it should be run once a minute.

This extension swas developed for Cabrio aktiv (http://cabrio-aktiv.com). 

 

Version1.3.1 stableTypeFree
Release date2011-01-09CategoryApplication
LicenseLGPL 3.0
Copyright© 2011 Jan Theofel
AuthorJan Theofel (jan.theofel) http://www.theofel.de/
Release notes and change log for 1.3.1 stableOther versions

- Bugfix for usage with folderurl http://contao-forge.org/issues/2450

1.0.0 stable
1.1.0 stable
1.2.0 stable
1.3.0 stable
Release downloads5Total downloads11
Release installs6Total installs9
Release updatesTotal updates4
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.10.0 stable2.10.3 stable
NameVersion fromVersion to
PackageSizeDate
Contao_inserttagcount_10030019_5.zip224212011-11-15 19:56