惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
Y
Y Combinator Blog
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
量子位
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
博客园_首页
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
宝玉的分享
宝玉的分享

Buttondown's blog

Email could have been X.400 times better The physicists who convinced Fermilab to send Brazil's emails Better in-app previews Analytics 3.0 Subscriber ID variables Comments! Send latest premium action Automation filtering Free API subscribers Surveys in automations Reply to replies Labels for RSS feeds How Jeremy Singer-Vine curates curious datasets for readers 2023 (and what's next) Email vs web content Sort by engagement Better gift subscriptions How Andy Dehnart built a career reviewing television New email template Email-based automations Opt-in reply tracking Automatic alt text More social network integrations Sort by metadata Overlarge image warnings Automation tag actions Pause emails mid-flight Search tags and automations Gift via automations Subscriber-driving emails
UTM via forms
Justin Duke · 2025-09-27 · via Buttondown's blog

Add UTM params to subscribers via form

Justin Duke

Justin Duke

September 27, 2025

UTM parameters! They're useful, and we keep making them more useful.

Now, you can supply them even in slightly unconventional ways, like in the form body itself:

<form action="https://buttondown.com/api/emails/embed-subscribe/{{ newsletter.username }}" method="post">
  <input type="hidden" name="utm_source" value="website">
  <input type="hidden" name="utm_campaign" value="spring2025">
  <input type="hidden" name="utm_medium" value="email">
  <input type="email" name="email" placeholder="Your email address">
  <button type="submit">Subscribe</button>

Or in the query string to the embedded form:

https://buttondown.com/api/emails/embed-subscribe/{{ newsletter.username }}?utm_source=website&utm_campaign=spring2025&utm_medium=email

Both will be honored, with the former taking precedence.

We hope you find this useful!