# MT3S Marketing Program for Mautic A free, open-source plugin for **Mautic 7** that adds two marketing tools to your instance: - **Marketing Programs** — plan and track your marketing activities. Programs carry a status, owner, dates, budget and category, and hold everything that makes them real: objectives, insight notes, budget allocations, stakeholders and audiences, and a task list with dependencies, milestones, phases and RACI assignments. - **Smart Links** — short links (like `https://links.example.com/l/abc`) that redirect visitors to any destination — an external URL or a Mautic landing page or form — while tagging the click with the UTM parameters you choose and counting every hit for the statistics. Both tools appear in the Mautic menu, are fully permission-aware, and keep their data in their own database tables. They share one plugin, so you install and configure them once. ## Requirements - Mautic 7 - PHP 8.2 or newer ## Installation The step-by-step guide lives in the project wiki: > **[Installing the MT3S Marketing Program Bundle on Mautic](https://git.mt3.solutions/MT3S/mautic-marketing-program-bundle/wiki/Installing-the-MT3S-Marketing-Program-Bundle-on-Mautic)** In short: 1. Copy or clone this repository into your Mautic installation as `docroot/plugins/MT3SMarketingProgramBundle` (the folder name matters). 2. Clear the cache and register the plugin: ```bash php bin/console cache:clear php bin/console mautic:plugins:reload ``` 3. In Mautic, go to **Settings > Plugins**, open **MT3S Marketing Program** and publish it. ## What you get ### Marketing Programs - A **Marketing Programs** menu with the program list, the task list, the stakeholder directory, the audience directory and the **Item types** page where you define the types used by programs (with their pictograms), tasks, stakeholders and audiences. - A program page with seven tabs: **Details**, **Insights**, **Objectives**, **Allocations**, **Audiences**, **Stakeholders** and **Tasks**. - Tasks have types, statuses, planned dates and effort, and can depend on each other (end-to-start and the other combinations). A milestone pins its end date to its start date; a phase groups tasks. Stakeholders can be assigned to a task as Responsible, Accountable, Consulted or Informed (RACI). - A console command, `php bin/console mt3s:marketing-program:refresh-stats`, recomputes and prints per-program statistics. ### Smart Links - A **Smart Links** menu with your short links and their **UTM Taxonomies**. - Each link is a short slug (up to 9 characters) plus a destination: an external URL, or a Mautic landing page / standalone form. Choose the redirect status code per link (301, 302, …). - A **UTM taxonomy** defines, for each of the five standard UTM parameters, whether the link sets a fixed value, offers a pick list, or accepts free text. The link form then shows exactly the fields the taxonomy allows. - The public route `/l/{slug}` needs no login, only answers on the short-link domain you configure (it stays a normal Mautic page on any other domain), records a hit per click — date, IP, referer, user agent — and never lets a statistics failure block the redirect. ## Configuration - **Settings > Configuration > Marketing Program Settings**: the general settings — the currency, the stakeholder phone region and the audience attribute toggles. - **Settings > Configuration > Smart Links Settings**: the short-link domain and, per UTM parameter, whether it is used and how. - **Settings > Roles**: the plugin's permissions live under **Marketing Program Permissions** (programs, tasks, stakeholders, audiences, item types, categories, smart links and UTM taxonomies). Users need them unless they are administrators. ## License This plugin is free software: you can use, study, modify and redistribute it under the terms of the **GNU General Public License v3.0 or later**. See [LICENSE](LICENSE) for the full text. © MT3 Solutions. It is provided as open source, in the hope it is useful, without any warranty.