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 Google Reviews Widget

By Common Ninja

Google ReviewsTry 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.

Google Reviews for MODX logo

Google Reviews

Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.

AdBlocker Detector for MODX logo

AdBlocker Detector

Detect ad blockers on your site to maintain visibility into user behavior and support sustainable ad-based monetization.

Instagram Slider for MODX logo

Instagram Slider

Add an Instagram slider to your site to display social posts dynamically and keep your visual content engaging and current.

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.

Vimeo Feed for MODX logo

Vimeo Feed

Show Vimeo videos in a Vimeo feed that keeps content fresh and helps visitors discover more of your video library.

Vimeo Slider for MODX logo

Vimeo Slider

Show Vimeo videos with a Vimeo slider that displays clips in a smooth slider to boost engagement and keep visitors watching.

Image Poll for MODX logo

Image Poll

Create interactive image polls that use compelling visuals to boost engagement, gather feedback, and help visitors vote easily.

Highlighted Headlines for MODX logo

Highlighted Headlines

Enhance titles with highlighted headlines that use custom colors, animations, and styles to draw attention and help visitors notice key messages.

Google Maps for MODX logo

Google Maps

Show business locations clearly with a Google Maps widget that displays multiple points, detailed info, and customizable styles to help visitors find you easily.

Glassdoor Reviews for MODX logo

Glassdoor Reviews

Show Glassdoor reviews to highlight employee feedback, strengthen employer brand, and help candidates trust your company.

Image Slider for MODX logo

Image Slider

Showcase visuals with an image slider that displays multiple images in a smooth slideshow, improves design, and keeps visitors engaged.

Card Carousel for MODX logo

Card Carousel

Showcase content with a card carousel that combines images and text, improves visual design, and helps visitors explore key information.

More extras

extras You Might Like

SE Manager for MODXSE Manager for MODX

SE Manager for MODX

Static Elements Manager for MODXThis extra provides advanced batch&#8230;

Discover extra
LexRatingLexRating

LexRating

LexRating is a jQuery's star rating plugin, based on rateit.codeplex.com&#8230;

Discover extra
paramStashparamStash

paramStash

Grabs URL parameters from the query string and stashes them in the&#8230;

Discover extra
getFeedgetFeed

getFeed

A simple snippet to retrieve an RSS feed and iterate the feed items&#8230;

Discover extra
ResizeImageOnUploadResizeImageOnUpload

ResizeImageOnUpload

This component is a plugin which is triggered when images are downloaded&#8230;

Discover extra
fontAwesomefontAwesome

fontAwesome

Makes the relatively easy task of installing Font-Awesome icon fonts&#8230;

Discover extra
MaLTEMaLTE

MaLTE

This tool will look into the manager log and tell you how much time&#8230;

Discover extra
ClientSupportClientSupport

ClientSupport

Allow users to ask for help or support from inside the manager.

Discover extra
SlideshowManagerSlideshowManager

SlideshowManager

Slideshow manager is a CMP (custom manager page) and snippet for&#8230;

Discover extra
TableOfContentsXTableOfContentsX

TableOfContentsX

This extra creates a table of contents based on header tags.

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