Persist UTM values for tracking conversation rates
This plugin requires Craft CMS 3.0.0 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require dispositiontools/craft-persistiveutm
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Persistive UTM.
Add this hook to your layout to trigger saving utm details to cookies: {% hook 'persistiveutm' %}
You can write your own code to save details to cookies if you wish. The cookies are: pUtmCampaign pUtmMedium pUtmSource pUtmLanding pUtmReferrer
Some things to do, and ideas for potential features:
- Release it
Brought to you by Disposition Tools