countTrackula

countTrackula

MODX extra

Install on MODX

App Details

countTrackula 2.0

With this snippet you will have the ability to display the number of downloads for a local file or the number of clicks on a remote file. It'll also create a hashed link of the local or remote file for security purposes hiding the file path of a locally hosted file.

System Settings

Name Description
algo The desired algorithm to use when creating a checksum of the download file. Refer to the PHP Documentation for a list of supported algorithms to choose from. Default: SHA1
salt Define a secret passphrase to be used with generating the checksum. Default: countTrackula's best friend is decrypt-keeper
core_path Just the path to the component files for use with the snippet. Best just to leave this untouched.

Properties

Property Type Req/Opt Description
&path String Required Path to the download file from webroot.
&file String Required The filename of the download without slashes.
&name String Required The name of your download file for display purposes.
&term String Optional The word shown next to download count. (i.e. 18 hits)
&hits Boolean Optional If true, only shows the download count of &file.
&tpl String Optional The chunk used for displaying the download link to the client.

Example

—Locally Hosted Files

Define a download with a property path of downloads/ and a property file of MyPackage.zip with the property name of My Package

SOURCE:
OUTPUT:

My Package (18 downloads)

<a href="http://example.com/?download=SALTEDHASHCHECKSUM">My Package</a> (18 downloads)

To only show the download count of My Package but use the term hits instead of downloads use the following:

OUTPUT:

18 hits

&mdash;Remotely Hosted Files

To define a remote file for download with the property term of clicks set the file property as the link to the file like below. Note: This feature has barely been tested so please report any erroneous findings you may run into on my [GitHub project page](https://github.com/daemondevin/countTrackula).

SOURCE:
OUTPUT:

countTrackula (18 clicks)

<a href="http://example.com/?download=SALTEDHASHCHECKSUM&link=true">countTrackula</a> (18 clicks)

Pricing

Starting from $0 per month.

Check Out the Stop Motion Player Widget

By Common Ninja

Stop Motion PlayerTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

No tags

Developed By

Devin Gaul

Common Ninja Apps

Some of the best Common Ninja extras for MODX

Browse our extensive collection of compatible extras, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Stop Motion Player for MODX logo

Stop Motion Player

Create engaging stop motion displays with a stop motion player that turns image sequences into interactive animations to boost creativity and visitor engagement.

Event List for MODX logo

Event List

Use an event list to highlight upcoming activities, improve visibility, and help visitors discover events that increase attendance and engagement.

MP3 Player for MODX logo

MP3 Player

Add an MP3 Player to your website and engage visitors with music, podcasts, and spoken audio without any setup complexity.

Process for MODX logo

Process

Use a process widget to present tasks in a clear visual sequence, showing each step with images and text to improve understanding and user engagement.

Bluesky Feed for MODX logo

Bluesky Feed

Show Bluesky posts with a Bluesky feed that updates in real time, improves content discovery, and keeps visitors engaged with fresh activity.

Cookies Consent Bar for MODX logo

Cookies Consent Bar

Display a cookies consent bar that explains usage and supports GDPR compliance, enhancing user trust and legal clarity.

Tabs for MODX logo

Tabs

Use tabs to organize content into clear sections, improve navigation, and help visitors switch between topics quickly for a smoother user experience.

Age Gate for MODX logo

Age Gate

Use an age verification popup to validate visitor age, meet regulatory requirements, and ensure only eligible users access restricted content.

Feature Voting for MODX logo

Feature Voting

Use feature voting so users submit ideas, vote on requests, and help you prioritize product updates by real customer demand.

Info List for MODX logo

Info List

An Info List presents key details in a clear, structured format to improve user experience and support conversions.

Cookie Banner for MODX logo

Cookie Banner

Use a Cookie Banner to inform visitors about cookies on your site and let them manage their consent in a clear, structured way.

Stories for MODX logo

Stories

Add interactive stories to your site to showcase content in a visual, mobile friendly format that boosts engagement and guides visitors toward action.

More extras

extras You Might Like

PeoplesPeoples

Peoples

Peoples is a simple User and User Group listing component for MODx&#8230;

Discover extra
CacheClearCacheClear

CacheClear

Manually deletes cache files

Discover extra
userToolsuserTools

userTools

A User toolkit Extra for MODX Revolution.This extra includes a set&#8230;

Discover extra
BasicNavBasicNav

BasicNav

Simple First, Last, Previous, Next links for pages. Basic options&#8230;

Discover extra
eventTimereventTimer

eventTimer

This Snippet takes a date and time you give it, processes them through&#8230;

Discover extra
TranslationsTranslations

Translations

Offer translated versions of your resources without having to maintain&#8230;

Discover extra
PiwigoModxPiwigoModx

PiwigoModx

PiwigoModx id a MODx addon that displays images from a Piwigo gallery.&#8230;

Discover extra
bloXbloX

bloX

listing records of xpdo-objects, they can be joined and nested into&#8230;

Discover extra
ComposerConsoleComposerConsole

ComposerConsole

This package can help you run composer even if you don't have SSH&#8230;

Discover extra
Commerce SprayPayCommerce SprayPay

Commerce SprayPay

Adds the SprayPay payment gateway to your Commerce webshop.

Discover extra

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms