<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[URLShortly Blog]]></title><description><![CDATA[URLShortly Blog]]></description><link>https://urlshortly-blog.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 29 Nov 2026 00:28:10 GMT</lastBuildDate><atom:link href="https://urlshortly-blog.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Writing Alt Text for Screenshots in Documentation (With Examples)]]></title><description><![CDATA[Documentation is full of screenshots, and most of them have alt text like image.png, screenshot, or nothing at all. For someone using a screen reader, that…]]></description><link>https://urlshortly-blog.hashnode.dev/writing-alt-text-for-screenshots-in-documentation-with-examples</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/writing-alt-text-for-screenshots-in-documentation-with-examples</guid><category><![CDATA[Accessibility]]></category><category><![CDATA[documentation]]></category><category><![CDATA[technical writing]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 12:08:09 GMT</pubDate><content:encoded><![CDATA[<p>Documentation is full of screenshots, and most of them have alt text like <code>image.png</code>, <code>screenshot</code>, or nothing at all. For someone using a screen reader, that turns a step-by-step guide into a series of gaps. It also hurts everyone else when an image fails to load, and it hides content from search.</p>
<p>Good alt text for a screenshot isn't a description of the picture. It's whatever the reader needs from the picture to keep going.</p>
<h2>The one question to ask</h2>
<p>Before writing anything, ask: <strong>why is this screenshot here?</strong></p>
<p>Almost every docs screenshot is doing one of four jobs, and each needs different alt text.</p>
<h3>1. Showing where something is</h3>
<p>The screenshot exists so the reader can find a button or field.</p>
<ul>
<li>❌ <code>alt="Settings page"</code></li>
<li>✅ <code>alt="The Settings page, with the Export button in the top-right corner, next to Import."</code></li>
</ul>
<p>Say the location in words, using the same labels that appear on screen.</p>
<h3>2. Showing a result to check against</h3>
<p>"After saving, you should see this."</p>
<ul>
<li>❌ <code>alt="Success message"</code></li>
<li>✅ <code>alt="A green banner at the top of the page reads 'Your changes have been saved.'"</code></li>
</ul>
<p>Quote the exact text the reader should look for. That's the part they'll compare.</p>
<h3>3. Showing data or values</h3>
<p>A configuration panel, a table of results, a code editor.</p>
<ul>
<li>❌ <code>alt="Configuration options"</code></li>
<li>✅ <code>alt="The Webhook form filled in: URL set to https://example.com/hook, Events set to 'link.created', Active checked."</code></li>
</ul>
<p>If the values are long, put them in the text of the page (or a code block) instead, and keep the alt text short: <code>alt="The Webhook form, filled in with the values listed above."</code></p>
<h3>4. Decoration or repetition</h3>
<p>A hero image, or a screenshot that only repeats what the paragraph above already says in full.</p>
<ul>
<li>✅ <code>alt=""</code> (empty, not missing)</li>
</ul>
<p>An empty <code>alt</code> tells screen readers to skip the image. A <em>missing</em> <code>alt</code> attribute often makes them read the file name aloud, which is worse.</p>
<h2>Rules of thumb</h2>
<ul>
<li><strong>Don't start with "Image of" or "Screenshot of".</strong> Screen readers already announce that it's an image.</li>
<li><strong>Keep it to a sentence or two.</strong> If you need a paragraph, the information belongs in the body text.</li>
<li><strong>Use the UI's own words.</strong> If the button says "Export CSV", write "Export CSV", not "the download button".</li>
<li><strong>Mention annotations.</strong> If you drew a red box or a numbered marker, the alt text should carry that meaning: "Step 2: the Visibility dropdown, set to Public."</li>
<li><strong>Don't hide instructions in images.</strong> Every instruction should be in the text. The screenshot supports it.</li>
</ul>
<h2>Annotated screenshots need extra care</h2>
<p>Arrows, boxes and numbered steps are great for sighted readers, but their meaning lives entirely in the picture. Two habits help:</p>
<ol>
<li><strong>Match numbered markers to a numbered list</strong> in the text. Then the alt text can say "Markers 1 to 3 correspond to the steps below."</li>
<li><strong>Blur or box private data before export,</strong> and don't describe it in the alt text. "An email address (blurred)" is enough.</li>
</ol>
<h2>Markdown and HTML syntax</h2>
<p>Markdown:</p>
<pre><code class="language-markdown">![The Share dialog, with 'Anyone with the link' selected under General access.](share-dialog.png)
</code></pre>
<p>HTML, with a caption for everyone:</p>
<pre><code class="language-html">&lt;figure&gt;
  &lt;img src="share-dialog.png"
       alt="The Share dialog, with 'Anyone with the link' selected under General access."&gt;
  &lt;figcaption&gt;Set access before copying the link.&lt;/figcaption&gt;
