xddesigners / silverstripe-utm-tags
Adds a method to handle UTM tags and store them in models
Package info
github.com/xddesigners/silverstripe-utm-tags
Type:silverstripe-vendormodule
pkg:composer/xddesigners/silverstripe-utm-tags
0.1.1
2024-01-31 11:59 UTC
Requires
- silverstripe/cms: ^4 || ^5
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.