Shortener Presets
UTM Attribution & Bot-Filtered Clickstream Analytics Preset
Preserve clean human UTM campaign attribution in PostgreSQL 16 while stripping 38% of Slack, Discord, LinkedIn, and headless preview hits.
-38% Postgres Disk Growth · Clean UTM Funnels · Zero 302 Delay
Separating Link Preview Fetches From Human Clicks
Modern messaging apps dispatch preview crawlers the instant a short link is pasted in chat. Logging every preview fetch as a click inflates CTR by 25-45% and bloats your PostgreSQL visits table.
Preserving Dynamic UTM Parameters at Redirect Time
Ensure your shortener appends or passes incoming query parameters onto the destination URL so affiliate SubIDs and UTM tags survive the 302 hop.
Measured Thresholds & Shortener Stack Parameters
| Parameter / Setting | Recommended Value | Operational Reason |
|---|---|---|
| Preview Bot Filter | IGNORE_BOT_USER_AGENTS=true | Still serves fast 302/OG tags without polluting visit analytics |
| UTM Query Forwarding | Pass utm_source/medium/campaign intact | Keeps downstream GA4 and conversion attribution accurate |
| Partition Retention | 12 Monthly Partitions (DROP > 365d) | Caps NVMe footprint near ~18 GB at 250k raw clicks/day |
| Bot Write Savings | ~38% fewer B-tree index inserts | Reduces Postgres checkpoint I/O on shared KVM NVMe drives |