xddesigners / silverstripe-utm-tags
Adds a method to handle UTM tags and store them in models
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^4 || ^5
README
This module provides an method to handle UTM tags and store them in models like form submissions.
Installation
Install the module trough composer composer require xddesigners/silverstripe-utm-tags
Add the XD\UTMTags\Extensions\StoresUTMTags
extension to the model you want to store UTM tags in.
Call the method $myModel->setUTMTagsFromSession();
before calling write()
to store the tags.
You could call this in a form submit method.