Configuration - Modulo Documentation

Configuration

Use a Configuration definition to configure Modulo at the global level, or extend Modulo's functionality with JavaScript.

Registering filters

A common use of Configuration is registering custom types, such as filters or component parts. Here is an example of registering a filter:

Integrating analytics

If you have some custom analytics script to integrate, it can be done this way. Examine the following snippet that was taken from the Fathom Lite mini-analytics software:

(Note that ZZ.XXXXXXXX.YYY would be replaced with a real domain)