set_utm_params
Set UTM tracking parameters on a URL QR code to attribute scans to specific marketing campaigns. Parameters like source, medium, and campaign are appended to the target URL on each scan. Use the clear option to remove all UTM parameters.
Instructions
Set UTM tracking parameters on a URL QR code. These parameters are automatically appended to the target URL on every scan redirect. Use this to track QR code scans in Google Analytics or other analytics tools. Set 'clear' to true to remove all UTM parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_id | Yes | The short ID of the QR code (must be type='url'). | |
| source | No | utm_source value (e.g. 'flyer', 'email', 'poster'). | |
| medium | No | utm_medium value (e.g. 'print', 'qr', 'social'). | |
| campaign | No | utm_campaign value (e.g. 'summer_2026'). | |
| term | No | utm_term value (paid search keyword). | |
| content | No | utm_content value (A/B test variant). | |
| clear | No | Set to true to remove all UTM parameters from this QR code. |