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

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
量子位
T
Tailwind CSS Blog
Vercel News
Vercel News
I
InfoQ
Stack Overflow Blog
Stack Overflow Blog
U
Unit 42
Engineering at Meta
Engineering at Meta
L
LangChain Blog
大猫的无限游戏
大猫的无限游戏
D
Docker
博客园_首页
P
Proofpoint News Feed
月光博客
月光博客
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Martin Fowler
Martin Fowler
腾讯CDC
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

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!