<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>OnlyLinks Blog</title>
    <link>https://onlylinks.com/blogs</link>
    <description>Updates, guides, and insights from the OnlyLinks team. Learn how to optimize your link in bio and grow your online presence.</description>
    <language>en-US</language>
    <copyright>Copyright 2026 OnlyLinks</copyright>
    <managingEditor>team@onlylinks.com (OnlyLinks Team)</managingEditor>
    <webMaster>team@onlylinks.com (OnlyLinks Team)</webMaster>
    <lastBuildDate>Thu, 03 Dec 2026 23:36:45 GMT</lastBuildDate>
    <atom:link href="https://onlylinks.com/blogs/rss" rel="self" type="application/rss+xml" />
    <image>
      <url>https://onlylinks.com/new_logo.png</url>
      <title>OnlyLinks Blog</title>
      <link>https://onlylinks.com/blogs</link>
      <width>512</width>
      <height>512</height>
    </image>
    
    <item>
      <title><![CDATA[Content Settings for Creators: Sensitive Content Warning, Age Restriction, Shadowblock and Location Restriction]]></title>
      <link>https://onlylinks.com/blogs/sensitive-content-age-and-location-settings</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/sensitive-content-age-and-location-settings</guid>
      <pubDate>Fri, 30 Oct 2026 20:53:09 GMT</pubDate>
      <description><![CDATA[Add an 18+ warning to your page or to single links, block your page in chosen countries, hide individual links by country and stop social media scrapers from reading your page. What each setting does and what your visitors see.]]></description>
      <content:encoded><![CDATA[<p>Not every link on your page is for every visitor. OnlyLinks lets you add an 18+ warning to the whole page or to single links, and hide your page or individual links in the countries you choose. This guide covers each setting and shows exactly what your visitors see.</p>
<p>Most of these settings live in one place: <strong>My Page → Profile Design → Profile &amp; Advanced</strong>. Click <strong>Edit Profile</strong>, then the <strong>Restrictions</strong> tab.</p>
<img src="https://onlylinks.com/img/blog/tutorials/sensitive-content-age-and-location-settings/01-restrictions.webp" alt="The Restrictions tab with three switches: Sensitive Content Warning, Location Restriction (Pro) and Shadowblock (Beta)" width="652">

<h2>Sensitive Content Warning (whole page)</h2>
<p><strong>What it does:</strong> visitors see a warning before your page appears and must tap <strong>Continue</strong> to confirm they're 18 or older.</p>
<img src="https://onlylinks.com/img/blog/tutorials/sensitive-content-age-and-location-settings/02-sensitive-warning.webp" alt="On a phone, a card over the blurred page reading Sensitive Content. This page contains links to 18+ content. Confirm you are of age to proceed. Continue" width="320">

<p>Good to know:</p>
<ul>
<li>It's a self-declaration. Visitors confirm their age with one tap. There's no date of birth and no ID check.</li>
<li>It appears each time the page loads.</li>
<li>It's the same setting as <strong>Settings → Content Filters → Display a sensitive content warning</strong>. Turn it on in either place and the other one updates.</li>
</ul>
<img src="https://onlylinks.com/img/blog/tutorials/sensitive-content-age-and-location-settings/03-content-filters.webp" alt="The Content Filters card in Settings with Display a sensitive content warning switched on and an 18+ label" width="710">

<p><strong>Use it when:</strong> most of what your page links to is 18+.</p>
<h2>Age Restriction (single links)</h2>
<p><strong>What it does:</strong> puts the same kind of 18+ confirmation on one block instead of the whole page. The block looks normal until someone taps it. Then it shows a short warning with a <strong>Continue</strong> button.</p>
<p>To turn it on, click the <strong>18+</strong> chip on a block, switch on <strong>Age Restriction (18+)</strong> and click <strong>Save Settings</strong>. The preview in the dialog shows exactly what visitors will see.</p>
<img src="https://onlylinks.com/img/blog/tutorials/sensitive-content-age-and-location-settings/04-age-restriction-dialog.webp" alt="The Age Restriction dialog with the switch on and a preview reading This link may contain sensitive content. Are you over 18 years old? Continue" width="768">

<p>Once a visitor taps Continue, that link works normally until they reload the page.</p>
<p><strong>Use it when:</strong> only some of your links are 18+, so the rest of your page can stay open to everyone.</p>
<blockquote>
<p>Visitors who arrive from Instagram, Threads, Facebook or Messenger automatically get this confirmation on links to OnlyFans and other adult platforms, even if you haven't turned it on. More in <a href="https://onlylinks.com/blogs/instagram-in-app-browser-links">Getting Instagram and Threads visitors out of the in-app browser</a>.</p>
</blockquote>
<h2>Location Restriction (whole page, Pro)</h2>
<p><strong>What it does:</strong> blocks your entire page for visitors in the countries you choose.</p>
<p>Turn on <strong>Location Restriction</strong>, then search for and add each country under <strong>Add Countries to Block</strong>.</p>
<img src="https://onlylinks.com/img/blog/tutorials/sensitive-content-age-and-location-settings/05-location-restriction.webp" alt="Location Restriction switched on with United Kingdom added under Restricted Countries" width="652">

<p>Visitors in a blocked country see this instead of your page:</p>
<img src="https://onlylinks.com/img/blog/tutorials/sensitive-content-age-and-location-settings/06-not-available.webp" alt="On a phone, a dark screen reading Profile Not Available. This profile is not available in your country." width="320">

<p>Good to know:</p>
<ul>
<li>The visitor's country comes from their internet connection. Someone using a VPN appears to be wherever the VPN is.</li>
<li>If their country can't be worked out, they see your page.</li>
</ul>
<p><strong>Use it when:</strong> you don't want people in your home country, or in a particular region, to find your page.</p>
<h2>Location (single blocks, Pro)</h2>
<p><strong>What it does:</strong> hides one block from visitors in the countries you choose, while everyone else still sees it.</p>
<p>Click the <strong>globe</strong> chip on a block, turn on <strong>Enable Location Restriction</strong>, add the countries and click <strong>Save Restrictions</strong>.</p>
<img src="https://onlylinks.com/img/blog/tutorials/sensitive-content-age-and-location-settings/07-block-location-dialog.webp" alt="The Location Restriction dialog for a single block with the Enable Location Restriction switch" width="768">

<p>Good to know:</p>
<ul>
<li>Visitors in a blocked country don't see a message. The block simply isn't on the page.</li>
<li>Everyone else sees the block appear a moment after the page loads.</li>
<li>It works by excluding countries. There's no "only show in these countries" option.</li>
</ul>
<p><strong>Use it when:</strong> one link makes sense in some places but not others, such as a shop that only ships to certain countries.</p>
<h2>Shadowblock (beta)</h2>
<p><strong>What it does:</strong> stops Meta's crawlers (the bots Facebook, Instagram and Threads send to read a page and build its link preview) from getting your page's details. They get a "page not found" response. Real visitors, including people browsing inside Instagram, see your page as normal.</p>
<p>Good to know:</p>
<ul>
<li>It recognises Meta's crawlers by the name they announce. A bot pretending to be a normal browser isn't blocked.</li>
<li>Links to your page shared on Facebook, Instagram, Threads or Messenger may lose their preview card.</li>
<li>It's in beta. Treat it as an extra layer of privacy, not a guarantee of how any platform treats your account.</li>
</ul>
<h2>Quick reference</h2>
<table>
<thead>
<tr>
<th>Setting</th>
<th>Where</th>
<th>Applies to</th>
<th>What a blocked or warned visitor sees</th>
<th>Plan</th>
</tr>
</thead>
<tbody><tr>
<td>Sensitive Content Warning</td>
<td>Restrictions, or Settings → Content Filters</td>
<td>Whole page</td>
<td>18+ warning with Continue</td>
<td>Free</td>
</tr>
<tr>
<td>Age Restriction</td>
<td>18+ chip on a block</td>
<td>One block</td>
<td>18+ warning on tap</td>
<td>Free</td>
</tr>
<tr>
<td>Location Restriction</td>
<td>Restrictions</td>
<td>Whole page</td>
<td>"Profile Not Available"</td>
<td>Pro</td>
</tr>
<tr>
<td>Location</td>
<td>Globe chip on a block</td>
<td>One block</td>
<td>Nothing (block hidden)</td>
<td>Pro</td>
</tr>
<tr>
<td>Shadowblock</td>
<td>Restrictions</td>
<td>Meta's crawlers only</td>
<td>Real visitors aren't affected</td>
<td>Free</td>
</tr>
</tbody></table>
<h2>What's next</h2>
<ul>
<li><a href="https://onlylinks.com/blogs/instagram-in-app-browser-links">Getting Instagram and Threads visitors out of the in-app browser</a></li>
<li><a href="https://onlylinks.com/blogs/onlylinks-blocks-explained">Every block on OnlyLinks and when to use it</a></li>
</ul>
]]></content:encoded>
      <category><![CDATA[Tutorials]]></category>
      <enclosure url="https://cdn.onlylinks.com/media/5u8ChgBVQXN3Kc3rFmyGNP1ega3UILUB/cover-kmwnYZybXsla28hSvCIZP.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Run a Promo on Your Link in Bio: Scheduling, Sale Badges, Countdowns and Animations]]></title>
      <link>https://onlylinks.com/blogs/run-a-promo-on-your-link-in-bio</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/run-a-promo-on-your-link-in-bio</guid>
      <pubDate>Fri, 30 Oct 2026 20:52:29 GMT</pubDate>
      <description><![CDATA[Set a link to appear and disappear on its own, add a live sale badge, count down to a drop and make your best link move. A step-by-step guide to running a sale on your OnlyLinks page.]]></description>
      <content:encoded><![CDATA[<p>Running a sale or a launch usually means editing your page on the day it starts, then remembering to undo it when it ends. With OnlyLinks you can set it all up in advance. This guide walks through four tools you can combine for any promo:</p>
<ul>
<li><strong>Schedule</strong> a link to appear and disappear on its own.</li>
<li><strong>Sale</strong> adds a live discount badge under a link.</li>
<li><strong>Countdown</strong> is a timer block for a drop or launch.</li>
<li><strong>Animation</strong> makes your most important link move so it gets noticed.</li>
</ul>
<h2>The chips on every block</h2>
<p>Each block in <strong>My Page → Icons &amp; Link Blocks</strong> has a row of small chips under its title. Each chip opens one setting for that block, and a chip lights up when its setting is on.</p>
<img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/01-block-chips.webp" alt="A link block row with chips for Design, Animation, Schedule, Sale, 18+, Deep link and Location" width="566">

<p>From left to right: <strong>Design</strong>, <strong>Animation</strong>, <strong>Schedule</strong>, <strong>Sale</strong>, <strong>18+</strong> (age restriction), <strong>Deep link</strong> and <strong>Location</strong>. Link blocks have all seven. Other blocks show only the chips that apply to them; for example, Sale is only on links and image carousels.</p>
<h2>1. Schedule a link (Pro)</h2>
<p>Click the <strong>clock</strong> chip, turn on <strong>Enable Scheduling</strong> and set:</p>
<ul>
<li><strong>From</strong>: the date and time the link appears.</li>
<li><strong>To</strong>: the date and time it disappears.</li>
<li><strong>Timezone</strong>: the time zone you mean those times in. It defaults to your device's time zone.</li>
</ul>
<p><img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/02-schedule.webp" alt="The Schedule Visibility dialog with Enable Scheduling on, From and To date pickers and a Timezone selector"></p>
<p>Click <strong>Save Schedule</strong>. Before the start time and after the end time, the link isn't on your page at all, so visitors never see an expired offer. Turn scheduling off to make the link permanent again.</p>
<p><strong>Tip:</strong> set up your promo link a day early, with the schedule matching the sale. Then you can check it on your phone without anyone else seeing it.</p>
<h2>2. Add a sale badge</h2>
<p>Click the <strong>$</strong> chip and turn on <strong>Sale Active</strong>. Then set:</p>
<ul>
<li><strong>Percent Off</strong>: the discount you're advertising.</li>
<li><strong>Discount Text Color</strong>: the colour of the "% OFF" text.</li>
<li><strong>Ends At Date</strong> (optional): adds a live countdown next to the discount. Leave it empty to show the sale without a timer.</li>
<li><strong>Custom Sale Text</strong> (optional): write your own line using placeholders such as <code>{sale}</code> for the discount and <code>{hh:mm:ss}</code> for the time left. Leave it blank to use the default.</li>
</ul>
<img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/03-sale.webp" alt="The Sale and Countdown dialog with Sale Active on, 30% off and a preview of the badge" width="768">

<p>On your page, the badge appears as a line right under the link, ticking down every second. When the end time passes, the badge disappears by itself.</p>
<img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/04-sale-badge.webp" alt="A link reading Subscribe to my OnlyFans with 30% OFF ends in 34h 53m 41s underneath" width="390">

<p><strong>Colour tip:</strong> the countdown part of the badge uses your theme's <strong>Link Block Background</strong> colour (in <strong>Profile Design → Color Palette</strong>). On a light background, white countdown text can be hard to read, so check the badge on your phone and adjust that colour if needed.</p>
<p><strong>Urgency Boost (Pro)</strong> replaces the real end date with a short countdown of 10 to 20 minutes that restarts for each visit. It's useful for evergreen offers, but use it honestly.</p>
<h2>3. Add a countdown</h2>
<p>For a launch or a drop, add a <strong>Countdown</strong> block: <strong>Add New Content → Countdown</strong>. Set:</p>
<ul>
<li><strong>Message</strong>: the line above the timer, such as "New set drops in".</li>
<li><strong>Countdown ends at</strong>: the date and time you're counting down to.</li>
<li><strong>Visible Time Units</strong>: any mix of days, hours, minutes and seconds.</li>
<li><strong>When Countdown Ends</strong>: show a message (for example "It's live!"), hide the block, or freeze at 00:00:00.</li>
</ul>
<img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/05-countdown-dialog.webp" alt="The Edit Countdown dialog with a preview, the message New set drops in and the time unit and ending options" width="768">

<img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/06-countdown.webp" alt="A countdown block on a phone reading New set drops in, 04 days 08 hours 10 minutes 00 seconds" width="390">

<p>The time you enter is read in your device's time zone, and every visitor sees the same amount of time left, wherever they are.</p>
<h2>4. Make your best link move (Pro)</h2>
<p>Click the <strong>sparkle</strong> chip to add an animation: <strong>Bounce</strong>, <strong>Jello</strong>, <strong>Wobble</strong>, <strong>Pulse</strong>, <strong>Shake</strong> or <strong>Tada</strong>. The preview loops so you can compare them.</p>
<img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/07-animation.webp" alt="The Animation dialog with a preview and the list of animation styles" width="768">

<p>Here's <strong>Pulse</strong> together with a sale badge:</p>
<p><img src="https://onlylinks.com/img/blog/tutorials/run-a-promo-on-your-link-in-bio/08-pulse-and-sale.gif" alt="A link gently pulsing with a 30% OFF countdown underneath"></p>
<p>Use animation on one link at a time. If everything moves, nothing stands out.</p>
<h2>A complete promo, step by step</h2>
<p>Say you're running 30% off for one weekend:</p>
<ol>
<li><strong>Thursday:</strong> duplicate your main subscription link and retitle the copy "30% off this weekend only".</li>
<li>Add a <strong>sale badge</strong>: 30% off, ending Sunday at midnight.</li>
<li><strong>Schedule</strong> the copy to appear Friday at 9 am and disappear Sunday at midnight.</li>
<li>Give it the <strong>Pulse</strong> animation and drag it to the top of your page.</li>
<li>Optional: add a <strong>Countdown</strong> on Thursday that says "Sale starts in", set to Friday at 9 am, and hide it when it ends.</li>
</ol>
<p>Your regular link stays where it was. When the weekend is over, the promo link disappears by itself and your page goes back to normal.</p>
<h2>What's next</h2>
<ul>
<li><a href="https://onlylinks.com/blogs/how-to-read-your-onlylinks-analytics">How to read your OnlyLinks analytics</a>: see whether your promo got more clicks.</li>
<li><a href="https://onlylinks.com/blogs/onlylinks-blocks-explained">Every block on OnlyLinks and when to use it</a></li>
</ul>
]]></content:encoded>
      <category><![CDATA[Tutorials]]></category>
      <enclosure url="https://cdn.onlylinks.com/media/5u8ChgBVQXN3Kc3rFmyGNP1ega3UILUB/cover-sD3A8zhJXlkWDsRtI6p7Q.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Every Block on OnlyLinks, and When to Use Each One]]></title>
      <link>https://onlylinks.com/blogs/onlylinks-blocks-explained</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/onlylinks-blocks-explained</guid>
      <pubDate>Fri, 30 Oct 2026 20:51:43 GMT</pubDate>
      <description><![CDATA[Links, grids, slideshows, carousels, countdowns, videos, music, tip jars and contact forms. What each OnlyLinks block does, what it looks like on a phone, and the best way to use it.]]></description>
      <content:encoded><![CDATA[<p>A plain list of links works, but it isn't the only option. OnlyLinks has nine kinds of blocks, and picking the right one for each job makes your page easier to tap through and more fun to look at. This guide shows each block as your visitors see it on a phone, with a quick note on when to use it.</p>
<p>To add any block, open <strong>My Page → Icons &amp; Link Blocks</strong> and click <strong>Add New Content</strong>. The picker groups blocks into <strong>Content</strong>, <strong>Media</strong> and <strong>Monetize</strong>. Blocks marked <strong>Soon</strong> aren't available yet.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/01-block-picker.webp" alt="The full Add New Block picker with Content, Media and Monetize sections" width="512">

<h2>Content blocks</h2>
<h3>Link</h3>
<p>The everyday button: a title that goes to a URL. Pick one of four styles when you add it:</p>
<ul>
<li><strong>Classic</strong>: text only. Clean and quick to read.</li>
<li><strong>Card</strong>: a small image or icon on the left of the text.</li>
<li><strong>Image</strong>: an image with the text below it.</li>
<li><strong>Thumbnail</strong>: a large background image with the text over it.</li>
</ul>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/02-link-classic.webp" alt="A Classic link: a rounded white button reading Subscribe to my OnlyFans" width="390">

<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/03-link-thumbnail.webp" alt="A Thumbnail link: a wide image card with the title New set every Friday over it" width="390">

<p><strong>Use it for:</strong> your main destinations. Make your top link a Thumbnail so it stands out, and keep the rest Classic so the page stays tidy.</p>
<p>Link blocks have the most extras of any block: scheduling, sale badges, animations, age restriction, deep linking and location rules. See <a href="https://onlylinks.com/blogs/run-a-promo-on-your-link-in-bio">Run a promo on your link in bio</a> for those.</p>
<h3>Grid</h3>
<p>A two-column grid of links. Each tile can show an image (<strong>thumbnail</strong> style) or an icon.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/04-grid.webp" alt="A 2-column grid of four image tiles titled Behind the scenes, Q&amp;A Friday, Travel diary and Merch" width="390">

<p><strong>Use it for:</strong> a group of related links that would otherwise make your page very long, such as your other platforms, a few content categories or shop sections.</p>
<h3>Slideshow Link</h3>
<p>A swipeable set of images that all lead to one link, with an optional title and subtitle. It can advance on its own.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/05-slideshow-link.webp" alt="A tall slideshow card titled This week's set, Swipe through, with dots showing three slides" width="390">

<p><strong>Use it for:</strong> teasing a new set or drop. Visitors swipe through the previews, and one tap takes them to the place they can see the rest.</p>
<h3>Countdown</h3>
<p>A live timer counting down to a date you choose, with your own message above it. You decide what happens when it reaches zero: show a message, hide the block, or freeze at 00:00:00.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/06-countdown.webp" alt="A countdown reading New set drops in, 04 days 08 hours 10 minutes 00 seconds" width="390">

<p><strong>Use it for:</strong> launches, live streams and limited-time offers. A ticking clock gives people a reason to come back.</p>
<h2>Media blocks</h2>
<h3>Video</h3>
<p>A video that plays right on your page, with your own title. YouTube is supported today. TikTok and video uploads are listed as coming soon.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/07-video.webp" alt="A video block with a play button and the title Travel vlog: a week in Lisbon" width="390">

<p><strong>Use it for:</strong> a trailer, a vlog or your latest upload, so visitors can watch without leaving your page.</p>
<h3>Carousel Images</h3>
<p>A row of images visitors can scroll sideways.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/08-carousel.webp" alt="A horizontal row of rounded image tiles" width="390">

<p><strong>Use it for:</strong> a quick gallery that gives a feel for your content without taking up much space.</p>
<h3>Music</h3>
<p>A Spotify or Apple Music track with a play button and a preview, right on your page.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/09-music.webp" alt="A Spotify player for Clair de Lune with a play button and Save on Spotify" width="390">

<p><strong>Use it for:</strong> your own release, your playlist of the week, or the song from your latest video.</p>
<h2>Monetize blocks</h2>
<h3>Tip Jar (Pro)</h3>
<p>A card of buttons that link to your tipping and payment pages. Supported options include Throne, Fansly, LoyalFans, ManyVids, Cash App, Venmo, PayPal, crypto and any custom URL.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/10-tip-jar.webp" alt="A Tip me card reading Every bit helps, with Wishlist and Cash App buttons" width="390">

<p><strong>Use it for:</strong> giving fans who want to support you one obvious place to do it.</p>
<h3>Contact Form</h3>
<p>A sign-up form that collects emails, phone numbers or both, with your own headline and button text.</p>
<img src="https://onlylinks.com/img/blog/tutorials/onlylinks-blocks-explained/11-contact-form.webp" alt="A Get my drops first form with an email field, a consent checkbox and a Sign up button" width="390">

<p>Everyone who signs up appears under <strong>Contacts</strong> in your dashboard, where you can export the list as a CSV. OnlyLinks doesn't send messages for you, so the list is yours to use with whatever email or SMS tool you like.</p>
<p><strong>Use it for:</strong> building a list you own. If a platform ever restricts your account, you can still reach the people who signed up.</p>
<h2>Putting it together</h2>
<p>Most good pages follow this pattern:</p>
<ol>
<li><strong>One big link at the top</strong> (a Thumbnail link or a Slideshow Link) for the thing you most want people to tap.</li>
<li><strong>Two or three Classic links</strong> for your other main destinations.</li>
<li><strong>One grid</strong> for everything else.</li>
<li><strong>One extra</strong> that fits right now: a Countdown before a launch, a Video after a new upload, or a Contact Form to build your list.</li>
</ol>
<p>You can hide any block with its switch instead of deleting it, so it's easy to swap things in and out as your plans change.</p>
<h2>What's next</h2>
<ul>
<li><a href="https://onlylinks.com/blogs/how-to-set-up-your-onlylinks-page">How to set up your OnlyLinks page in 10 minutes</a></li>
<li><a href="https://onlylinks.com/blogs/run-a-promo-on-your-link-in-bio">Run a promo on your link in bio: scheduling, sale badges, countdowns and animations</a></li>
</ul>
]]></content:encoded>
      <category><![CDATA[Tutorials]]></category>
      <enclosure url="https://cdn.onlylinks.com/media/5u8ChgBVQXN3Kc3rFmyGNP1ega3UILUB/cover-QATxqKlBk-d_AjfnYTlbI.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Getting Instagram and Threads Visitors Out of the In-App Browser]]></title>
      <link>https://onlylinks.com/blogs/instagram-in-app-browser-links</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/instagram-in-app-browser-links</guid>
      <pubDate>Fri, 30 Oct 2026 20:51:04 GMT</pubDate>
      <description><![CDATA[When someone taps your link inside Instagram, it opens in Instagram's own browser, where fans usually aren't logged in. Here's how Deep Link, Ask for External Browser, Hold to Enter and Bot Protection change what happens next.]]></description>
      <content:encoded><![CDATA[<p>When someone taps the link in your Instagram bio, Instagram doesn't open Safari or Chrome. It opens the page in its own built-in browser. That browser is separate from the one on the visitor's phone, so they usually aren't logged in to anything there. Their saved passwords and cards may not be available either. A fan who taps "Subscribe" and lands on a login screen they can't get past is a fan you've lost.</p>
<p>OnlyLinks has four settings that change what happens after that tap. This guide explains what each one does, who it affects, and which ones to turn on.</p>
<blockquote>
<p>These settings are about what happens <strong>after</strong> someone taps your link. They don't control whether Instagram shows the link in your bio.</p>
</blockquote>
<h2>Where to find the settings</h2>
<p>Open <strong>My Page → Icons &amp; Link Blocks</strong> and scroll below your link blocks. You'll see four switches: <strong>Deep Link</strong>, <strong>Ask for External Browser</strong>, <strong>Hold to Enter</strong> and <strong>Bot Protection</strong>. Hover over the ⓘ next to any of them for a one-line reminder of what it does.</p>
<img src="https://onlylinks.com/img/blog/tutorials/instagram-in-app-browser-links/01-link-block-switches.webp" alt="The four switches: Deep Link enabled, Ask for External Browser disabled, Hold to Enter disabled, Bot Protection enabled and marked Recommended" width="656">

<p>New pages start with <strong>Deep Link</strong> and <strong>Bot Protection</strong> on, and the other two off.</p>
<h2>Deep Link (on by default)</h2>
<p><strong>What it does:</strong> on an iPhone, when a visitor taps one of your links inside Instagram or Threads, the link opens in their phone's default browser instead of Instagram's.</p>
<p>What visitors notice:</p>
<ul>
<li>Newer versions of Instagram ask the visitor to confirm before leaving the app. If they tap Cancel, the next tap asks again.</li>
<li>Inside Facebook and Messenger on iPhone, links open in the app as usual.</li>
<li>On Android, Deep Link doesn't change link taps. Use <strong>Ask for External Browser</strong> if a lot of your visitors are on Android (see below).</li>
<li>Links tapped in other apps, such as TikTok, aren't affected.</li>
</ul>
<h3>Deep linking a single link</h3>
<p>If you turn the page-wide switch off, you can still deep link individual links. Click the <strong>Deep link</strong> chip on a link block and turn on <strong>Deep link this block</strong>. While the page-wide switch is on, every link already deep links, so the per-link switch shows as on and can't be changed.</p>
<img src="https://onlylinks.com/img/blog/tutorials/instagram-in-app-browser-links/02-deep-link-block.webp" alt="The Deep Link dialog for a single link: Escape the Instagram &amp; Threads in-app browser" width="512">

<h3>Links to OnlyFans and other adult sites</h3>
<p>Links to adult platforms such as OnlyFans and Fansly get extra handling, whatever your Deep Link setting:</p>
<ul>
<li>When a visitor comes from Instagram, Threads, Facebook or Messenger, the <strong>first tap</strong> on one of these links shows a short 18+ confirmation. The <strong>next tap</strong> sends them to their real browser.</li>
<li>OnlyLinks always tries to open these links in the visitor's real browser rather than inside the app.</li>
</ul>
<img src="https://onlylinks.com/img/blog/tutorials/instagram-in-app-browser-links/03-18-plus-card.webp" alt="On a phone, the OnlyFans link replaced by a card reading Sensitive Content. This link may contain sensitive content. Are you over 18 years old? Continue" width="320">

<p>This happens automatically. There's no switch for it, and you won't see it in the editor's phone preview, because the preview isn't running inside Instagram.</p>
<h2>Ask for External Browser (off by default)</h2>
<p><strong>What it does:</strong> when your whole page is opened inside Instagram, Facebook, Messenger or Threads, OnlyLinks first tries to reopen it in the visitor's own browser.</p>
<p>If that doesn't work, a popup asks the visitor to do it themselves:</p>
<ul>
<li><strong>"Open in Safari"</strong> on iPhone, or <strong>"Open in Chrome"</strong> on Android, with instructions to tap the <strong>•••</strong> menu and choose <strong>"Open in external browser"</strong>.</li>
<li>A <strong>Copy Link</strong> button. OnlyLinks also copies your page link automatically when the popup appears.</li>
<li><strong>Continue here</strong>, for visitors who'd rather stay in the app.</li>
</ul>
<p><strong>When to turn it on:</strong> if many of your visitors use Android or Facebook, where Deep Link doesn't help. The trade-off is one extra step for some visitors, so leave it off if most of your traffic is iPhone and Instagram.</p>
<h2>Hold to Enter (off by default)</h2>
<p><strong>What it does:</strong> before your page appears, visitors see a <strong>Quick Check</strong> screen and press and hold a button for 1.5 seconds until the ring fills.</p>
<p><img src="https://onlylinks.com/img/blog/tutorials/instagram-in-app-browser-links/04-hold-to-enter.gif" alt="A visitor pressing and holding the Quick Check button until the ring fills, then the page appearing"></p>
<p>Things to know:</p>
<ul>
<li>It applies to <strong>every</strong> visitor, in every browser.</li>
<li>Once a visitor passes, they won't see it again in that browser tab.</li>
<li>If you also have the <strong>Sensitive Content Warning</strong> turned on, that warning appears first.</li>
<li>It's a deliberate pause, not a lock. Use it only if you want every visitor to take that extra step.</li>
</ul>
<h2>Bot Protection (on by default, recommended)</h2>
<p><strong>What it does:</strong> before your OnlyFans and other adult links open, visitors pass a quick Cloudflare check. Most people never notice it, because it runs in the background a moment after your page loads. If Cloudflare does need the visitor to do something, they see a small <strong>"Quick check before your link opens"</strong> card.</p>
<p>Details:</p>
<ul>
<li>It only runs on pages that have links to adult sites, and only those links are checked.</li>
<li>Once a visitor passes, they won't be checked again on your page for 30 minutes.</li>
<li>It doesn't run on your own custom domain.</li>
<li>Inside Instagram and other Meta apps, the check happens after the visitor reaches their real browser.</li>
<li>If Cloudflare is having problems, your links still open.</li>
</ul>
<p>We recommend leaving it on.</p>
<h2>Which settings should you use?</h2>
<table>
<thead>
<tr>
<th>Your situation</th>
<th>Deep Link</th>
<th>Ask for External Browser</th>
<th>Hold to Enter</th>
<th>Bot Protection</th>
</tr>
</thead>
<tbody><tr>
<td>Most creators</td>
<td>On</td>
<td>Off</td>
<td>Off</td>
<td>On</td>
</tr>
<tr>
<td>Lots of Android or Facebook visitors</td>
<td>On</td>
<td><strong>On</strong></td>
<td>Off</td>
<td>On</td>
</tr>
<tr>
<td>You want every visitor to pause before seeing your page</td>
<td>On</td>
<td>Off or On</td>
<td><strong>On</strong></td>
<td>On</td>
</tr>
</tbody></table>
<h2>Test it yourself</h2>
<p>The editor preview can't show how your page behaves inside Instagram, so test on a real phone:</p>
<ol>
<li>Open Instagram, go to your own profile and tap the link in your bio.</li>
<li>Tap a regular link and check where it opens.</li>
<li>Tap your OnlyFans link. You should see the 18+ confirmation first, then your real browser.</li>
</ol>
<p>If you can, ask a friend with an Android phone to do the same.</p>
<h2>What's next</h2>
<ul>
<li><a href="https://onlylinks.com/blogs/sensitive-content-age-and-location-settings">Sensitive content, age and location settings</a>: choose who sees your page and individual links.</li>
<li><a href="https://onlylinks.com/blogs/how-to-read-your-onlylinks-analytics">How to read your OnlyLinks analytics</a></li>
</ul>
]]></content:encoded>
      <category><![CDATA[Tutorials]]></category>
      <enclosure url="https://cdn.onlylinks.com/media/5u8ChgBVQXN3Kc3rFmyGNP1ega3UILUB/cover-R-yjZzxqbjH2mnX1Masua.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[How to Set Up Your OnlyLinks Page in 10 Minutes]]></title>
      <link>https://onlylinks.com/blogs/how-to-set-up-your-onlylinks-page</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/how-to-set-up-your-onlylinks-page</guid>
      <pubDate>Fri, 30 Oct 2026 20:50:17 GMT</pubDate>
      <description><![CDATA[Claim your link, add your photo and bio, connect your socials, add your first links, pick a theme and put your new page in your bio. A step-by-step guide with screenshots.]]></description>
      <content:encoded><![CDATA[<p>Your link in bio is the one link every follower can tap, so it should send them everywhere you want them to go. This guide takes you from a blank account to a finished OnlyLinks page you can paste into Instagram, TikTok and X. It takes about ten minutes.</p>
<p>You'll need:</p>
<ul>
<li>An email address, or a Google or Apple account</li>
<li>A profile photo</li>
<li>The links you want on your page (your subscription page, your free page, your Telegram and so on)</li>
</ul>
<h2>Step 1: Claim your link</h2>
<p>Go to <a href="https://onlylinks.com/register">onlylinks.com/register</a> and type the username you want. It becomes your page address: <strong>onlylinks.com/yourname</strong>. If the name is taken, OnlyLinks suggests a few close alternatives you can tap.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/01-claim-username.webp" alt="The sign-up screen with a username typed into the onlylinks.com/ field" width="768">

<p>Tap <strong>Claim Your Link →</strong> and follow the remaining steps:</p>
<ol>
<li>Create your account with an email and password, or continue with Google or Apple.</li>
<li>Enter the code we email you to confirm your address.</li>
<li>Tell us what kind of creator you are.</li>
<li>Pick the platforms you want to connect. You can change these later.</li>
<li>Choose a starting theme.</li>
<li>Choose Free, or start a Pro trial.</li>
</ol>
<p>Pick something close to what you want for now. Everything in these steps can be changed later from your dashboard.</p>
<h2>Step 2: Open the page editor</h2>
<p>Everything you see on your page is edited in <strong>My Page</strong>, in the dashboard sidebar. The editor has two tabs:</p>
<ul>
<li><strong>Icons &amp; Link Blocks</strong>: your social icons and everything people can tap.</li>
<li><strong>Profile Design</strong>: your photo, name, bio, theme, colours and fonts.</li>
</ul>
<p>The phone on the right is a live preview. As the editor says, changes go live as you make them, so there's no publish button to remember.</p>
<p><img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/02-editor.webp" alt="The My Page editor with the Social Icons and Link Blocks sections and an empty phone preview"></p>
<h2>Step 3: Add your photo, name and bio</h2>
<p>Open the <strong>Profile Design</strong> tab. In <strong>Profile &amp; Advanced</strong>, click <strong>Edit Profile</strong>, then <strong>Profile</strong>:</p>
<ul>
<li><strong>Profile Picture</strong>: click <strong>Change</strong> to upload a JPG, PNG, GIF or WebP up to 10 MB.</li>
<li><strong>Display Name</strong>: up to 36 characters. This is the big name at the top of your page.</li>
<li><strong>Bio</strong>: up to 200 characters. One or two short lines work best on a phone.</li>
</ul>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/03-profile-information.webp" alt="The Profile Information panel with a profile picture, display name and bio filled in" width="656">

<h2>Step 4: Add your social icons</h2>
<p>Social icons are the small row of icons under your bio. Go back to <strong>Icons &amp; Link Blocks</strong> and click <strong>Add Your First Social Icon</strong>. Choose a platform, type your username or paste your profile URL, then click <strong>Add Icon</strong>.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/04-add-social-icon.webp" alt="The Add Social Icon dialog with Instagram selected and a username entered" width="672">

<p>Repeat for each platform you use. Instagram, TikTok, X, Snapchat, OnlyFans, Reddit, Telegram, YouTube and Threads are all there, along with music platforms, Twitch, Kick and email.</p>
<p>Under <strong>Social Icons Color Style</strong> you can choose whether the icons match your theme or use each platform's own colours.</p>
<h2>Step 5: Add your first links</h2>
<p>Links are the big buttons your visitors tap. In the <strong>Link Blocks</strong> section, click <strong>Add Your First Block</strong>. The picker shows every kind of block you can add. Start with <strong>Link</strong>.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/05-block-picker.webp" alt="The Add New Block picker showing Link, Grid, Slideshow Link, Countdown and media blocks" width="512">

<p>Choose a style (<strong>Classic</strong>, <strong>Card</strong>, <strong>Image</strong> or <strong>Thumbnail</strong>), then enter a <strong>Title</strong> and the <strong>URL</strong>. The preview at the top updates as you type.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/06-add-link.webp" alt="The Add Link Block dialog with a title and URL entered and a live preview" width="768">

<p>Click <strong>Save &amp; Add Another Block</strong> to keep going, or <strong>Save &amp; Close</strong> when you're done.</p>
<p>A few tips for your titles:</p>
<ul>
<li><strong>Say what happens when people tap.</strong> "Subscribe to my OnlyFans" beats "OnlyFans".</li>
<li><strong>Keep titles short.</strong> Most visitors are on a phone, and long titles wrap onto two lines.</li>
<li><strong>Put your most important link first.</strong> That's the one most people tap.</li>
</ul>
<h2>Step 6: Put your links in the right order</h2>
<p>Drag a block by its handle (the dotted grip on the left) to move it. The phone preview updates as soon as you drop it.</p>
<p><img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/07-reorder.gif" alt="Dragging a link block from the bottom of the list to the top, with the phone preview updating"></p>
<p>Each block also has a switch on the right. Turn it off to hide a link without deleting it, which is handy for links you only use now and then.</p>
<h2>Step 7: Pick a theme</h2>
<p>Open <strong>Profile Design</strong> again and scroll to <strong>Theme</strong>. Tap any look to try it on. Your photo, links and text stay the same, and nothing changes on your live page until you apply it. Use the filters (<strong>Soft</strong>, <strong>Baddie</strong>, <strong>Luxe</strong>, <strong>Dark</strong>, <strong>Y2K</strong>, <strong>Clean</strong>) to narrow things down, or tap <strong>Surprise me</strong>.</p>
<p><img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/08-try-on-theme.webp" alt="Trying on the Coquette theme, with the phone preview showing the new look"></p>
<p>When you like a look, click <strong>Apply</strong>. Click <strong>Keep my design</strong> to go back to what you had. Further down the same tab you can fine-tune the header layout, colours, background, button shape and fonts. Some themes are Pro.</p>
<h2>Step 8: Check your page, then share it</h2>
<p>At the top of every dashboard page you'll find <strong>View Profile</strong>, which opens your live page, and <strong>Copy Link</strong>, which copies your page address.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/09-share-buttons.webp" alt="The View Profile, Copy Link and Alternative domains buttons at the top of the dashboard" width="402">

<p>Open your page on your own phone and tap every link once to make sure it goes where you expect.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-set-up-your-onlylinks-page/10-finished-page.webp" alt="The finished page on a phone: photo, name, bio, social icons and four links in the Coquette theme" width="320">

<p>Then paste the link into your bios:</p>
<ul>
<li><strong>Instagram</strong>: Edit profile → Links → Add external link.</li>
<li><strong>TikTok</strong>: Edit profile → Website. TikTok only shows this field on some accounts.</li>
<li><strong>X</strong>: Edit profile → Website.</li>
</ul>
<h2>What's next</h2>
<ul>
<li><a href="https://onlylinks.com/blogs/onlylinks-blocks-explained">Every block on OnlyLinks and when to use it</a>: grids, slideshows, countdowns, tip jars and more.</li>
<li><a href="https://onlylinks.com/blogs/instagram-in-app-browser-links">Getting Instagram and Threads visitors out of the in-app browser</a>: make sure taps from Instagram open where they should.</li>
<li><a href="https://onlylinks.com/blogs/how-to-read-your-onlylinks-analytics">How to read your OnlyLinks analytics</a>: see which links people actually tap.</li>
</ul>
]]></content:encoded>
      <category><![CDATA[Tutorials]]></category>
      <enclosure url="https://cdn.onlylinks.com/media/5u8ChgBVQXN3Kc3rFmyGNP1ega3UILUB/cover-ho1SluVFny05bu5Umlaz-.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[How to Read Your OnlyLinks Analytics: Views, Clicks, Conversion Rate and Where Fans Come From]]></title>
      <link>https://onlylinks.com/blogs/how-to-read-your-onlylinks-analytics-views-clicks-conversion-rate-and-where-fans-come-from</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/how-to-read-your-onlylinks-analytics-views-clicks-conversion-rate-and-where-fans-come-from</guid>
      <pubDate>Fri, 30 Oct 2026 20:48:50 GMT</pubDate>
      <description><![CDATA[What every number in My Analytics means, how conversion rate is calculated, which links people actually tap and where your visitors come from. Plus three quick ways to use it to improve your page.]]></description>
      <content:encoded><![CDATA[<p>Your analytics answer three questions: how many people saw your page, how many tapped something, and which links they tapped. This guide walks through every part of <strong>My Analytics</strong> and ends with three changes worth testing.</p>
<p>My Analytics is a Pro feature. Open it from <strong>My Analytics</strong> in the dashboard sidebar.</p>
<p><em>The screenshots in this guide use example numbers from a demo page.</em></p>
<h2>Pick a time range</h2>
<p>Choose <strong>Last 24h</strong>, <strong>Last 7 Days</strong> (the default) or <strong>Last 30 Days</strong> at the top right.</p>
<p><img src="https://onlylinks.com/img/blog/tutorials/how-to-read-your-onlylinks-analytics/01-header.webp" alt="The My Analytics header with Last 24h, Last 7 Days and Last 30 Days, and the line Includes visits through 12:00 PM, new visits arrive hourly"></p>
<p>New visits are added in hourly batches, so your numbers can be an hour or so behind. The line under the title tells you how recent the data is. The refresh button next to it fetches the latest batch.</p>
<h2>The Overview tab</h2>
<h3>The four numbers at the top</h3>
<p><img src="https://onlylinks.com/img/blog/tutorials/how-to-read-your-onlylinks-analytics/02-metric-cards.webp" alt="Four cards: 3,469 Total Page Views (+13.3%), 857 Total Clicks (+13.2%), 19.4% Conversion Rate (+0.8 pts), 1m 11s Avg Session Duration (+4.2%)"></p>
<ul>
<li><strong>Total Page Views</strong>: how many times your page was opened.</li>
<li><strong>Total Clicks</strong>: how many times your links were tapped.</li>
<li><strong>Conversion Rate</strong>: the share of visitors who tapped at least one link. It counts people, not taps: a visitor who taps five links counts once. That's why it never goes above 100%.</li>
<li><strong>Avg Session Duration</strong>: roughly how long people spend on your page, from their first action to their last.</li>
</ul>
<p>The badge on each card compares the period with the one before it, cut at the same hour so the comparison is fair. The conversion rate change is shown in <strong>points</strong>: going from 18.6% to 19.4% is +0.8 pts.</p>
<h3>Traffic Overview</h3>
<p>The chart shows views and clicks over time. Solid lines are this period and dashed lines are the previous one. Hover over or tap any point to compare the two.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-read-your-onlylinks-analytics/03-traffic-chart.webp" alt="The Traffic Overview chart with current views and clicks as solid lines and the previous period as dashed lines" width="727">

<p>Look for spikes and match them to what you posted. A spike the day after a big Reel or TikTok tells you which content sends people to your page.</p>
<h3>Top Performing Links</h3>
<p>Your five most-tapped links in the period, with the platform each one points to.</p>
<img src="https://onlylinks.com/img/blog/tutorials/how-to-read-your-onlylinks-analytics/04-top-links.webp" alt="Top Performing Links: Subscribe to my OnlyFans 446 clicks, My free page 180, Join my Telegram channel 120, New set every Friday 69, Shop my favourite outfits 43" width="362">

<h2>The Links tab</h2>
<p><strong>Platform Performance</strong> adds up clicks by where your links go (OnlyFans, Telegram, websites and so on). Click a platform to filter the table next to it.</p>
<p><strong>Links Performance</strong> lists every link that was tapped in the period, with its clicks, <strong>CTR</strong> and change since the previous period.</p>
<p><img src="https://onlylinks.com/img/blog/tutorials/how-to-read-your-onlylinks-analytics/05-links-tab.webp" alt="The Links tab: Platform Performance on the left, and a Links Performance table with Clicks, CTR and Change columns"></p>
<p>CTR here means the share of your page's visitors who tapped that link. Like conversion rate, it counts people, not taps.</p>
<h2>The Geo &amp; Devices tab</h2>
<ul>
<li><strong>Device Types</strong>: phones and tablets versus desktop.</li>
<li><strong>Browser Usage</strong>: the browsers your visitors use, top five plus everything else.</li>
<li><strong>Top Countries</strong>: your top five countries by visits.</li>
</ul>
<p><img src="https://onlylinks.com/img/blog/tutorials/how-to-read-your-onlylinks-analytics/06-geo-devices.webp" alt="Device Types, Browser Usage and Top Countries cards"></p>
<p>If most of your visitors are on phones (they usually are), check every change on a phone first. Your country list can also guide the times you post and the countries you might want to restrict. See <a href="https://onlylinks.com/blogs/sensitive-content-age-and-location-settings">Content settings for creators</a>.</p>
<p>On the <strong>Last 24h</strong> view, conversion rate, session length and the Geo &amp; Devices numbers cover today and yesterday in UTC. The page notes this when it applies.</p>
<h2>Three things to try this week</h2>
<ol>
<li><strong>Move your best link to the top.</strong> If your most important link isn't first in Top Performing Links, move it to the top of your page and compare its clicks next week.</li>
<li><strong>Rewrite a weak title.</strong> Find a link with a low CTR and make its title say what happens when people tap ("Get 30% off my page" rather than "Link").</li>
<li><strong>Cut what nobody taps.</strong> A link with almost no clicks is taking attention from the ones that matter. Hide it with its switch and see whether your conversion rate goes up.</li>
</ol>
<p>Make one change at a time and give it a full week. Then you'll know which change made the difference.</p>
<h2>What's next</h2>
<ul>
<li><a href="https://onlylinks.com/blogs/run-a-promo-on-your-link-in-bio">Run a promo on your link in bio</a></li>
<li><a href="https://onlylinks.com/blogs/how-to-set-up-your-onlylinks-page">How to set up your OnlyLinks page in 10 minutes</a></li>
</ul>
]]></content:encoded>
      <category><![CDATA[Tutorials]]></category>
      <enclosure url="https://cdn.onlylinks.com/media/5u8ChgBVQXN3Kc3rFmyGNP1ega3UILUB/cover-W4beRWfZSp-nlCTNsQqgg.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[OnlyLinks v2: Our Biggest Update Yet]]></title>
      <link>https://onlylinks.com/blogs/onlylinks-v2-our-biggest-update-yet</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/onlylinks-v2-our-biggest-update-yet</guid>
      <pubDate>Tue, 18 Nov 2025 04:33:25 GMT</pubDate>
      <description><![CDATA[Spent the last 1.5 months rebuilding OnlyLinks with the team from a flat, gray CRM style dashboard into a colorful, gradient driven design system, with smoother layouts, better motion, and new surfaces like Alerts and Custom Domains. This post walks through the overhaul, but the real upgrade is something you have to click around and feel yourself.]]></description>
      <content:encoded><![CDATA[<h1>From Gray CRM To Living Product</h1>
<p><em>Written by Charbel Habchy • Published November 17 2025</em></p>
<p>For the last ~1.5 months I have been working with the OnlyLinks team on something I have wanted for a long time:</p>
<p>Turn OnlyLinks from a boring, gray, CRM looking tool into a product that actually feels alive.</p>
<p>Same core idea. Completely new UI and UX.</p>
<p>The funny part is that v1 did not come from a bad place. It was the classic move: ship something fast, prove it works, keep adding features. Over time we ended up with a product that functioned well, but visually felt like every other dashboard on the internet.</p>
<p>v2 is where we finally paused, zoomed out, and rebuilt the experience to match what OnlyLinks actually is.</p>
<hr>
<h2>What Was Wrong With v1</h2>
<p>v1 did its job, but visually it had a few big problems:</p>
<ul>
<li>It looked like a generic admin dashboard template  </li>
<li>Lots of flat gray and white surfaces  </li>
<li>Thin borders and basic cards that all felt the same  </li>
<li>Navigation that felt very "tool list", not a real system</li>
</ul>
<p>If you squinted, you could swap the logo and it might as well be any random CRM.</p>
<p>There was also a subtle issue: the interface was not telling you what mattered. Metrics, tables, and buttons all sat on the same visual level. You could accomplish tasks, but the UI was not guiding you emotionally or visually.</p>
<p>Creators and teams are building their brands in OnlyLinks. The product did not feel like it belonged in that world yet.</p>
<hr>
<h2>Design Goals For v2</h2>
<p>When we started the redesign, we set a few simple goals that we kept coming back to in every review:</p>
<ol>
<li><p><strong>Make OnlyLinks feel like a brand, not a template</strong><br>Color, gradients, and motion should be baked into the core language, not just dropped on top at the end.</p>
</li>
<li><p><strong>Build one consistent design system</strong><br>Same spacing, same corner radius, same shadows, same motion rules everywhere, so every new feature feels native from day one.</p>
</li>
<li><p><strong>Make the app feel lighter and more human</strong><br>Less "rows in a database", more "control center for your presence", with surfaces that feel modern instead of corporate.</p>
</li>
<li><p><strong>Use layout to guide people, not confuse them</strong><br>Clear sections for Organizations, personal tools, and admin features so your brain always knows where it is in the product.</p>
</li>
</ol>
<p>The entire redesign was basically us asking one question over and over:</p>
<blockquote>
<p>If I saw this screen without a logo, would I still know it is OnlyLinks?</p>
</blockquote>
<p>If the answer was no, we kept iterating.</p>
<hr>
<h2>The OnlyLinks Brand Guidelines And Design Language</h2>
<p>One of the biggest pieces behind v2 is something you do not see on any single screen by itself:</p>
<p>The brand language that sits underneath everything.</p>
<p>Before we touched the product, I sat down and designed a full visual and interaction language for OnlyLinks from the ground up. That work now lives on our public brand guidelines page:</p>
<p><a href="https://onlylinks.com/brand-guidelines">onlylinks.com/brand-guidelines</a></p>
<p>This is not just a moodboard or a color palette. It is the source of truth for how OnlyLinks should look and feel everywhere:</p>
<ul>
<li>The core gradient fields and how they blend into backgrounds  </li>
<li>The glassy surfaces, shadows, and elevation levels  </li>
<li>The typography hierarchy, from big hero headlines down to tiny labels  </li>
<li>The motion rules for how things enter, exit, and react  </li>
<li>The spacing and layout rhythm that keeps screens feeling balanced</li>
</ul>
<p>Every decision in v2 starts there. If a new screen or component does not fit the language in the brand guidelines, it is wrong until we fix it.</p>
<p>The goal was to create a design language that is recognizably OnlyLinks even without the logo:</p>
<ul>
<li>Soft but sharp  </li>
<li>Gradient heavy but still clean  </li>
<li>Modern and fluid without feeling like a Dribbble shot pasted into a real product</li>
</ul>
<p>The v2 UI is basically that brand system brought to life across the entire app.</p>
<hr>
<h2>Color, Gradients, And Depth</h2>
<p>The biggest visual jump is the color.</p>
<ul>
<li>Backgrounds are no longer just gray. We use soft gradients and light color washes so the app feels like it has an atmosphere.  </li>
<li>Primary CTAs live on rich, smooth gradients that tie back to the OnlyLinks brand.  </li>
<li>Cards sit on top with subtle shadows and rounded corners, so the interface has real depth instead of feeling stamped on.</li>
</ul>
<p>Under the hood, this is all driven by a tighter color system:</p>
<ul>
<li>A primary gradient set used for navigation and key actions  </li>
<li>A gentle neutral set for backgrounds and card surfaces  </li>
<li>Accent colors reserved for things like alerts, status, and charts</li>
</ul>
<p>Nothing is neon or loud for no reason. The color is there to show hierarchy and focus, not just to look pretty.</p>
<p>Depth also got a proper structure. Instead of random shadows, we use a small set of elevation levels:</p>
<ul>
<li>Base background (almost flat, very soft)  </li>
<li>Cards (slightly lifted)  </li>
<li>Overlays and modals (more lifted, but still soft on the edges)</li>
</ul>
<p>It keeps everything feeling consistent and helps your brain understand which layer it is interacting with.</p>
<hr>
<h2>Layout And Navigation</h2>
<p>We also ripped apart the layout and rebuilt it in a way that matches how people actually use OnlyLinks.</p>
<ul>
<li>"Agencies" are now <strong>Organizations</strong>, which makes more sense for both teams and brands.  </li>
<li>The sidebar is split into clear sections: Organization, Personal, Settings &amp; Tools, and Admin.  </li>
<li>The active item uses a strong gradient pill, so you always know where you are.</li>
</ul>
<p>On the page level:</p>
<ul>
<li>Hero sections at the top give you the key context for where you are and what you are managing.  </li>
<li>Below that, cards and tables are arranged so your eyes flow from most important to supporting details.  </li>
<li>Multi step flows, like onboarding, use clean progress indicators so the path is obvious.</li>
</ul>
<p>We also paid attention to how layouts collapse and stretch:</p>
<ul>
<li>On larger screens, content breathes and forms split into logical columns.  </li>
<li>On smaller screens, everything stacks in a clean, linear order so you are not hunting for inputs or buttons.</li>
</ul>
<p>The app feels less like "a lot of pages" and more like one connected workspace that just happens to adapt to whatever screen you are on.</p>
<hr>
<h2>Motion And Micro Interactions</h2>
<p>We started using motion as part of the brand, not just as a random effect.</p>
<ul>
<li>Hover states give clear feedback without feeling jittery.  </li>
<li>Modals and drawers ease in and out with natural timing, so nothing feels like it teleports.  </li>
<li>Small transitions on tabs, filters, and toggles make the interface feel responsive and modern.</li>
</ul>
<p>We treated motion like seasoning:</p>
<ul>
<li>Enough to make the interface feel alive  </li>
<li>Not so much that it slows you down or makes you dizzy</li>
</ul>
<p>If an animation ever felt like it was showing off in the middle of real work, we toned it down.</p>
<p>Over time, these tiny interactions add up. The product feels smoother, more intentional, and less like a static HTML admin panel.</p>
<hr>
<h2>Building A Real Design System</h2>
<p>One big thing that changed behind the scenes is how we think about components.</p>
<p>In v1, a lot of UI was built in a one off way:</p>
<ul>
<li>A card over here  </li>
<li>A button variation over there  </li>
<li>A special table style for one screen</li>
</ul>
<p>In v2, we treated everything as part of a design system:</p>
<ul>
<li>Buttons share the same core structure and states across the entire app  </li>
<li>Cards reuse the same spacing, radius, and elevation tokens  </li>
<li>Inputs, selects, and toggles follow one clear style instead of five half related ones</li>
</ul>
<p>This means:</p>
<ul>
<li>Future features like new dashboards or tools can be built faster  </li>
<li>The visual language stays consistent even as the product grows  </li>
<li>The app feels more trustworthy because nothing looks out of place</li>
</ul>
<p>You might not see this directly as a user, but you feel it every time a new feature shows up and it just blends in.</p>
<hr>
<h2>New Surfaces: Alerts And Custom Domains</h2>
<p>During the redesign we also used the new design system to introduce new features.</p>
<h3>Alerts</h3>
<p>Alerts needed to be noticeable without feeling aggressive.</p>
<ul>
<li>We designed alert surfaces as colored cards that sit inside the layout, not ugly banners slapped on top.  </li>
<li>Icons, short titles, and clear actions keep them readable at a glance.  </li>
<li>They follow the same spacing, radius, and shadow rules as the rest of the system, so they feel native to the product.</li>
</ul>
<p>You get important information in context, without the UI screaming at you or breaking the flow of the page.</p>
<h3>Custom Domains</h3>
<p>Custom domains are a big part of making a profile feel like a real brand. The old experience for this was very utilitarian and almost hidden.</p>
<p>Now:</p>
<ul>
<li>The custom domains area has its own section and card layout, so it feels like a first class part of the product.  </li>
<li>Inputs, status badges, and connection states are all designed with the same gradient and glassy language as the rest of v2.  </li>
<li>Success and error states use consistent colors and messages, so you know exactly what is happening with your domain.</li>
</ul>
<p>It feels like part of a professional brand tool, not a configuration checkbox buried in settings.</p>
<hr>
<h2>Working On This With The OnlyLinks Team</h2>
<p>This was not a solo design sprint. The last 1.5 months have been a loop of:</p>
<ul>
<li>Me exploring layouts, flows, and visual directions  </li>
<li>The team poking holes in them, pointing out edge cases, and bringing real user needs into the conversation  </li>
<li>Iterating on the details until the screens felt right both visually and practically</li>
</ul>
<p>A lot of the best changes came from tiny comments like:</p>
<ul>
<li>"What if this stat was promoted to the top instead of buried?"  </li>
<li>"This looks cool but will confuse a new user, can we simplify it?"  </li>
<li>"This section should feel more important, it looks like a secondary card right now."</li>
</ul>
<p>The end result is a product that looks like something I would design, but also behaves like something a whole team pressure tested.</p>
<hr>
<h2>Why This Redesign Matters</h2>
<p>This was not a "change a few colors" update. We rebuilt the UI and UX from the ground up so that:</p>
<ul>
<li>The interface finally matches the level of polish creators expect.  </li>
<li>Organizations can manage real businesses in a space that feels premium, not like a random CRM.  </li>
<li>New features like Alerts and Custom Domains drop into a strong design system instead of creating more visual noise.  </li>
<li>The product feels like a single, coherent OnlyLinks experience, not a folder of disconnected pages.</li>
</ul>
<p>Honestly, this post does not even scratch the surface of all the tiny layout tweaks, motion changes, and new surfaces that went into v2. There are a lot of little details you only notice when you use it in real life.</p>
<p>If you want to really feel the difference, you will just have to jump in and click around OnlyLinks yourself.</p>
<hr>
<p><em>Written by Charbel Habchy • Published November 17 2025</em></p>
]]></content:encoded>
      <category><![CDATA[News]]></category>
      <enclosure url="https://cdn.onlylinks.com/media/5u8ChgBVQXN3Kc3rFmyGNP1ega3UILUB/MixCollage-17-Nov-2025-11-22-PM-5868.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Building Analytics That Scale: Our PostHog + BigQuery Architecture ]]></title>
      <link>https://onlylinks.com/blogs/building-analytics-2</link>
      <guid isPermaLink="true">https://onlylinks.com/blogs/building-analytics-2</guid>
      <pubDate>Sat, 08 Nov 2025 06:46:35 GMT</pubDate>
      <description><![CDATA[This post explores how OnlyLinks built a high-performance analytics system that processes 10M+ events per day with sub-second query times and 99.9% uptime—all while keeping costs low. ]]></description>
      <content:encoded><![CDATA[<h1>Building Analytics That Actually Scale: Our PostHog + BigQuery Architecture</h1>
<p>When we set out to build OnlyLinks, we knew analytics would be mission-critical. Content creators need real-time insights into their traffic, clicks, and audience behavior—and they need it fast. But traditional analytics solutions either didn't scale well or required rebuilding the wheel from scratch.</p>
<p>Here's how we built an analytics system that handles millions of events while keeping queries blazing fast and costs under control.</p>
<h2>The Hybrid Architecture: Best of Both Worlds</h2>
<p>Most teams choose either a hosted analytics platform (like PostHog, Mixpanel, or Amplitude) or a data warehouse (like BigQuery, Snowflake, or Redshift). We chose both—and that makes all the difference.</p>
<p><strong>PostHog handles event capture</strong>, giving us:</p>
<ul>
<li>Battle-tested SDKs for client and server-side tracking</li>
<li>Automatic session recording and dead click detection</li>
<li>Rich event properties with GeoIP lookup, device detection, and browser fingerprinting</li>
<li>A powerful ingestion pipeline that never drops events</li>
</ul>
<p><strong>BigQuery handles queries</strong>, giving us:</p>
<ul>
<li>Sub-second queries across billions of rows</li>
<li>Materialized views that pre-aggregate data</li>
<li>Clustering and partitioning for optimal performance</li>
<li>Cost-effective storage with columnar compression</li>
</ul>
<p>This separation of concerns is key. PostHog is optimized for capturing <em>every single event</em> reliably, while BigQuery is optimized for <em>querying that data</em> efficiently.</p>
<h2>The Secret Sauce: Materialized Views</h2>
<p>Here's where things get interesting. Raw event data is flexible but slow to query. Traditional analytics platforms force you to define metrics upfront. We found a middle ground: <strong>materialized views with intelligent clustering</strong>.</p>
<p>We maintain several pre-aggregated views that transform raw events into queryable metrics:</p>
<h3>1. Hourly Traffic Aggregation</h3>
<pre><code class="language-sql">CREATE MATERIALIZED VIEW analytics.hourly_traffic
CLUSTER BY hour_timestamp, user_path
AS
SELECT
  TIMESTAMP_TRUNC(event_timestamp, HOUR) AS hour_timestamp,
  user_path,
  COUNT(*) AS view_count,
  COUNT(DISTINCT session_id) AS unique_sessions
FROM analytics.raw_events
WHERE event_type = 'page_view'
GROUP BY hour_timestamp, user_path;
</code></pre>
<p><strong>Why this matters:</strong> Clustering by <code>hour_timestamp</code> and <code>user_path</code> means queries filtering by time range and user are <em>ridiculously fast</em>. BigQuery can skip entire data blocks that don't match your query.</p>
<h3>2. Geographic &amp; Device Analytics</h3>
<pre><code class="language-sql">CREATE MATERIALIZED VIEW analytics.audience_distribution
CLUSTER BY date, user_path, country_code, device_category
AS
SELECT
  DATE(event_timestamp) AS date,
  user_path,
  COALESCE(geo_country, 'Unknown') AS country_code,
  COALESCE(device_type, 'Unknown') AS device_category,
  COALESCE(browser_name, 'Unknown') AS browser_name,
  COUNT(*) AS event_count
FROM analytics.raw_events
WHERE event_type = 'page_view'
GROUP BY date, user_path, country_code, device_category, browser_name;
</code></pre>
<p><strong>The clustering strategy is crucial.</strong> BigQuery allows a maximum of 4 clustering fields, so we prioritized based on our most common query patterns:</p>
<ol>
<li><code>date</code> - nearly all queries filter by date range</li>
<li><code>user_path</code> - filtering by specific users/profiles</li>
<li><code>country_code</code> - geographic analytics are frequently requested</li>
<li><code>device_category</code> - device breakdowns are common</li>
</ol>
<p>Browser is included but not clustered—a deliberate trade-off we made after analyzing our query patterns.</p>
<h3>3. Link Engagement Tracking</h3>
<pre><code class="language-sql">CREATE MATERIALIZED VIEW analytics.link_performance
CLUSTER BY date, user_path, destination_url
AS
SELECT
  DATE(event_timestamp) AS date,
  user_path,
  destination_url,
  link_title,
  COUNT(*) AS click_count,
  COUNT(DISTINCT session_id) AS unique_clickers
FROM analytics.raw_events
WHERE event_type = 'link_click'
GROUP BY date, user_path, destination_url, link_title;
</code></pre>
<p>This powers our "Top Links" analytics, showing creators which specific links are driving the most engagement.</p>
<h2>Redis Caching: The Performance Multiplier</h2>
<p>Even with optimized BigQuery queries, hitting the database on every request adds latency. That's where Redis comes in—but not in the way you might expect.</p>
<p>We use <strong>multi-level caching with intelligent invalidation:</strong></p>
<pre><code class="language-typescript">async function getAnalyticsDashboard(userId: string, timeRange: string) {
  const cacheKey = `analytics:${userId}:${timeRange}`;
  
  // Try Redis first
  const cached = await redis.get(cacheKey);
  if (cached) {
    return JSON.parse(cached);
  }

  // Cache miss - query BigQuery
  const data = await queryBigQueryForDashboard(userId, timeRange);
  
  // Cache for 5 minutes
  await redis.setex(cacheKey, 300, JSON.stringify(data));
  
  return data;
}
</code></pre>
<p><strong>Key insight:</strong> We cache at the <em>API response level</em>, not individual query results. This means:</p>
<ul>
<li>A single cache hit returns the entire analytics dashboard</li>
<li>Cache invalidation is simple—just a TTL</li>
<li>No complex dependency tracking between queries</li>
</ul>
<p>For real-time campaign tracking, we implemented <strong>tiered caching</strong> with fallback behavior:</p>
<pre><code class="language-typescript">async function getCampaignMetrics(campaignId: string) {
  const inMemoryCache = memoryCache.get(campaignId);
  
  // Try in-memory cache first (faster but shorter TTL)
  if (inMemoryCache &amp;&amp; Date.now() - inMemoryCache.timestamp &lt; 60000) {
    return inMemoryCache.data;
  }
  
  // Try Redis cache
  const redisCache = await redis.get(`campaign:${campaignId}`);
  if (redisCache) {
    const data = JSON.parse(redisCache);
    memoryCache.set(campaignId, { data, timestamp: Date.now() });
    return data;
  }
  
  // Query database
  const freshData = await queryDatabase(campaignId);
  
  // Update both caches
  await redis.setex(`campaign:${campaignId}`, 300, JSON.stringify(freshData));
  memoryCache.set(campaignId, { data: freshData, timestamp: Date.now() });
  
  return freshData;
}
</code></pre>
<p>This ensures <strong>analytics are always available</strong>, even during database maintenance or temporary outages.</p>
<h2>Batch Querying: From N Queries to 1</h2>
<p>Here's a problem we ran into early: agency dashboards showing analytics for 100+ creators would make 100+ separate BigQuery queries. Even with caching, cold loads were brutally slow.</p>
<p>Our solution? <strong>Batch everything into a single query using CTEs and array parameters.</strong></p>
<pre><code class="language-sql">WITH user_pageviews AS (
  SELECT
    user_path,
    SUM(view_count) AS total_views,
    SUM(unique_sessions) AS total_sessions
  FROM analytics.hourly_traffic
  WHERE user_path IN UNNEST(@user_paths)
    AND hour_timestamp &gt;= @start_date
    AND hour_timestamp &lt; @end_date
  GROUP BY user_path
),
user_clicks AS (
  SELECT
    user_path,
    SUM(click_count) AS total_clicks,
    COUNT(DISTINCT destination_url) AS unique_links
  FROM analytics.link_performance
  WHERE user_path IN UNNEST(@user_paths)
    AND date &gt;= @start_date
    AND date &lt; @end_date
  GROUP BY user_path
),
combined_metrics AS (
  SELECT
    pv.user_path,
    pv.total_views,
    pv.total_sessions,
    cl.total_clicks,
    cl.unique_links,
    SAFE_DIVIDE(cl.total_clicks, pv.total_views) * 100 AS ctr
  FROM user_pageviews pv
  LEFT JOIN user_clicks cl USING (user_path)
)
SELECT * FROM combined_metrics
ORDER BY total_views DESC;
</code></pre>
<p>Then in our application code:</p>
<pre><code class="language-typescript">async function getAgencyDashboard(agencyId: string, period: string) {
  // Get all creator paths for this agency
  const creators = await db.getAgencyCreators(agencyId);
  const userPaths = creators.map(c =&gt; c.path);
  
  // Single batched query instead of N queries
  const results = await bigquery.query({
    query: BATCH_ANALYTICS_QUERY,
    params: {
      user_paths: userPaths,
      start_date: getStartDate(period),
      end_date: new Date()
    }
  });
  
  return processResults(results);
}
</code></pre>
<p><strong>The impact:</strong> Agency dashboards went from <strong>15-30 seconds</strong> to load down to <strong>under 2 seconds</strong>. And because we're processing data in BigQuery instead of in our application servers, we use far less memory and CPU.</p>
<h2>Intelligent Anomaly Detection</h2>
<p>Here's something most analytics platforms don't do: <strong>proactive alerting for traffic anomalies.</strong></p>
<p>We built automated detection that runs daily to identify unusual patterns:</p>
<h3>Traffic Spike &amp; Drop Detection</h3>
<pre><code class="language-sql">WITH daily_stats AS (
  SELECT
    user_path,
    DATE(hour_timestamp) AS date,
    SUM(view_count) AS daily_views
  FROM analytics.hourly_traffic
  WHERE hour_timestamp &gt;= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 14 DAY)
  GROUP BY user_path, date
),
baseline_comparison AS (
  SELECT
    user_path,
    AVG(CASE WHEN date &lt; CURRENT_DATE() THEN daily_views END) AS avg_views,
    MAX(CASE WHEN date = CURRENT_DATE() THEN daily_views END) AS today_views
  FROM daily_stats
  GROUP BY user_path
  HAVING avg_views &gt; 100  -- Only users with meaningful traffic
),
anomaly_detection AS (
  SELECT
    user_path,
    today_views,
    avg_views,
    ((today_views - avg_views) / avg_views) * 100 AS percent_change,
    CASE
      WHEN today_views &lt; avg_views * 0.5 THEN 'DROP'
      WHEN today_views &gt; avg_views * 2.0 THEN 'SURGE'
      ELSE 'NORMAL'
    END AS alert_type
  FROM baseline_comparison
)
SELECT *
FROM anomaly_detection
WHERE alert_type != 'NORMAL';
</code></pre>
<p>This runs daily and alerts creators when something unusual happens—like a viral post driving 10x traffic, or a technical issue causing views to plummet.</p>
<h3>Click-Through Rate Monitoring</h3>
<pre><code class="language-sql">WITH daily_metrics AS (
  SELECT
    user_path,
    DATE(hour_timestamp) AS date,
    SUM(view_count) AS views,
    COALESCE(
      (SELECT SUM(click_count) 
       FROM analytics.link_performance lp 
       WHERE lp.user_path = ht.user_path 
         AND lp.date = DATE(ht.hour_timestamp)),
      0
    ) AS clicks
  FROM analytics.hourly_traffic ht
  WHERE hour_timestamp &gt;= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 14 DAY)
  GROUP BY user_path, date
),
ctr_analysis AS (
  SELECT
    user_path,
    AVG(SAFE_DIVIDE(clicks, views) * 100) AS avg_ctr,
    MAX(CASE WHEN date = CURRENT_DATE() 
        THEN SAFE_DIVIDE(clicks, views) * 100 
        END) AS today_ctr
  FROM daily_metrics
  WHERE views &gt; 50  -- Statistical significance threshold
  GROUP BY user_path
)
SELECT
  user_path,
  today_ctr,
  avg_ctr,
  ((today_ctr - avg_ctr) / avg_ctr) * 100 AS ctr_change_percent
FROM ctr_analysis
WHERE ABS((today_ctr - avg_ctr) / avg_ctr) &gt; 0.5  -- 50% change threshold
ORDER BY ABS((today_ctr - avg_ctr) / avg_ctr) DESC;
</code></pre>
<p><strong>Why this matters:</strong> A creator's CTR dropping 50% might indicate broken links, confusing copy, or audience mismatch. Catching this early helps creators optimize their pages before losing significant engagement.</p>
<h2>Performance Monitoring Built-In</h2>
<p>Every query logs its resource usage to help us optimize costs:</p>
<pre><code class="language-typescript">async function executeMonitoredQuery(sql: string, params: any) {
  const startTime = Date.now();
  
  const [job] = await bigquery.createQueryJob({ query: sql, params });
  const [rows] = await job.getQueryResults();
  const [metadata] = await job.getMetadata();
  
  const stats = {
    duration: Date.now() - startTime,
    bytesProcessed: metadata.statistics.totalBytesProcessed,
    bytesBilled: metadata.statistics.totalBytesBilled,
    rowsReturned: rows.length
  };
  
  // Log to monitoring service
  logger.info('BigQuery execution', {
    query: sql.substring(0, 100),
    ...stats,
    costEstimate: (stats.bytesBilled / 1e12) * 5 // $5 per TB
  });
  
  // Alert if query is expensive
  if (stats.bytesBilled &gt; 1e9) { // &gt; 1GB
    alerts.notify('Expensive query detected', stats);
  }
  
  return rows;
}
</code></pre>
<p>This gives us <strong>real-time visibility</strong> into query costs. We've optimized several queries by 90%+ just by reviewing these logs.</p>
<p>For example, we discovered that adding a date filter reduced bytes processed from 500 MB to 50 MB for a common dashboard query—saving ~$0.002 per query, which adds up to $120/month at our query volume.</p>
<h2>Parallel Execution with Graceful Degradation</h2>
<p>When loading a dashboard, we fetch <strong>all metrics in parallel</strong> with individual error handling:</p>
<pre><code class="language-typescript">async function loadDashboard(userId: string, period: string) {
  const [
    trafficData,
    topLinks,
    geoDistribution,
    deviceBreakdown,
    sessionMetrics
  ] = await Promise.allSettled([
    getTrafficTimeseries(userId, period),
    getTopPerformingLinks(userId, period),
    getGeographicDistribution(userId, period),
    getDeviceBreakdown(userId, period),
    getSessionMetrics(userId, period)
  ]);
  
  return {
    traffic: trafficData.status === 'fulfilled' ? trafficData.value : null,
    topLinks: topLinks.status === 'fulfilled' ? topLinks.value : [],
    geography: geoDistribution.status === 'fulfilled' ? geoDistribution.value : [],
    devices: deviceBreakdown.status === 'fulfilled' ? deviceBreakdown.value : [],
    sessions: sessionMetrics.status === 'fulfilled' ? sessionMetrics.value : null,
    hasErrors: [trafficData, topLinks, geoDistribution, deviceBreakdown, sessionMetrics]
      .some(r =&gt; r.status === 'rejected')
  };
}
</code></pre>
<p><strong>Each query has a fallback</strong> so one failure doesn't break the entire dashboard. If the "Geographic Distribution" query fails, we show an empty state—but traffic, clicks, and other metrics still load.</p>
<h2>Parameterized Queries for Security &amp; Performance</h2>
<p>All queries use <strong>named parameters</strong> instead of string interpolation:</p>
<pre><code class="language-typescript">const sql = `
  SELECT
    user_path,
    SUM(view_count) AS total_views
  FROM analytics.hourly_traffic
  WHERE user_path = @userId
    AND hour_timestamp &gt;= @startDate
    AND hour_timestamp &lt; @endDate
  GROUP BY user_path
`;

const results = await bigquery.query({
  query: sql,
  params: {
    userId: '/creator-username',
    startDate: '2024-01-01T00:00:00Z',
    endDate: '2024-01-31T23:59:59Z'
  }
});
</code></pre>
<p>This provides:</p>
<ul>
<li><strong>SQL injection protection</strong> (even though we're server-side)</li>
<li><strong>Better query plan caching</strong> in BigQuery (identical queries with different params reuse plans)</li>
<li><strong>Type safety</strong> for parameters</li>
<li><strong>Cleaner, more maintainable code</strong></li>
</ul>
<h2>What We Learned</h2>
<p>Building this analytics system taught us a few key lessons:</p>
<ol>
<li><p><strong>Don't reinvent event capture.</strong> Use a proven platform like PostHog, Segment, or RudderStack. Focus your energy on the analytics experience, not the infrastructure.</p>
</li>
<li><p><strong>Materialized views are a cheat code.</strong> The upfront cost of defining views pays off 100x in query performance. Start with simple aggregations and iterate based on usage.</p>
</li>
<li><p><strong>Cluster by your query patterns.</strong> Study your most common queries and cluster accordingly. Don't just cluster by date—consider user paths, categories, or other frequently-filtered dimensions.</p>
</li>
<li><p><strong>Cache aggressively, invalidate simply.</strong> TTL-based caching is good enough for 99% of analytics use cases. Don't over-engineer it with complex invalidation logic.</p>
</li>
<li><p><strong>Batch queries ruthlessly.</strong> One complex query with CTEs is almost always faster than many simple queries, especially across a network. Plus, you save on per-query overhead.</p>
</li>
<li><p><strong>Build in observability from day one.</strong> Logging bytes processed helped us optimize costs before they became a problem. Treat query performance as a first-class metric.</p>
</li>
<li><p><strong>Graceful degradation &gt; perfect data.</strong> It's better to show partial analytics than to show nothing when one query fails. Users understand temporary gaps—they don't understand blank screens.</p>
</li>
<li><p><strong>Anomaly detection adds massive value.</strong> Proactive alerts about traffic changes help users catch problems early and capitalize on viral moments. This feature gets mentioned in user feedback constantly.</p>
</li>
</ol>
<h2>The Results</h2>
<p>Today, our analytics system handles:</p>
<ul>
<li><strong>10M+ events per day</strong> ingested through PostHog</li>
<li><strong>Sub-second queries</strong> for individual creator dashboards</li>
<li><strong>2-second load times</strong> for agency dashboards aggregating 100+ creators</li>
<li><strong>99.9% uptime</strong> with automatic failover to cached data</li>
</ul>
<p>And most importantly: <strong>creators love it.</strong> They trust the data, rely on the alerts, and use insights to optimize their pages. We see 70%+ of active users checking their analytics at least weekly.</p>
<h2>Technical Architecture Summary</h2>
<p>Here's a quick reference of our stack:</p>
<ul>
<li><strong>Event Capture:</strong> PostHog (exports to BigQuery)</li>
<li><strong>Data Warehouse:</strong> Google BigQuery</li>
<li><strong>Caching:</strong> Redis</li>
<li><strong>API Layer:</strong> tRPC for type-safe endpoints</li>
<li><strong>Frontend:</strong> React + Recharts for visualizations</li>
<li><strong>Monitoring:</strong> Custom logging + CloudWatch alerts</li>
</ul>
<h2>Next Steps</h2>
<p>We're continuously improving our analytics system. On the roadmap:</p>
<ul>
<li><strong>Predictive analytics:</strong> Use historical patterns to forecast future traffic</li>
<li><strong>Cohort analysis:</strong> Track user retention and engagement over time</li>
<li><strong>Custom metrics:</strong> Let creators define their own KPIs</li>
<li><strong>Real-time streaming:</strong> Sub-minute data freshness for critical metrics</li>
<li><strong>Machine learning alerts:</strong> Smarter anomaly detection using ML models</li>
</ul>
<hr>
<p><strong>Want to see it in action?</strong> <a href="https://onlylinks.com">Sign up for OnlyLinks</a> and check out the analytics dashboard. It's fast, reliable, and built with the techniques described in this post.</p>
<p><strong>Have questions about our architecture?</strong> We love talking about analytics infrastructure. Email us @ <a href="mailto:support@onlylinks.com">support@onlylinks.com</a>.</p>
<hr>
<p><em>Written by the James Ash • Published November 2025</em></p>
]]></content:encoded>
      <category><![CDATA[Best Practices]]></category>
      <enclosure url="https://cdn.onlylinks.com/blogs/marketing-hog.jpeg" type="image/jpeg" />
    </item>
  </channel>
</rss>