SShortSingh.
Back to feed

Phone Calls Drive Leads That Web Analytics Miss; Next.js Source Tracking Fixes It

0
·29 views

A plumbing client found that most of his leads came from phone calls placed after visitors clicked a tel: link, which his Google Ads account never recorded because it only tracked form submissions. As a result, the campaigns generating calls were underfunded while form-driven campaigns received more budget. The article explains that UTM parameters and click IDs are often lost as visitors navigate or return later, and that tel: clicks happen off the web entirely. It proposes a Next.js middleware that stores first-touch campaign data in a cookie lasting ninety days, matching Google Ads' maximum conversion window. A client-side phone link component then reads this cookie on click so the call can be attributed to its source.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

DoodleAdvent: A Free, Signup-Free Collaborative Advent Calendar for Friends

A new free web tool called DoodleAdvent lets groups build a shared online advent calendar without any account creation, requiring only a shared link sent through messaging apps. Up to 24 friends can add quick holiday doodles and hidden notes behind doors that unlock at each recipient's local midnight. The builders say they stored drawings as compact vector stroke data under 2 KB per door, which lets them load quickly in mobile in-app browsers and replay each sketch stroke by stroke upon unlocking. A 12 Days of Christmas mode was added for latecomers, requiring only 4 to 12 participants to fill, and users can export share cards and calendar reminders. The project is localized into several languages and runs on Cloudflare Workers.

0
ProgrammingDEV Community ·

Translation Site Deletes 1,300 Pages and Cuts 440 Dead Links After Traffic Stalls

A developer running a small translation website reports that a strategy of publishing about 3,500 near-duplicate pages failed to generate traffic. Google Search Console showed zero clicks and only 20 indexed pages against 131 unindexed. The developer removed pages in two rounds, leaving 2,197, but deleting first left 440 broken internal links that a later audit uncovered. The fix involved updating the site generator so language switchers and hreflang tags only reference pages that actually exist. After redeployment, all sitemap URLs returned successful responses, and the developer now treats fewer, better pages as the stronger approach.

0
ProgrammingDEV Community ·

X's Account Activity API Shuts Down January 1, 2027; Developers Must Migrate to Activity API

X's Account Activity API reaches end of life on January 1, 2027, and developers still receiving webhook payloads through it need to move to the X Activity API before then. The migration involves more than a URL change, since the subscription model, payload structure, and several delivery behaviors differ. Enterprise customers can request a managed migration in which X moves existing subscriptions internally, or they can recreate subscriptions themselves through the API. In either case, the webhook consumer must be updated to parse the new payload format before cutover. Existing webhook endpoints and validation logic can remain largely unchanged because the new API uses the same V2 Webhooks API, CRC checks, and signature headers.

0
ProgrammingDEV Community ·

Our AI's test execution rate jumped from 39% to 78% overnight. Nobody celebrated.

For four weeks I handed 117 system test cases to executor AIs (three of them, in turns) and had an auditor AI and one human compare their reports against the evidence every day. This series is one real incident per week from that record. No hypotheticals. On Day 16 the test execution rate jumped from 39% to 78% overnight. That is the kind of number you want to put in a status report.