&lt;/figure&gt;
</code></pre>
<p>The caption is visible to all readers; the alt text replaces the image for those who can't see it. They can differ.</p>
<h2>A quick audit for existing docs</h2>
<p>Run this on a docs folder to find images with empty or file-name alt text in Markdown:</p>
<pre><code class="language-bash">grep -rnoE '!\[([^]]*\.(png|jpg|gif|webp)|image|screenshot)?\]' docs/
</code></pre>
<p>Then fix the pages people visit most first.</p>
<h2>Where screenshots come from</h2>
<p>We build the URLShortly Chrome extension, which captures the visible tab, an area or a full scrolling page and lets you add arrows, boxes, numbered steps and blur before you export, which is handy for docs screenshots. It needs a free account; see the <a href="https://urlshortly.com/blog/urlshortly-chrome-extension-guide">guide</a>. Alt text is still your job, whatever tool takes the picture.</p>
]]></content:encoded></item><item><title><![CDATA[A Link-in-Bio Page for Podcasters, Built Around the Latest Episode]]></title><description><![CDATA[Podcasters have an awkward linking problem. Every episode mentions things: a guest's book, a tool, a study, a discount code from a sponsor. Listeners hear…]]></description><link>https://urlshortly-blog.hashnode.dev/a-link-in-bio-page-for-podcasters-built-around-the-latest-episode</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/a-link-in-bio-page-for-podcasters-built-around-the-latest-episode</guid><category><![CDATA[podcast]]></category><category><![CDATA[marketing]]></category><category><![CDATA[content creation]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 12:04:50 GMT</pubDate><content:encoded><![CDATA[<p>Podcasters have an awkward linking problem. Every episode mentions things: a guest's book, a tool, a study, a discount code from a sponsor. Listeners hear it while driving or running, can't click anything, and later search your show's social profile for "that link from Tuesday's episode". If they can't find it in a few seconds, they give up.</p>
<p>A link-in-bio page designed around episodes fixes most of that. Here's how we'd set one up.</p>
<h2>The rule: the latest episode goes first, always</h2>
<p>People visit your bio link right after hearing something. Most of the time it's the newest episode. So the top of the page should be:</p>
<ol>
<li><strong>The latest episode</strong> (one button, straight to your main listening page or the episode page on your site)</li>
<li><strong>"Links from this episode"</strong> (show notes, the guest's site, anything you promised on air)</li>
</ol>
<p>Update these the day each episode goes out. A bio page still promoting last month's episode tells listeners you're not paying attention.</p>
<h2>Below that: the permanent links</h2>
<p>Keep this short. Most shows need:</p>
<ul>
<li><strong>Listen on…</strong> your two or three main platforms (the ones where most of your listeners actually are, not every directory you're listed in)</li>
<li><strong>Newsletter or community,</strong> if you have one</li>
<li><strong>Support the show</strong> (membership, merch, a tip page), if you have one</li>
<li><strong>Be a guest / contact,</strong> for bookings and sponsors</li>
</ul>
<p>Everything else can live on your website.</p>
<h2>Sponsor links need special care</h2>
<p>Sponsor reads are where bio pages earn money, and where they most often break.</p>
<ul>
<li><strong>Put the current sponsor's link high up</strong> for the weeks the read is running, labelled exactly as you say it on air ("Use code SHOW20 at Example").</li>
<li><strong>Use a separate link for each sponsor read,</strong> so you can tell the sponsor how many listeners clicked from the show. Sponsors renew when you can show them numbers.</li>
<li><strong>Remove expired offers.</strong> A dead discount code annoys listeners and the sponsor.</li>
</ul>
<h2>Say a short link out loud</h2>
<p>Listeners can't click a link they heard. They can remember a short one. Instead of "check the link in our bio," try a short, speakable address on air:</p>
<ul>
<li>your domain plus a word, like <code>yourshow.com/book</code></li>
<li>or a short link with a readable custom ending</li>
</ul>
<p>Keep it easy to spell, avoid characters that sound alike (0 and O, 1 and l), and say it twice.</p>
<h2>Track which episodes drive visits</h2>
<p>When each episode's "links from this episode" button is its own short link, you can see, a month later, which episodes actually sent people to the guests' sites, the sponsor or your newsletter. That's useful for picking future topics, and it's real data for sponsors, rather than "our listeners love you".</p>
<p>Look at it monthly:</p>
<ul>
<li>Which episodes got the most bio-page clicks?</li>
<li>Which permanent buttons get ignored? (Remove them.)</li>
<li>Did the newsletter button do better at the top or the bottom?</li>
</ul>
<h2>Keep personal details off it</h2>
<p>Your bio page is public and permanent. Leave off a home address, personal phone number or personal email. Use a contact form or a business email for guest bookings.</p>
<h2>Our tool</h2>
<p><a href="https://urlshortly.com/">URLShortly</a> includes link-in-bio pages next to short links with click tracking by country, device and referrer. The free plan includes one bio page and 50 short links a month; custom aliases for speakable links are on paid plans. We make it, so we're biased. The page structure above works on any link-in-bio service.</p>
]]></content:encoded></item><item><title><![CDATA[Your Email Signature Is a Marketing Channel: How to Measure It Without Being Creepy]]></title><description><![CDATA[Most people send hundreds of emails a month, and every one of them carries a signature with a link or two in it. Add that up across a team of ten and the…]]></description><link>https://urlshortly-blog.hashnode.dev/your-email-signature-is-a-marketing-channel-how-to-measure-it-without-being-creepy</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/your-email-signature-is-a-marketing-channel-how-to-measure-it-without-being-creepy</guid><category><![CDATA[email]]></category><category><![CDATA[marketing]]></category><category><![CDATA[analytics]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 12:03:17 GMT</pubDate><content:encoded><![CDATA[<p>Most people send hundreds of emails a month, and every one of them carries a signature with a link or two in it. Add that up across a team of ten and the signature is quietly one of your highest-volume channels. Almost nobody measures it.</p>
<p>Here's a sober way to find out whether signature links do anything, and how to make them better, without tracking pixels or anything your recipients would object to.</p>
<h2>What you can and can't measure</h2>
<p><strong>You can measure clicks</strong> on the links in your signature. That's aggregate, it's something the reader chose to do, and it tells you whether the link is worth the space.</p>
<p><strong>You shouldn't try to measure opens or individual readers</strong> from a signature. Open-tracking pixels are unreliable (many mail apps block or pre-load images) and, more importantly, people increasingly see them as surveillance. A signature is part of a personal conversation. Keep it to click counts.</p>
<h2>Step 1: decide what the signature link is for</h2>
<p>A signature with six icons and three links gets no clicks on any of them. Pick <strong>one primary link</strong> and, at most, one secondary.</p>
<p>Good primary links:</p>
<ul>
<li>A booking page ("Book a 20-minute call")</li>
<li>The thing you're currently launching or promoting</li>
<li>A specific, useful resource ("Our pricing explained in 2 minutes")</li>
</ul>
<p>Weak primary links:</p>
<ul>
<li>Your homepage, with no reason to visit</li>
<li>Social icons for accounts you don't post on</li>
</ul>
<h2>Step 2: give each person (or team) its own link</h2>
<p>To learn anything, you need to be able to tell signatures apart. Two simple ways:</p>
<p><strong>UTM parameters,</strong> read by your website analytics:</p>
<pre><code>https://example.com/book?utm_source=email-signature&amp;utm_medium=email&amp;utm_campaign=sales-team
</code></pre>
<p>Keep the naming consistent: the same <code>utm_source</code> for every signature, and use <code>utm_campaign</code> or <code>utm_content</code> to tell teams or people apart.</p>
<p><strong>A short link per person or team,</strong> which counts clicks before anyone reaches your site:</p>
<ul>
<li>Works even when the destination isn't your website (a calendar tool, a document, a video).</li>
<li>Hides the long UTM string, which looks messy in a signature and sometimes gets broken across lines by mail apps.</li>
<li>Can be pointed somewhere else later without asking everyone to update their signature again.</li>
</ul>
<p>You can combine them: a short link whose destination carries the UTM parameters.</p>
<h2>Step 3: write link text people want to click</h2>
<p>Signature links are read in a fraction of a second. "Website" gets ignored. A short, specific promise does better:</p>
<ul>
<li>"Book a call (20 min)"</li>
<li>"See this month's release notes"</li>
<li>"Free QR code guide for printers"</li>
</ul>
<p>Put the link on its own line, not buried in a phone-number-and-address block.</p>
<h2>Step 4: look at the numbers monthly, not daily</h2>
<p>Signature clicks are a slow trickle. Check them once a month:</p>
<ul>
<li><strong>Clicks per person per month</strong> is the most useful number. If one person's link gets ten times the clicks of everyone else's, look at what they're doing differently (often: they email more prospects, or their link text is better).</li>
<li><strong>Change one thing at a time.</strong> Swap the link text for a month, then compare. Changing the text, the destination and the position at once tells you nothing.</li>
<li><strong>Remember what you can't see.</strong> Many recipients will copy a URL rather than click, or visit your site later directly. Signature clicks are a floor, not the full effect.</li>
</ul>
<h2>Step 5: keep it working</h2>
<ul>
<li><strong>Test every link</strong> after updating signatures, in a few mail apps (web, desktop, phone). Some apps mangle HTML signatures.</li>
<li><strong>Avoid image-only links.</strong> If images are blocked, the link disappears.</li>
<li><strong>Use HTTPS links</strong>, and keep the destination fast on a phone; a lot of email is read on one.</li>
<li><strong>Watch for spam filters.</strong> Lots of links, or link text that doesn't match the destination domain, can hurt deliverability. One or two clear links are fine.</li>
</ul>
<h2>A minimal template</h2>
<pre><code>Jordan Lee
Customer Success, Example Inc.
Book a 20-minute call: go.example.com/jordan
</code></pre>
<p>That's it. Name, role, one useful link.</p>
<h2>Where we come in</h2>
<p><a href="https://urlshortly.com/">URLShortly</a> gives you short links with click counts by country, device and referrer, which works well for signature links. Custom aliases (like <code>/jordan</code>) and UTM templates are on paid plans; the free plan covers 50 links a month. We make it, so weigh that. The approach above works with any click-tracking setup.</p>
]]></content:encoded></item><item><title><![CDATA[Setting Up a Branded Short Domain: Picking It, Pointing DNS, and the Mistakes That Break It]]></title><description><![CDATA[A branded short domain (think go.yourbrand.com or a short separate domain like ybrnd.co) makes links look like they belong to you instead of a generic…]]></description><link>https://urlshortly-blog.hashnode.dev/setting-up-a-branded-short-domain-picking-it-pointing-dns-and-the-mistakes-that-break-it</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/setting-up-a-branded-short-domain-picking-it-pointing-dns-and-the-mistakes-that-break-it</guid><category><![CDATA[dns]]></category><category><![CDATA[marketing]]></category><category><![CDATA[#domains]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 11:58:53 GMT</pubDate><content:encoded><![CDATA[<p>A branded short domain (think <code>go.yourbrand.com</code> or a short separate domain like <code>ybrnd.co</code>) makes links look like they belong to you instead of a generic shortener. People are more willing to click a link when they recognise the name in it, and the links keep working with your name on them even if you change shortening tools later, as long as you keep the domain.</p>
<p>This post covers the parts that trip people up: choosing the domain, the DNS record, HTTPS, and what happens to the root of the domain.</p>
<h2>Step 1: subdomain or separate domain?</h2>
<p>You have two realistic options.</p>
<p><strong>A subdomain of your main site,</strong> such as <code>go.example.com</code> or <code>link.example.com</code>.</p>
<ul>
<li>Costs nothing extra; you already own the domain.</li>
<li>Instantly recognisable, because it <em>is</em> your domain.</li>
<li>Longer than a dedicated short domain.</li>
</ul>
<p><strong>A separate short domain,</strong> such as <code>exmpl.co</code>.</p>
<ul>
<li>Shortest possible links, nice for print and social.</li>
<li>Another domain to renew every year. Let it lapse and every link you ever printed breaks, or worse, someone else buys it and controls where your old links go.</li>
<li>Readers may not connect it to your brand at first.</li>
</ul>
<p>For most teams the subdomain is the safer default. Pick the separate domain only if link length really matters (printed material, SMS) and you're confident someone will own the renewal.</p>
<h2>Step 2: check what the domain is already used for</h2>
<p>Before pointing anything:</p>
<ul>
<li><strong>Don't reuse a subdomain that's in use.</strong> If <code>go.example.com</code> already serves something, changing its DNS takes that down.</li>
<li><strong>Check for existing records</strong> with a quick lookup:</li>
</ul>
<pre><code class="language-bash">dig +short go.example.com
dig +short CNAME go.example.com
</code></pre>
<p>Empty output means nothing is configured, which is what you want.</p>
<ul>
<li><strong>Look at email records too</strong> if you're using a separate root domain. Adding records at the root of a domain that also sends email needs care; a subdomain avoids that question entirely.</li>
</ul>
<h2>Step 3: add the DNS record your shortener asks for</h2>
<p>Your link shortener's custom-domain settings will tell you exactly which record to create. It's almost always one of these:</p>
<table>
<thead>
<tr>
<th>Record</th>
<th>When it's used</th>
<th>Example</th>
</tr>
</thead>
<tbody><tr>
<td><code>CNAME</code></td>
<td>Subdomains (most common)</td>
<td><code>go</code> → a hostname the provider gives you</td>
</tr>
<tr>
<td><code>A</code></td>
<td>Root domains, where a CNAME isn't allowed</td>
<td><code>@</code> → an IP address the provider gives you</td>
</tr>
</tbody></table>
<p>Copy the values from the provider's settings page rather than from a blog post (including this one); they differ between services and can change.</p>
<p>A few things to know:</p>
<ul>
<li><strong>A root domain can't normally have a CNAME</strong> under the DNS rules. That's why root domains get an <code>A</code> record, or your DNS host's "flattening"/<code>ALIAS</code> feature if it has one.</li>
<li><strong>Proxy toggles matter.</strong> If your DNS host offers a proxy or CDN mode (an orange cloud, for example), the provider's docs will say whether to switch it on or off. Leaving it in the wrong state is a common reason a domain "verifies" but never serves links.</li>
<li><strong>TTL</strong> can stay at the default. Lowering it only helps if you expect to change the record again soon.</li>
</ul>
<h2>Step 4: wait, then verify from outside</h2>
<p>DNS changes usually show up within minutes, but can take longer depending on old TTLs and caches. Check from the command line rather than trusting your browser, which caches aggressively:</p>
<pre><code class="language-bash">dig +short go.example.com
# or ask a specific public resolver
dig +short go.example.com @1.1.1.1
</code></pre>
<p>When the answer matches what the provider asked for, go back to the provider's settings and finish adding the domain there.</p>
<h2>Step 5: HTTPS, and don't skip testing it</h2>
<p>A short link that throws a certificate warning is worse than a generic one. Most shorteners issue the certificate for your domain automatically once DNS points at them. Test both:</p>
<pre><code class="language-bash">curl -sI https://go.example.com/some-test-link
curl -sI http://go.example.com/some-test-link
</code></pre>
<p>You want a redirect status (<code>301</code> or <code>302</code>) with a <code>location:</code> header pointing at the right destination, and no certificate errors on the HTTPS one.</p>
<h2>Step 6: decide what the bare domain does</h2>
<p>Someone will eventually type <code>go.example.com</code> with nothing after it. Decide what they should see: your homepage, a short "this is our link domain" page, or the shortener's default. Many tools let you set a redirect for the root and for links that don't exist. Set both. A 404 page from a third party with your name in the address bar looks broken.</p>
<h2>Mistakes we see most often</h2>
<ol>
<li><strong>Pointing the main domain instead of a subdomain</strong> and taking the website offline.</li>
<li><strong>Copying DNS values from an old tutorial</strong> instead of the provider's settings page.</li>
<li><strong>Forgetting the renewal</strong> of a separate short domain. Put it on auto-renew today, with a card that won't expire.</li>
<li><strong>Mixing domains.</strong> Pick one branded domain and use it everywhere, so people learn to trust it.</li>
<li><strong>Never testing on a phone network.</strong> Some mobile carriers and corporate networks cache DNS longer; test from outside your office Wi-Fi before printing anything.</li>
</ol>
<h2>Where we fit</h2>
<p><a href="https://urlshortly.com/">URLShortly</a> supports branded domains on its paid plans, with click tracking by country, device and referrer on every link. We make it, so take the plug with a pinch of salt. The DNS steps above are the same whichever shortener you choose.</p>
]]></content:encoded></item><item><title><![CDATA[Don't Lose the Take: Making Screen-Recording Uploads Survive Failure in a Manifest V3 Extension]]></title><description><![CDATA[Here's a bug that looks small in a diff and enormous to a user. Our Chrome extension records a tab or screen, then uploads the finished video to the user's…]]></description><link>https://urlshortly-blog.hashnode.dev/don-t-lose-the-take-making-screen-recording-uploads-survive-failure-in-a-manifest-v3-extension</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/don-t-lose-the-take-making-screen-recording-uploads-survive-failure-in-a-manifest-v3-extension</guid><category><![CDATA[JavaScript]]></category><category><![CDATA[chrome extension]]></category><category><![CDATA[indexeddb]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 10:37:21 GMT</pubDate><content:encoded><![CDATA[<p>Here's a bug that looks small in a diff and enormous to a user. Our Chrome extension records a tab or screen, then uploads the finished video to the user's Google Drive. In an early build, the recorded chunks lived in an array inside the extension's offscreen document, and the upload function cleared that array in a <code>finally</code> block:</p>
<pre><code class="language-js">async function upload () {
  try {
    const blob = new Blob(state.chunks, { type: state.mimeType })
    await sendToDrive(blob)
  } finally {
    state.chunks = []   // success OR failure
  }
}
</code></pre>
<p>One expired token, one dropped connection, one Drive hiccup, and five minutes of someone's screen was gone. They watched a progress bar, got "Upload failed", and there was nothing left to retry.</p>
<p>This post is about the fix, and the Manifest V3 constraints that shaped it.</p>
<h2>Why "just keep it in memory" doesn't work in MV3</h2>
<p>In Manifest V3, the popup can't hold a <code>MediaRecorder</code>: it closes the moment the user clicks away. The service worker has no DOM and can be terminated whenever Chrome feels like it. So recording runs in an <strong>offscreen document</strong>, a hidden extension page created with <code>chrome.offscreen.createDocument</code>.</p>
<p>Offscreen documents come with their own limits:</p>
<ul>
<li>They get <code>chrome.runtime</code> messaging and essentially none of the other extension APIs.</li>
<li>Chrome may close an idle one, and in our case starting a new recording deliberately recreates it.</li>
<li>A browser restart obviously takes it with it.</li>
</ul>
<p>So memory in the offscreen document is the wrong place for anything you can't afford to lose. And you can't pass the video somewhere safer by message, either: <strong>a <code>Blob</code> doesn't survive a <code>chrome.runtime</code> message</strong>, since messages are JSON-serialised.</p>
<h2>The rule: persist before the first attempt, delete only after success</h2>
<p>What the offscreen document <em>does</em> have is ordinary web platform APIs, including <strong>IndexedDB</strong>, which stores Blobs natively. The whole fix hangs on one rule:</p>
<blockquote>
<p>A take is written to IndexedDB <strong>before</strong> the first upload attempt, and removed <strong>only</strong> after an upload succeeds.</p>
</blockquote>
<p>Anything still in the store is, by definition, a recording the user can still get back.</p>
<pre><code class="language-js">const DB_NAME = 'urlshortly-recordings'
const STORE = 'pending'

async function save ({ blob, seconds, mimeType }) {
  const record = {
    id: 'rec-' + Date.now() + '-' + Math.random().toString(36).slice(2, 8),
    blob,
    seconds,
    mimeType: mimeType || blob.type,
    bytes: blob.size,
    at: Date.now(),
    attempts: 0,
    error: null
  }
  await withStore('readwrite', s =&gt; promisify(s.put(record)))
  return record
}
</code></pre>
<p>Two details that matter:</p>
<ul>
<li><strong>Every take gets its own id.</strong> If a second recording overwrote the first while the first was still waiting to upload, we'd have recreated the same bug one level down.</li>
<li><strong>The record carries <code>attempts</code> and <code>error</code>,</strong> so the UI can say "tried twice, Drive isn't connected" instead of looking like nothing happened.</li>
</ul>
<h2>Retrying without making things worse</h2>
<p>Once failed takes are durable, retry is where it's easy to create new problems.</p>
<p><strong>Oldest first, stop at the first failure.</strong> If Drive isn't connected, the second take will fail for exactly the same reason as the first. Four identical error messages help nobody; one honest one does.</p>
<p><strong>One upload in flight, ever.</strong> A second retry click while the first is running is refused rather than queued. Two concurrent uploads of the same take means two copies in the user's Drive, which is its own kind of bug report.</p>
<p><strong>Tell the worker you're busy.</strong> The service worker may decide to close the offscreen document when it looks idle. While an upload is running, the offscreen document reports itself busy, so it isn't torn down mid-request.</p>
<p><strong>Only one code path deletes an unuploaded take:</strong> the user's explicit Discard. We enforce that with a test, because "helpful" cleanup code is exactly how this class of bug comes back.</p>
<h2>"Save to this computer" without a new permission</h2>
<p>If uploads keep failing, people want the file. The obvious route is the <code>downloads</code> permission, but adding a permission to a published extension triggers a re-consent prompt for every user.</p>
<p>It turned out not to be needed:</p>
<ul>
<li>An <code>&lt;a download&gt;</code> click inside an extension page is an ordinary browser download. No special permission.</li>
<li>The popup and the offscreen document share the same extension origin, so <strong>the popup can open the same IndexedDB database</strong> and read the Blob directly, sidestepping the "Blobs can't be messaged" problem entirely.</li>
</ul>
<pre><code class="language-js">const url = URL.createObjectURL(record.blob)
const a = Object.assign(document.createElement('a'), {
  href: url,
  download: fileNameFor(record)   // urlshortly-recording-2026-11-27-143005.webm
})
a.click()
setTimeout(() =&gt; URL.revokeObjectURL(url), 10_000)
</code></pre>
<p>A few choices here were deliberate:</p>
<ul>
<li><strong>Dated filenames,</strong> not <code>recording-1.webm</code>. These are files someone is keeping precisely because something went wrong; in six weeks the date is the only thing that will identify them.</li>
<li><strong>Oldest first,</strong> because Chrome may close the popup as soon as a download starts, so the take most at risk goes first.</li>
<li><strong>Saving doesn't discard.</strong> A copy on disk isn't an upload, so the Retry button stays and only Discard deletes.</li>
</ul>
<h2>What generalises beyond recordings</h2>
<p>If you build anything in MV3 that produces data the user can't recreate (recordings, drafts, form entries, captured screenshots), the same pattern applies:</p>
<ol>
<li>Assume every extension context can disappear at any moment except durable storage.</li>
<li>Persist before the risky operation, not after it fails.</li>
<li>Make deletion happen in exactly one place, triggered by success or by the user.</li>
<li>Give failure a visible, actionable state in the UI instead of a toast that vanishes.</li>
</ol>
<h2>Context</h2>
<p>This is how the recorder in the URLShortly Chrome extension handles uploads to the user's own Google Drive (we build it; recordings come back as a short link). More about the extension is in our <a href="https://urlshortly.com/blog/urlshortly-chrome-extension-guide">guide</a>. The snippets above are simplified from the real module but keep its structure.</p>
]]></content:encoded></item><item><title><![CDATA[How to Measure Podcast, Radio and Print Ads When Nobody Can Click]]></title><description><![CDATA[Online ads come with a receipt: every click is logged, every visit attributed. Offline ads don't. A podcast host reads your offer, a local radio station…]]></description><link>https://urlshortly-blog.hashnode.dev/how-to-measure-podcast-radio-and-print-ads-when-nobody-can-click</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/how-to-measure-podcast-radio-and-print-ads-when-nobody-can-click</guid><category><![CDATA[marketing]]></category><category><![CDATA[Startups]]></category><category><![CDATA[analytics]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 10:32:11 GMT</pubDate><content:encoded><![CDATA[<p>Online ads come with a receipt: every click is logged, every visit attributed. Offline ads don't. A podcast host reads your offer, a local radio station plays a 30-second spot, a magazine runs your half-page. Then people hear or see it, maybe remember it, and maybe type something into a browser later. Most of that journey is invisible.</p>
<p>You can't make it fully visible, but you can make it measurable enough to decide whether to buy the ad again. Here are the four tools that actually work, and how to combine them.</p>
<h2>1. A dedicated web address people can remember</h2>
<p>The oldest trick: give each ad its own address, so traffic to that address can only have come from that ad.</p>
<p>There are two ways to do it:</p>
<ul>
<li><strong>A path on your own domain,</strong> like <code>yoursite.com/podcast</code>. Easy to say, easy to remember, and it redirects to your real landing page with tracking attached.</li>
<li><strong>A short link on a branded domain,</strong> like <code>go.yoursite.com/radio</code>. Same idea, managed in a link tool rather than your website.</li>
</ul>
<p>What makes it work is that <strong>it has to be sayable</strong>. A host reading "yoursite dot com slash pod" is fine. A host reading a random string of letters is not; listeners won't remember it, and the ones who try will mistype it.</p>
<p>Rules for spoken addresses:</p>
<ul>
<li>One short, real word after the slash: <code>/pod</code>, <code>/radio</code>, <code>/spring</code>.</li>
<li>No hyphens, underscores, capitals or digits that sound like words ("4" vs "for").</li>
<li>Check that the obvious misspellings go somewhere sensible too.</li>
</ul>
<h2>2. A promo code</h2>
<p>A code like <code>PODCAST20</code> captures people who <em>don't</em> use the special address: the ones who googled your brand name, came in through the homepage, and only entered the code at checkout.</p>
<p>Codes reach people the address misses, and vice versa. Use both, and you see two partial views of the same audience instead of one.</p>
<p><strong>Watch for:</strong> codes leak onto coupon sites within days. If a podcast code suddenly shows sales from all over the world, that's what happened. Expire codes with the campaign and give each show its own.</p>
<h2>3. A QR code (for anything people can see)</h2>
<p>For print, posters, packaging and TV, a QR code removes the typing entirely. Point it at a tracked short link, not straight at the landing page, so every scan is counted and you can change the destination after printing.</p>
<p>One code per placement, as with addresses: the magazine ad and the poster should not share a code, or you'll only ever know the total.</p>
<h2>4. "How did you hear about us?"</h2>
<p>Unfashionable and genuinely useful. A single optional question at sign-up or checkout, with a short list of options and an "other" box, catches everything the first three miss: the person who heard the ad, forgot the code, and googled you three weeks later.</p>
<p>Keep the list short (five or six options), randomize the order if your form tool allows it, and read the "other" answers. They regularly surface channels you didn't know you had.</p>
<h2>Putting the numbers together</h2>
<p>None of these is complete on its own, so don't treat any single one as the truth. A simple approach that works for small teams:</p>
<table>
<thead>
<tr>
<th>Signal</th>
<th>What it captures</th>
<th>Typical blind spot</th>
</tr>
</thead>
<tbody><tr>
<td>Dedicated address / short link</td>
<td>People who typed or scanned it</td>
<td>Anyone who searched your name instead</td>
</tr>
<tr>
<td>Promo code</td>
<td>Buyers who used it</td>
<td>Non-buyers; code leakage</td>
</tr>
<tr>
<td>QR code</td>
<td>Scanners of printed or on-screen ads</td>
<td>Audio-only media</td>
</tr>
<tr>
<td>"How did you hear about us?"</td>
<td>Self-reported memory</td>
<td>People who skip the question; fuzzy recall</td>
</tr>
</tbody></table>
<p>For each ad, look at all four, and compare against a <strong>baseline</strong>: your normal traffic and sign-ups for the same weekdays in the weeks before. A podcast episode that produced 40 visits to <code>/pod</code>, 12 code uses, a small bump over baseline in direct traffic, and 9 "podcast" answers is a real result, even though no single number says so.</p>
<h2>Short links make step 1 and 3 easier</h2>
<p>A link shortener with click stats is the simplest way to run dedicated addresses and QR codes without touching your website: one short link per ad, each showing clicks by country, device and referrer. We make one, <a href="https://urlshortly.com/">URLShortly</a>, so take the recommendation with that in mind. Custom aliases and branded domains (for sayable links like <code>go.yoursite.com/radio</code>) are on its paid plans; short links with click stats and a handful of QR codes a month are on the free plan. Any similar tool will do the job, as long as you set up one link per ad before the ads run, not after.</p>
]]></content:encoded></item><item><title><![CDATA[UTM Tags Without a Spreadsheet: A Naming Scheme a Whole Team Can Keep]]></title><description><![CDATA[UTM parameters are the five little labels you add to a link (utm_source, utm_medium, utm_campaign, utm_term, utm_content) so your analytics tool can tell…]]></description><link>https://urlshortly-blog.hashnode.dev/utm-tags-without-a-spreadsheet-a-naming-scheme-a-whole-team-can-keep</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/utm-tags-without-a-spreadsheet-a-naming-scheme-a-whole-team-can-keep</guid><category><![CDATA[marketing]]></category><category><![CDATA[analytics]]></category><category><![CDATA[Google Analytics]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 10:24:02 GMT</pubDate><content:encoded><![CDATA[<p>UTM parameters are the five little labels you add to a link (<code>utm_source</code>, <code>utm_medium</code>, <code>utm_campaign</code>, <code>utm_term</code>, <code>utm_content</code>) so your analytics tool can tell where a visit came from. They're simple, and almost every team ends up with a mess anyway: <code>Facebook</code>, <code>facebook</code>, <code>fb</code> and <code>facebook.com</code> all reported as separate sources, a "Black Friday" campaign split across four spellings, and a channel report where a third of the traffic sits in <strong>Unassigned</strong>.</p>
<p>The usual fix is a shared spreadsheet that builds tagged links. It helps for about a month, until someone tags a link from their phone without opening it. A better fix is a scheme short enough that people remember it, plus one or two guard rails. Here's one that works.</p>
<h2>Rule 1: everything lowercase, words joined with hyphens</h2>
<p>Google Analytics 4 treats UTM values as case-sensitive, so <code>Newsletter</code> and <code>newsletter</code> are two different rows. Spaces become <code>%20</code> or <code>+</code> depending on the tool that built the link, which creates yet another variant.</p>
<p>So: lowercase only, hyphens between words, no spaces, no underscores inside values. <code>spring-sale</code>, not <code>Spring_Sale</code> or <code>spring sale</code>.</p>
<h2>Rule 2: medium is a short, closed list</h2>
<p><code>utm_medium</code> answers "what kind of channel was this?" GA4 sorts traffic into its default channel groups (Email, Paid Search, Organic Social and so on) largely by looking at this value. Use a medium it doesn't recognise and the visits often land in Unassigned, which makes the whole report less useful.</p>
<p>Pick a small list and don't add to it without a conversation:</p>
<table>
<thead>
<tr>
<th>utm_medium</th>
<th>Use for</th>
</tr>
</thead>
<tbody><tr>
<td><code>email</code></td>
<td>Newsletters, onboarding emails, one-off sends</td>
</tr>
<tr>
<td><code>social</code></td>
<td>Unpaid posts on any social network</td>
</tr>
<tr>
<td><code>paid-social</code></td>
<td>Paid ads on social networks</td>
</tr>
<tr>
<td><code>cpc</code></td>
<td>Paid search ads</td>
</tr>
<tr>
<td><code>referral</code></td>
<td>Partner sites, guest posts, directories</td>
</tr>
<tr>
<td><code>qr</code></td>
<td>Printed QR codes</td>
</tr>
<tr>
<td><code>affiliate</code></td>
<td>Affiliate partners</td>
</tr>
</tbody></table>
<p>(If you rely on GA4's default channel groups, check Google's current definitions before finalising this list; the exact values that map to each channel are documented and occasionally change.)</p>
<h2>Rule 3: source is the specific place, spelled the way the domain is</h2>
<p><code>utm_source</code> names the exact site or list: <code>linkedin</code>, <code>facebook</code>, <code>google</code>, <code>mailchimp-weekly</code>, <code>partner-acme</code>. One convention that ends most arguments: use the brand's own name as it appears in its domain, lowercase, without <code>.com</code>. Not <code>fb</code>, not <code>Facebook Ads</code>; the "ads" part belongs in the medium.</p>
<h2>Rule 4: campaign names carry a date</h2>
<p>Campaign names collide over time. "spring-sale" this year and "spring-sale" last year merge into one line in a year-over-year report. Prefix with the year and month:</p>
<pre><code>2026-03-spring-sale
2026-11-black-friday
2026-q1-onboarding
</code></pre>
<p>They also sort nicely in every report.</p>
<h2>Rule 5: use <code>utm_content</code> to tell links apart, not to describe them</h2>
<p>When the same email has three links, or a post has two variants, <code>utm_content</code> separates them: <code>header-button</code>, <code>footer-link</code>, <code>variant-a</code>. Keep it short and descriptive of <em>position or variant</em>, not of the whole creative.</p>
<p><code>utm_term</code> is mainly for paid search keywords. Most teams can leave it out elsewhere.</p>
<h2>A one-line cheat sheet</h2>
<pre><code>utm_source = where exactly (linkedin, mailchimp-weekly, partner-acme)
utm_medium = what kind of channel (email, social, paid-social, cpc, referral, qr)
utm_campaign = yyyy-mm-name (2026-11-black-friday)
utm_content = which link or variant (header-button, variant-b)
all lowercase, hyphens, no spaces
</code></pre>
<p>Pin that in the team channel. Most bad tags come from people who didn't know a convention existed, not from people who ignored it.</p>
<h2>Guard rails that don't depend on memory</h2>
<ul>
<li><strong>Never tag internal links.</strong> A UTM on a link from your own homepage to your pricing page tells your analytics tool the visitor came from your own campaign, which muddles or overwrites the real source in attribution reports (older Universal Analytics even started a new session). UTMs are for links <em>into</em> your site from elsewhere.</li>
<li><strong>Check the landing page keeps the parameters.</strong> Some redirects (http ‚Üí https, adding <code>www</code>, a trailing-slash rule) drop query strings. Click your own tagged link once and look at the address bar.</li>
<li><strong>Shorten long tagged links.</strong> A link with five parameters looks suspicious in an email or a post, and people trim the "junk" when they reshare it. Shortening the full tagged URL keeps the parameters intact and gives you a second, independent click count to compare against analytics.</li>
<li><strong>Use templates where your tools offer them.</strong> Many link tools let you save a parameter set and apply it to new links, which removes the typing, and therefore the typos.</li>
</ul>
<h2>Where URLShortly fits</h2>
<p>We built UTM parameter templates into <a href="https://urlshortly.com/">URLShortly</a>'s paid plans for exactly the last two points: save the scheme once, apply it when you create a short link, and see clicks by country, device and referrer next to it. But the scheme above works with any tool, including a plain text file. The important part is agreeing on it before the next campaign launches, not after the report looks wrong.</p>
]]></content:encoded></item><item><title><![CDATA[Redacting Screenshots: Why Pixelation Leaks and What to Do Instead]]></title><description><![CDATA[Every week someone pastes a screenshot into a public issue tracker, a support forum or a Slack channel with a few hundred guests, and every week some of…]]></description><link>https://urlshortly-blog.hashnode.dev/redacting-screenshots-why-pixelation-leaks-and-what-to-do-instead</link><guid isPermaLink="true">https://urlshortly-blog.hashnode.dev/redacting-screenshots-why-pixelation-leaks-and-what-to-do-instead</guid><category><![CDATA[Security]]></category><category><![CDATA[privacy]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[URLShortly]]></dc:creator><pubDate>Fri, 27 Nov 2026 09:31:02 GMT</pubDate><content:encoded><![CDATA[<p>Every week someone pastes a screenshot into a public issue tracker, a support forum or a Slack channel with a few hundred guests, and every week some of those screenshots contain an API key, a customer's email address or a session token that was "hidden" with a quick smudge. Redaction feels like a solved problem. It isn't, and the failures are well documented.</p>
<p>Here's what goes wrong, and a short routine that avoids it.</p>
<h2>Pixelation is an encoding, not an eraser</h2>
<p>Pixelating text replaces each block of pixels with its average color. That's lossy, but it's also deterministic: the same characters in the same font at the same size always produce the same blocks. If an attacker can guess the font, they can render candidate strings, pixelate them the same way, and compare.</p>
<p>This isn't theoretical. In 2020 a researcher published <strong>Depix</strong>, an open-source tool that recovered pixelated passwords from screenshots by matching blocks against a rendered search image. It works best on exactly the kind of image developers share: crisp, unscaled text in a standard UI font.</p>
<p>Light Gaussian blur has the same weakness in a softer form. A weak blur over large text can often be read by squinting, and anything a person can partly read, software can usually read better.</p>
<p><strong>Rule:</strong> never rely on pixelation or blur for secrets. Use them for things that are merely distracting or mildly personal, like a colleague's avatar or the other tabs in your browser.</p>
<h2>Cropping and drawing don't always change the file</h2>
<p>The second class of failure is quieter: the editor <em>shows</em> a redacted image but <em>saves</em> more than you think.</p>
<ul>
<li>In 2023, the <strong>aCropalypse</strong> bug (CVE-2023-21036) showed that Google Pixel's Markup tool wrote the cropped image over the original file without truncating it. The leftover data from the uncropped screenshot stayed at the end of the file and could be partly recovered. A similar issue was found in the Windows Snipping Tool (CVE-2023-28303).</li>
<li>PDF editors and slide tools commonly let you draw a black rectangle <strong>on top of</strong> text. The text is still in the document; select-all and copy brings it back. Court filings have leaked this way more than once.</li>
<li>Layered formats (PSD, some SVG exports, editable annotation files) keep the original layer underneath your box.</li>
</ul>
<p><strong>Rule:</strong> what you share should be a flat raster image (PNG or JPEG) that was rendered <em>after</em> redaction, not an editable file with a box on top.</p>
<h2>A redaction routine that holds up</h2>
<ol>
<li><strong>Decide what's secret before you capture.</strong> Tokens, passwords, API keys, session cookies, full card or account numbers, and anything that identifies a customer. If you can avoid having it on screen at all (log out of the admin view, use a test account, close the console tab), do that first. Nothing beats not capturing it.</li>
<li><strong>Cover secrets with an opaque, solid shape.</strong> Fill, not outline. Make it larger than the text so the length of the string isn't obvious either. A box that's exactly the width of an eight-character password tells the reader it's eight characters.</li>
<li><strong>Use blur only for low-stakes context.</strong> Faces in a video call, unrelated browser tabs, a teammate's name.</li>
<li><strong>Export a new flat image.</strong> Then open <em>the exported file</em>, not the editor preview, and check it at 100% and zoomed in.</li>
<li><strong>Rotate anything that was exposed.</strong> If a real token appears in an image that has already been posted, even briefly, treat it as leaked. Revoke it and issue a new one; deleting the post doesn't un-send notifications, caches or screenshots of screenshots.</li>
<li><strong>Watch the edges of the frame.</strong> URLs in the address bar often carry tokens in query strings (<code>?token=</code>, <code>?key=</code>, password-reset links). Notification toasts, browser autocomplete dropdowns and the bookmarks bar leak more than people expect.</li>
</ol>
<h2>Screen recordings need the same care, plus timing</h2>
<p>Video adds a problem screenshots don't have: things appear for a second and vanish. A password manager's autofill bubble, a Slack notification sliding in, a terminal printing an environment variable. Before recording:</p>
<ul>
<li>Turn on Do Not Disturb.</li>
<li>Record a single browser tab instead of the whole screen when the task allows it.</li>
<li>Use test data, not production records.</li>
<li>Watch the full recording once before sharing it. Scrubbing at 2√ó speed is fine; skipping it isn't.</li>
</ul>
<h2>Where our extension fits (and where it doesn't)</h2>
<p>We build the URLShortly Chrome extension, which captures full pages or selected areas, lets you mark them up with boxes, arrows, numbered steps, text and blur, and can record a single tab, the whole screen or your camera. Recordings go to your own Google Drive and come back as a short link. The same advice applies to it as to any tool: use blur for context, cover real secrets with something opaque, check the exported image before you paste it, and prefer recording one tab over the whole screen. There's a <a href="https://urlshortly.com/blog/urlshortly-chrome-extension-guide">guide to the extension</a> on our site if you want to try it.</p>
<h2>The short version</h2>
<ul>
<li>Pixelation and blur are not redaction.</li>
<li>Boxes drawn on top of text in a PDF or a layered file are not redaction.</li>
<li>Redaction is an opaque fill, flattened into a new image, checked after export.</li>
<li>If a secret was ever visible in something you shared, rotate it.</li>
</ul>
]]></content:encoded></item></channel></rss>