// ============================================================
// autoclient.io: BLOG (index + article pages)
// Posts are structured blocks rather than HTML strings so the
// renderer can keep typography, links and schema consistent.
// ============================================================
const { useState: useBlogState, useEffect: useBlogEffect } = React;

const BLOG_POSTS = [
  {
    slug: "how-to-rank-in-the-google-map-pack",
    title: "How to Rank in the Google Map Pack: A Local SEO Guide for Service Businesses",
    metaTitle: "How to Rank in the Google Map Pack: Local SEO Guide | autoclient",
    metaDescription: "The map pack decides who gets the call. Here is how Google picks those three businesses, and the local SEO work that actually moves you into them.",
    excerpt: "Three listings sit above the organic results, and for a service business that is where the calls come from. What Google weighs, and the work that moves you into the pack.",
    tag: "Local SEO",
    hue: "violet",
    date: "2026-11-16",
    readTime: "6 min read",
    keyword: "how to rank in the Google map pack",
    heroImage: { src: "https://images.unsplash.com/photo-1758506972063-6c469fcd7448?auto=format&fit=crop&w=1200&q=80", alt: "The brick exterior of an old bagel shop, with large hand painted signs mounted above a striped canvas awning and a clear blue sky overhead", caption: "A business people find by name, not by category" },
    body: [
      { p: "When someone searches for a plumber, a dentist, or a personal injury lawyer near them, Google answers with a map and three business listings sitting above the regular results. That block is the local pack, most people call it the map pack, and for a service business it is usually where the phone calls come from." },
      { p: "Ranking there is a different job from ranking in the blue links below it. Different signals, different work, different scoreboard. Here is how Google decides who gets those three spots and what actually moves you into them." },

      { h2: "The map pack is a separate race" },
      { p: "Classic SEO is about pages. The map pack is about a **business** (its profile, its location, its reputation) and only partly about its website. You can hold the first organic result and still be invisible in the pack above it. The two overlap, but they are scored differently, so run them as two tracks that feed each other." },

      { h2: "Google weighs three things" },
      { p: "Google has been consistent about what drives local ranking: relevance, distance, and prominence. Nearly every tactic below is a way of improving one of the three." },
      { h3: "Relevance" },
      { p: "How closely your business matches what was typed. This comes down to your Google Business Profile telling Google precisely what you do (categories, services, description) instead of leaving it to infer from your website." },
      { h3: "Distance" },
      { p: "How far you are from the searcher, or from the place they named. You cannot move your office, but you can be honest about which area you realistically compete in and stop expecting to appear across an entire metro from one address." },
      { h3: "Prominence" },
      { p: "How well known and well regarded the business is: reviews, mentions, links, the general weight of your presence. This is the signal you have the most long-term leverage over, and the one most businesses neglect." },

      { h2: "Your Business Profile is a landing page, not a directory entry" },
      { p: "Treat the profile as something you optimize, not something you filled in once and forgot." },
      { ul: [
        "**Primary category** is the highest-leverage field on the whole profile. Choose the one that most precisely describes your core service, not the broadest one available. Add secondary categories only where they genuinely apply.",
        "**Services** should be listed individually, in the words customers actually use. Each one is another thing a query can match against.",
        "**Hours** must be accurate, holidays included. Being shut when your profile says open is both a ranking problem and a reputation problem.",
        "**Photos** of the premises, the team and the work, added regularly. A profile that never changes looks dormant.",
        "**Attributes** such as wheelchair access, languages spoken, or appointment-only. These feed filters that searchers use to narrow results."
      ] },
      { callout: {
        title: "One business, one profile",
        text: "Do not create extra profiles for extra keywords or service areas. Duplicate listings get suppressed, and they can drag the real one down with them. If you genuinely run multiple staffed locations, each gets exactly one profile."
      } },

      { image: { src: "https://images.unsplash.com/photo-1760117020523-e13e613ced1c?auto=format&fit=crop&w=1200&q=80", alt: "A florist in a headscarf reaches across her stall to hand a bunch of flowers to a customer who stands with his back to the camera, beneath a lit sign reading FLORIST", caption: "Relevance begins with naming plainly what you actually sell" } },
      { h2: "Reviews are the prominence engine" },
      { p: "Review count, rating, recency and how you respond all feed prominence. A business collecting a steady trickle of recent reviews generally outperforms one that gathered fifty two years ago and stopped." },
      { ul: [
        "Ask every satisfied customer, every time, as a standard step in the job, not a campaign you remember to run each quarter.",
        "Ask quickly, while the work is still fresh. A request sent a week later converts far worse than one sent the same day.",
        "Make it one tap. A direct review link in a text message removes almost all of the friction.",
        "Respond to all of them, the bad ones especially. A calm, specific reply to a complaint does more for the next prospect reading it than ten five-star ratings."
      ] },
      { p: "Two things to avoid entirely: never screen for happy customers before asking, and never offer anything in exchange for a review. Both break Google's policies, and both are only recoverable the hard way." },

      { h2: "Make your name, address and phone agree everywhere" },
      { p: "Google cross-checks your details against other sources. When your address is formatted three different ways across directories, or an old number is still live on a listing you forgot about, that uncertainty works against you. Pick one canonical format, make the major directories match it, then hunt down duplicates of your own listing and get them removed." },
      { p: "If you use call tracking, and you should for attribution, set the tracked number as the primary on your profile and keep your real line as an additional number. That way the profile and the website still agree." },

      { h2: "Build the pages the search is actually looking for" },
      { p: "The pack is not purely profile-driven; your site still supports it. The pattern that works is a page per service and, where you genuinely serve distinct areas, a page per location, each written properly rather than spun from one template with the city name swapped." },
      { ul: [
        "Put the service and the place in the title and the H1, phrased the way a person would say it out loud.",
        "Include your full address and phone as crawlable text, not only inside an image or a third-party widget.",
        "Add LocalBusiness structured data so those details are machine-readable.",
        "Link service pages and location pages to each other so neither sits orphaned."
      ] },

      { image: { src: "https://images.unsplash.com/photo-1709056842165-20d5f72064b0?auto=format&fit=crop&w=1200&q=80", alt: "A woman walks along a sunlit city sidewalk carrying a wrapped bouquet and looking down at the phone in her hands, with shopfronts and trees receding behind her", caption: "The search that matters happens on a phone, mid errand" } },
      { h2: "Measure calls and directions, not rankings" },
      { p: "Rank-tracking a map result is unreliable by nature. It shifts with the searcher's exact position, so two people on the same street can see different packs. Track outcomes instead: calls, direction requests, messages, and profile clicks through to the site. Then how many of those became booked work." },
      { p: "That last step is the one most businesses skip, and it is the one that tells you whether local SEO is paying for itself. We go into it in [cost per lead vs cost per signed client](/blog/cost-per-lead-vs-cost-per-signed-client)." },

      { h2: "The mistakes that cost the most" },
      { ul: [
        "Stuffing keywords into the business name field. It violates policy, competitors report it easily, and the correction is brutal.",
        "Setting a service area that spans an entire region. It dilutes relevance rather than extending reach.",
        "Letting the profile sit untouched for months.",
        "Treating reviews as a vanity metric instead of a ranking input.",
        "Running local SEO with no link to the CRM, so nobody can say which jobs it produced."
      ] },
      { p: "None of this is fast. The profile work takes an afternoon; reviews, citations and pages compound over months. That is also why it holds. A position built this way is hard for a competitor to simply buy past." },
      { p: "This is the work we run for local and multi-location businesses as part of [SEO and local SEO](/services/seo), and it is the backbone of what we do for [local businesses](/industries/local-business) generally." }
    ]
  },

  {
    slug: "cost-per-lead-vs-cost-per-signed-client",
    title: "Cost Per Lead vs Cost Per Signed Client: The Number Your Agency Should Be Reporting",
    metaTitle: "Cost Per Lead vs Cost Per Signed Client | autoclient",
    metaDescription: "A falling cost per lead can hide a rising cost per client. How to measure what a signed client really costs, and what changes the moment you optimize to it.",
    excerpt: "The report says cost per lead is down 30%. The bank account disagrees. Why the cheapest leads are often the most expensive clients, and how to measure the number that matters.",
    tag: "Measurement",
    hue: "purple",
    date: "2026-11-16",
    readTime: "5 min read",
    keyword: "cost per lead vs cost per acquisition",
    heroImage: { src: "https://images.unsplash.com/photo-1681505504714-4ded1bc247e7?auto=format&fit=crop&w=1200&q=80", alt: "Two men seated at a round white table, one pointing a pen at a printed table of figures clipped inside a folder while the other follows along", caption: "A lead only counts once it reaches this table" },
    body: [
      { p: "There is a particular kind of marketing report that looks excellent and tells you nothing. Leads up, cost per lead down, graphs trending the right way. Meanwhile the business feels exactly as busy as it did last quarter, and nobody can explain the gap." },
      { p: "Almost always, the gap is that the report is measuring leads while the business is measuring clients. Those are not the same thing, and optimizing toward the first can actively damage the second." },

      { h2: "Why cost per lead flatters bad campaigns" },
      { p: "Cost per lead is easy to improve. Broaden the targeting, loosen the match types, soften the form, lead with a discount, and the number falls. You will get more submissions for less money, and a larger share of them will be people who were never going to buy." },
      { p: "The metric improves precisely because the quality dropped. Nothing in the report shows that, because the report stops at the form submission, the exact point where the expensive part of your business begins." },

      { h2: "The arithmetic, with numbers" },
      { p: "Take two channels. The figures here are illustrative, chosen to make the shape of the problem obvious:" },
      { table: {
        head: ["", "Channel A", "Channel B"],
        rows: [
          ["Cost per lead", "$80", "$160"],
          ["Leads per month", "100", "50"],
          ["Monthly spend", "$8,000", "$8,000"],
          ["Lead-to-client rate", "10%", "35%"],
          ["Clients won", "10", "17.5"],
          ["**Cost per signed client**", "**$800**", "**$457**"]
        ]
      } },
      { p: "On cost per lead, Channel A wins by a mile and it is not close. On cost per signed client, Channel B produces nearly twice the business for the same spend. If your reporting stops at the first row, you will keep funding A and quietly starve B, and every month the report will look like progress." },
      { p: "Real accounts are messier than this, but the shape repeats constantly. The cheapest leads are routinely the most expensive clients." },

      { image: { src: "https://images.unsplash.com/photo-1565688534245-05d6b5be184a?auto=format&fit=crop&w=1200&q=80", alt: "Three colleagues leaning over printed pages spread across a light wood table, one lifting a sheet and another holding an orange pen above a printed table", caption: "Pipeline review is where lead quality finally shows itself" } },
      { h2: "What you need in place to measure it" },
      { p: "Cost per signed client is not harder to calculate than cost per lead. It is just harder to **instrument**, because it requires the ad platform and the CRM to be talking to each other." },
      { h3: "1. A CRM with honest stages" },
      { p: "You need to know, per lead, whether it became a consultation, a proposal, a signed client. If your pipeline stages are decorative or updated sporadically, fix that before anything else. Every number downstream inherits that accuracy." },
      { h3: "2. Source captured on every lead" },
      { p: "Channel, campaign and keyword where available, attached to the record automatically at creation. Anything a human types in later will be wrong often enough to be useless." },
      { h3: "3. Call tracking, because the phone is not optional" },
      { p: "For most service businesses a large share of leads arrive as calls. If calls are not tracked back to a source, you are measuring the subset of your pipeline that happens to prefer forms, and drawing conclusions about all of it." },
      { h3: "4. Conversions pushed back to the ad platform" },
      { p: "This is the step that changes outcomes rather than just reporting. When you import offline conversions (the signed client, with its real value) back into Google or Meta, the platform's bidding stops optimizing toward form fills and starts optimizing toward the people who resemble your actual clients. You are no longer only reading better data; the algorithm is now buying against it." },

      { h2: "What changes when you optimize to signed clients" },
      { p: "Expect the dashboard to get worse before the business gets better. That is the correct direction of travel." },
      { ul: [
        "**Cost per lead usually rises.** You are paying more for people who are likelier to buy. This is the point, and it has to be explained before it happens, not after.",
        "**Volume often falls.** Fewer, better conversations. Sales teams notice this before any report does.",
        "**Budget moves** toward channels that looked mediocre on CPL and excellent on revenue. Branded search, retargeting and high-intent long-tail terms tend to win here.",
        "**Keywords you would have cut** turn out to be the profitable ones, and the cheap top-of-funnel terms get trimmed."
      ] },

      { h2: "Questions worth asking whoever runs your ads" },
      { p: "You do not need to run the account to audit the thinking behind it. These five questions will tell you most of what you need to know:" },
      { ol: [
        "What does a signed client cost us, by channel, over the last ninety days?",
        "How do leads get attributed to a source, and what proportion arrive with no source at all?",
        "Are phone calls tracked back to campaign, or only form submissions?",
        "Do we send conversions back to the ad platforms, and which event are they bidding toward?",
        "Which channel has the best cost per lead, and which has the best cost per client, and if those are different channels, what are we doing about it?"
      ] },
      { p: "If the answer to the last one is a pause, the reporting is measuring the wrong end of the funnel." },

      { image: { src: "https://images.unsplash.com/photo-1603796846097-bee99e4a601f?auto=format&fit=crop&w=1200&q=80", alt: "A woman in an orange blouse signing a printed form with a ballpoint pen at a dark polished wood table while a second person steadies the pages beside her", caption: "The signature is the only conversion a business actually banks" } },
      { h2: "The honest caveat" },
      { p: "Longer sales cycles make this harder. If it takes ninety days to sign a client, you cannot wait ninety days to make a bidding decision. The practical answer is to optimize toward the furthest-down-funnel event that happens quickly enough to be useful (a qualified consultation, say) while still reporting on signed clients monthly. Close the loop where you can and be clear about where you are estimating." },
      { p: "This is how we scope and report every engagement, whether that is [Google Ads](/services/google-ads), [lead generation](/services/lead-generation), or the whole channel mix. The numbers behind a few of them are in our [case studies](/case-studies)." }
    ]
  },

  {
    slug: "email-flows-every-service-business-needs",
    title: "The Email Flows Every Service Business Should Have Running",
    metaTitle: "5 Email Automation Flows Every Service Business Needs | autoclient",
    metaDescription: "Broadcasts go out when you remember. Flows run whether you do or not. The five automated email sequences that do the most work for service businesses.",
    excerpt: "Most businesses send campaigns and call it email marketing. The revenue is in the flows that run on their own. Here are the five worth building first.",
    tag: "Email & SMS",
    hue: "coral",
    date: "2026-11-16",
    readTime: "5 min read",
    keyword: "email automation flows for service businesses",
    heroImage: { src: "https://images.unsplash.com/photo-1666039339777-938e1bf97e27?auto=format&fit=crop&w=1200&q=80", alt: "A bearded man in a tan coat sits alone at a dark wooden cafe table, head down, reading something on his phone, seen through the window glass.", caption: "The flow fires the moment someone enquires, wherever they happen to be." },
    body: [
      { p: "Most businesses that say they do email marketing mean campaigns: a newsletter when there is news, a promotion when things are quiet. Campaigns are fine. They are also the smaller half of the opportunity, because they only go out when somebody remembers to send one." },
      { p: "Flows are the other half. A flow is triggered by something a person does (enquiring, booking, buying, going quiet) and it runs whether anyone is paying attention or not. Set up properly, flows do the majority of the work while taking the least ongoing effort." },

      { h2: "Why flows beat broadcasts" },
      { p: "Three reasons, in order of importance. They reach people at the moment of intent rather than on your publishing schedule. They are relevant by construction, because the trigger tells you exactly where the person is. And they compound: a flow you build once keeps running next quarter, unlike a campaign that is spent the day it sends." },

      { h2: "The five flows worth building first" },
      { h3: "1. Speed to lead" },
      { p: "An automated reply the instant an enquiry comes in, not an hour later, not the next morning. It should confirm you have the enquiry, say exactly when a human will respond, and give one easy way to go faster, usually a booking link." },
      { p: "This is the highest-value flow for most service businesses and the most commonly missing one. Enquiry interest decays quickly, and the business that replies first is frequently the one that wins the work, regardless of who was the better choice." },
      { h3: "2. The nurture for people who are not ready" },
      { p: "Most enquiries are not going to buy this week. Without a nurture they fall out of the pipeline permanently; with one they stay in contact until their timing changes." },
      { p: "Keep it useful rather than promotional. Answer the questions people ask before committing: what it costs, what the process looks like, what goes wrong and how you handle it. Four to six emails spread over a few weeks does more than twenty chasing ones." },
      { h3: "3. Appointment confirmation and reminders" },
      { p: "Unglamorous, and probably the fastest return on the list. A confirmation on booking, a reminder the day before, and one on the morning itself will measurably reduce no-shows." },
      { p: "Include everything needed to actually turn up (address, parking, what to bring, who to ask for) and a one-tap way to reschedule. A rescheduled appointment is worth far more than a silent no-show." },
      { h3: "4. After the appointment or purchase" },
      { p: "The window right after good work is the most valuable and least used moment you have. One message that thanks them, sets expectations for what comes next, and asks for a review while the experience is fresh." },
      { p: "This flow quietly powers your local search presence too, since review recency and velocity feed it. We covered why that matters in [how to rank in the Google map pack](/blog/how-to-rank-in-the-google-map-pack)." },
      { h3: "5. Reactivation" },
      { p: "Past customers are the cheapest pipeline you own and the most frequently ignored. A flow that triggers after a sensible period of silence (the gap depends entirely on your business) and simply checks in will reliably outperform the cost of acquiring a stranger." },

      { callout: {
        title: "Build them in this order",
        text: "Speed to lead first, because it protects demand you have already paid for. Reminders second, because no-shows are pure loss. Then nurture, post-appointment, and reactivation. Resist building all five at once. A working flow beats four half-configured ones."
      } },

      { image: { src: "https://images.unsplash.com/photo-1759143545924-beb85b33c0f1?auto=format&fit=crop&w=1200&q=80", alt: "A woman stands at a wooden reception counter with her back to the camera, tapping a tablet propped on the counter while a waiting area and glass front door sit behind her.", caption: "Reminders and confirmations should go out without anyone at the desk remembering." } },
      { h2: "Deliverability decides whether any of it matters" },
      { p: "None of the above works if the messages land in spam. The fundamentals are not optional:" },
      { ul: [
        "**Authenticate your domain** with SPF, DKIM and DMARC. Mailbox providers now treat this as table stakes, and bulk senders are held to it explicitly.",
        "**Send from your own domain**, not a free mailbox address.",
        "**Warm up gradually** if the domain is new or has been dormant. Volume spikes read as spam.",
        "**Clean the list.** Remove hard bounces immediately and suppress people who have not opened anything in a long time. A smaller engaged list outperforms a big stale one, and protects the sender reputation the engaged half depends on.",
        "**Make unsubscribing trivial.** People who cannot find the unsubscribe link press the spam button instead, and that costs you far more."
      ] },

      { h2: "Measure revenue, not opens" },
      { p: "Open rates have been unreliable since Apple's Mail Privacy Protection began pre-loading images, which registers opens that never happened. Treat them as a loose directional signal between similar sends and nothing more." },
      { p: "The numbers worth reporting are revenue per recipient, flow-attributed revenue, and conversion to the action the flow exists to drive: booking, reply, review, repeat purchase. If a flow cannot be tied to one of those, it probably should not be running." },

      { image: { src: "https://images.unsplash.com/photo-1435527173128-983b87201f4d?auto=format&fit=crop&w=1200&q=80", alt: "An open paper monthly planner lies on a wooden desk, several date squares filled with handwritten notes, with loose paperwork stacked behind it.", caption: "No-shows are pure loss, and a reminder is the cheapest fix." } },
      { h2: "Pair it with SMS, carefully" },
      { p: "SMS does some of these jobs better than email, reminders especially, because it gets read within minutes. It also carries real compliance weight. Get explicit opt-in, honour STOP and HELP, identify yourself in the message, and keep consent records." },
      { p: "One rule worth stating plainly: consent to marketing messages should not be a condition of doing business with you. Make the opt-in a genuine choice, keep it separate from your terms acceptance, and your programme stays defensible." },
      { p: "If you want these built and wired into your CRM rather than bolted on, that is [email and SMS marketing](/services/email-marketing) and [automation](/services/automation), and it is the work behind the campaigns in our portfolio." }
    ]
  },
  {
    slug: "google-ads-clicks-but-no-conversions",
    title: "Google Ads Clicks But No Conversions: How to Find the Leak",
    metaTitle: "Google Ads Clicks But No Conversions: 5 Checks | autoclient",
    metaDescription: "A Google Ads account getting clicks but no conversions is a tracking question before it is a settings question. Five checks, in the order that saves weeks.",
    excerpt: "An empty conversion column usually means the leads are arriving and the account cannot see them. Five checks, in the order that stops you fixing what was never broken.",
    tag: "Paid Search",
    hue: "mix",
    date: "2026-11-16",
    readTime: "7 min read",
    keyword: "google ads getting clicks but no conversions",
    heroImage: { src: "https://images.unsplash.com/photo-1663767117072-a97deef95956?auto=format&fit=crop&w=1200&q=80", alt: "A woman in a cream blazer sits at a small wooden desk with a phone held to her ear and an open laptop beside her, a marble fireplace behind her.", caption: "The lead arrived. Whether anyone picks up decides everything after." },
    body: [
      { p: "A Google Ads account has been spending for three months. Clicks look healthy. The conversion column sits at zero." },
      { p: "The usual next move is to open the settings and start changing things: bids, match types, locations, devices. Rule out two other failures first. Neither is a settings problem." },
      { h2: "Why Google Ads gets clicks but no conversions" },
      { p: "Two complaints hide behind that column, and only one of them can produce an empty one." },
      { p: "A measurement failure means the leads exist and the account cannot see them. They arrive by phone, by form, by text, and none of it reaches the conversion column. On smart bidding that degrades the campaign too, because the platform bids toward what it can see. On manual CPC it is unmeasurable rather than damaged." },
      { p: "A response failure is the other one. If the form submission is tracked, a lead left unanswered until Thursday still records as a conversion on Tuesday. The ad account looks fine. The loss lands downstream, as enquiries that never became clients." },
      { p: "So an empty column points at measurement. Slow follow-up cannot produce one." },
      { h2: "The five checks, in order" },
      { p: "The sequence runs from the checks that cost nothing to the ones that cost a day. Each rules something out, which stops six weeks spent rewriting ad copy that was never the problem." },
      { h3: "1. Prove the conversion action is recording" },
      { p: "Open the conversions list and read the Status column against each action. It either says the action is recording conversions or tells you it is not: no recent conversions, inactive, unverified. The wording moves as the interface changes, so cross-check against the conversion count over a long date range. If nothing has been recorded in months, stop." },
      { p: "Then check what it counts. A conversion firing on a button click counts everyone who clicked, including the people whose form failed validation and gave up. You want a confirmed success signal from the form. A thank-you page URL is the simplest version. Embedded schedulers, booking widgets and single-page forms often never load one, so there the right setup is a validated form-success event, not a page view and not an invented thank-you page." },
      { p: "Calls are the other half. Calls from a call asset or a call-only ad are recorded without anything on your site. Calls to the number printed on your landing page are not: those need the dynamic number snippet doing the swap. Set the minimum call length deliberately, because too short counts wrong numbers and hangups as wins and too long discards real enquiries. The phone stays invisible until this is right, which is why call tracking belongs with [lead generation](/services/lead-generation) and not with reporting." },
      { h3: "2. Read the search terms report and accept what you bought" },
      { p: "Sort by cost and read the queries people typed, not your keyword list. Two limits first: Google withholds terms below its privacy threshold, so the report never sums to campaign cost, and search terms data has retention limits, so an older campaign may not be readable end to end." },
      { p: "Broad match buys adjacent intent, and adjacent is doing a lot of work in that sentence. A broad campaign on accident lawyer can pick up salary research, job applications, other states and students writing essays. [Law firms](/industries/law-firms) get the worst of it, because the commercial and informational terms share a vocabulary." },
      { ul: [
        "**Job and salary queries.** Somebody searching what a paralegal earns is not hiring a firm.",
        "**Research phrasing.** What is, how to, meaning and template queries spend steadily and convert rarely.",
        "**Free and cheap modifiers**, unless a free consultation is the offer you want to run.",
        "**Places outside your service area**, which surface here before anyone re-checks the location settings.",
      ] },
      { p: "Read the report weekly for the first month, then monthly, and keep adding." },
      { image: { src: "https://images.unsplash.com/photo-1653566031587-114b636e182b?auto=format&fit=crop&w=1200&q=80", alt: "A seated man in a pink shirt squints at a laptop screen held open by a colleague standing beside him in a bright office with a large plant.", caption: "Two people, one screen, and an argument about what it says." } },
      { h3: "3. Check that the keyword, the ad and the page agree" },
      { p: "Take your five most expensive keywords. For each, write down what the searcher asked for, what the ad promised, and what the page offers. If those three differ, the click was never going to convert." },
      { p: "The common failure is a keyword for one service pointing at the homepage. Somebody searching for a dental implant consultation lands on a page about the practice and six other treatments. [Medical and dental practices](/industries/medical) hit this whenever the site is built around the practice and the search is about one procedure." },
      { p: "The fix is unglamorous. A page per offer, the search phrase in the headline, one action, and the proof beside the form." },
      { h3: "4. Look at what the form demands before it has earned it" },
      { p: "Count the required fields, then ask what each is for. Type matters more than count: a qualifying dropdown does not cost what a home address or a case description costs. Ask for the minimum a human needs to make contact. If sales needs detail up front, put it on a second step, so a drop-off still leaves you a lead." },
      { p: "One exception, and it is not negotiable. The consent language, the checkbox and the timestamped record of both stay where they are. That record is what makes a follow-up call or text defensible, and it is the first thing we look for before building anything in [email and SMS](/services/email-marketing)." },
      { h3: "5. Find out what happens after the submission" },
      { p: "Submit the form yourself, from a phone, on mobile data, outside office hours. Log the test and exclude your own IP, because on a thin account a few test submissions distort the data you are reading." },
      { p: "Then time the reply. This is the check nobody runs, because a slow response looks fine in the ad account and terrible in the bank account. The conversion was recorded. The enquiry still went to whoever called back first." },
      { p: "Confirm too that the notification email arrives, is not in a spam folder, and reaches somebody on duty. Notifications sent from the visitor's address through the site's own mailer fail authentication and get dropped, and nothing tells you when that happens. Routing enquiries to somebody who answers them is [automation](/services/automation) work, not an inbox rule." },
      { image: { src: "https://images.unsplash.com/photo-1711397817812-f65474247a19?auto=format&fit=crop&w=1200&q=80", alt: "A patient holds up a phone to pay at a dental clinic front counter while a staff member in scrubs reaches across with a card reader.", caption: "A booked, paid appointment is the business event. A click is not." } },
      { h2: "What a tracking failure hides" },
      { p: "A site migration is a common way to lose tracking, and it is quiet: the tag survives the rebuild and the thank-you page URL does not." },
      { p: "Here is the shape of that, with illustrative figures chosen to make it obvious:" },
      { table: {
        head: ["", "In the ad account", "In reality"],
        rows: [
          ["Monthly spend", "$2,000", "$2,000"],
          ["Clicks", "500", "500"],
          ["Form enquiries", "3", "18"],
          ["Calls over sixty seconds", "not tracked", "11"],
          ["**Cost per enquiry**", "**$667**", "**$69**"],
        ]
      } },
      { p: "An account reading like the left column gets paused at the next review. Nothing changed except what was recorded. Once an account can see its enquiries, the next question is which ones are worth having, which we go into in [cost per lead vs cost per signed client](/blog/cost-per-lead-vs-cost-per-signed-client)." },
      { h2: "Sensitive intake: healthcare and legal" },
      { p: "Appointment requests and case intake forms carry health detail and privileged detail. Passing personally identifiable information to Google is against Google Ads policy, and thank-you page URLs often carry form field values in query parameters, straight into the conversion payload. Strip those values out. Never pass a name, email, phone number, condition or case description into a conversion payload or a URL parameter. For a healthcare client, confirm the configuration against the practice's own HIPAA review before it goes live." },
      { h2: "When low volume breaks this order" },
      { p: "A campaign producing a handful of clicks a day will not give you a search terms report worth reading, and the privacy threshold hides most of the little there is. Widening the date range is where that withholding bites hardest." },
      { p: "Run check one anyway: verifying the conversion action needs no volume. Build negatives from your own keyword list up front instead of waiting for terms that will never surface. Then judge the campaign on enquiries that arrived by any route, counted by hand if necessary. Counting by hand is not elegant. It beats guessing." },
      { p: "If you would rather hand the diagnostic over, that is how we open every [Google Ads](/services/google-ads) engagement, with tracking and follow-up built in rather than bolted on. The [first call with us](/contact) is mostly us asking what the account already records." },
    ]
  },
  {
    slug: "meta-ads-campaign-structure",
    title: "Meta Ads Campaign Structure: How Many Campaigns, Ad Sets and Creatives You Actually Need",
    metaTitle: "Meta Ads Campaign Structure: Fewer Ad Sets | autoclient",
    metaDescription: "Splitting budget across more ad sets feels like control. Why your Meta ads campaign structure is a constraint, not a growth lever, and what actually scales.",
    excerpt: "More ad sets feel like control, and every one of them ends up starved of signal. Structure is a constraint, not a lever. The thing that scales is creative volume.",
    tag: "Paid Social",
    hue: "pink",
    date: "2026-11-16",
    readTime: "7 min read",
    keyword: "meta ads campaign structure",
    heroImage: { src: "https://images.unsplash.com/photo-1632187981988-40f3cbaeef5e?auto=format&fit=crop&w=1200&q=80", alt: "A production crew at work in a brick warehouse, with a camera operator holding a rig in the foreground and a man sitting on a stool under a large light panel.", caption: "Volume of ideas, not tidier settings, is the real cost." },
    body: [
      { p: "A Meta account that has stopped working usually looks busy. Nine ad sets, each on its own small daily budget, several dropping back into learning whenever somebody makes a significant edit: new creative, a new optimization event, a reworked audience." },
      { p: "On paper that is control. In practice nothing in it spends enough to tell you anything. Meta ads campaign structure is worth getting right because it protects **signal**. It does not create demand." },
      { h2: "Meta ads campaign structure is a constraint, not a lever" },
      { p: "A restructure usually produces a short lift and then the same plateau. You removed friction that was there, then ran out of friction to remove. The audience is still seeing the same four ads it has seen for two months." },
      { h2: "Thin budgets starve the learning phase" },
      { p: "Meta learns per ad set. Every ad set is a separate problem the system solves from scratch, using the conversions that ad set produces. Meta's own guidance has long put the bar at roughly fifty optimization events in a week." },
      { p: "Below that, delivery stays unstable and costs stay high. Split a budget six ways and every split has to clear the bar alone. The figures below are illustrative. They hold cost per purchase flat across all three columns, which is generous to the six-way split: in practice the thin ad sets would cost more per purchase too." },
      { table: {
        head: ["", "Six ad sets", "Two ad sets", "One ad set"],
        rows: [
          ["Daily budget, account", "$300", "$300", "$300"],
          ["Daily budget per ad set", "$50", "$150", "$300"],
          ["Assumed cost per purchase", "$25", "$25", "$25"],
          ["Purchases per ad set, per week", "14", "42", "84"],
        ]
      } },
      { p: "Only the right-hand column clears the bar. The six-way split is not six experiments. It is six ad sets living permanently in learning, reporting numbers too thin to act on." },
      { image: { src: "https://images.unsplash.com/photo-1677938778259-4434874390f5?auto=format&fit=crop&w=1200&q=80", alt: "A camera operator films a chef working behind a restaurant counter, the chef visible on the camera's monitor.", caption: "One session on site can supply a month of ads." } },
      { h2: "Consolidate until each ad set can learn" },
      { p: "The short answer. One campaign per conversion event, two or three live campaigns, and as few ad sets as your budget and reporting can justify, which at a few hundred dollars a day usually means one prospecting and one retargeting. Then six to eight genuinely different ideas a month on the creative side. Budget and conversion volume buy the right to split further." },
      { h3: "1. One campaign per conversion event" },
      { p: "Campaigns hold the objective. The budget sits at the ad set level unless you switch on Advantage+ campaign budget, which moves it up to the campaign and lets Meta distribute it across the ad sets underneath. For an [ecommerce brand](/industries/ecommerce) two or three live campaigns usually cover it: one prospecting, one retargeting, and occasionally one promotion with its own end date." },
      { h3: "2. Where Advantage+ fits" },
      { p: "For many ecommerce accounts the Advantage+ sales campaign is now the sensible default. You give it the conversion event, the budget and the creative, and it handles audience selection, which removes most of the decisions below. A manual ad set still earns its place where you need a market with its own budget and margin, or a pool reported separately. Otherwise use the consolidated flow." },
      { h3: "3. Ad sets only where the difference changes the money" },
      { p: "Split an ad set when the thing being separated needs its own budget or its own measurement. Do not split by age bracket, interest, or gender out of habit. If you cannot say what you would do differently with the result, that split costs you signal and buys nothing." },
      { p: "Some of this is not your choice. In Meta's Special Ad Categories, which cover credit, employment, housing, social issues and politics, Meta removes the age and gender controls and restricts detailed targeting and lookalike audiences for you. Declaring the category is mandatory, and getting it wrong gets ads rejected. For a [law firm](/industries/law-firms) doing employment or housing work that is not a corner case, and it makes consolidation easier rather than harder." },
      { h3: "4. Overlap and exclusions" },
      { p: "Broad audiences nest. An interest audience, a lookalike and a broad prospecting ad set will all contain many of the same people. Meta serves one of your ads per impression, so they are not bidding each other up. They do split those conversions across three learning problems and three unreadable rows. The fix is almost never another exclusion. It is fewer ad sets." },
      { p: "Exclude recent purchasers from prospecting, and your retargeting pool where it would otherwise double-serve. Past that, every exclusion narrows the pool, and narrow pools exhaust faster. For [medical and dental practices](/industries/medical) and other regulated advertisers, building audiences from site or patient activity needs its own compliance review first." },
      { p: "The fifty-event bar is per ad set, and a retargeting ad set on a small pool will often sit under it whatever you do. Keep it as one ad set and judge it on the account total. Fewer ad sets, each fed enough to learn, is the first thing we change on a [Meta ads](/services/meta-ads) account." },
      { h2: "Creative is where the remaining upside is" },
      { p: "Once the structure is clean it stops being the thing that moves the number. The only variable left is what the audience sees, and a well-fed ad set cannot find people for an idea nobody has made yet." },
      { p: "The work does not disappear when five ad sets become one, it moves. What you used to adjust was targeting. What you adjust now is how many genuinely different ideas you put in front of the same pool. Different means a different argument, not different wording." },
      { ul: [
        "**Different claim.** Speed, price, durability and status are separate arguments, not rewordings of one.",
        "**Different format.** A static image, a founder to camera, a demonstration and a customer review behave differently on the same claim.",
        "**Different hook.** The opening decides whether the rest gets watched, and it can be swapped without rebuilding the asset.",
        "**Different objection.** Shipping and sizing for a store. Consultation cost and whether the case is worth taking for a service business. Each one is its own ad.",
      ] },
      { p: "Four color variants of one image is one idea. Four ads built from that list is four. The same logic governs [TikTok ads](/services/tiktok-ads) and [Instagram ads](/services/instagram-ads), where formats burn through an audience faster." },
      { h2: "When an ad is actually spent" },
      { p: "Nothing fatigues on a schedule. An idea wears out when the audience has seen it often enough to stop responding, so the question is not how old the ad is. It is whether frequency is climbing while cost per result climbs with it." },
      { h2: "Measure a consolidation at the account level" },
      { p: "Judge a consolidation on the account, not the row. Moving budget around makes individual ad sets look better or worse for reasons unrelated to performance, so the honest comparison is total spend against total return over a full period. For [lead generation](/services/lead-generation) that chain runs to the signed client or the booked patient, which we cover in [cost per lead vs cost per signed client](/blog/cost-per-lead-vs-cost-per-signed-client)." },
      { h2: "How to keep eight new ideas a month affordable" },
      { p: "Eight genuinely different ideas a month costs more than two, and you are funding a portfolio rather than one execution. So lower the cost per idea instead of making fewer: shoot several concepts in one session, cut multiple hooks from the same footage, and take the scripts from your reviews and support tickets." },
      { image: { src: "https://images.unsplash.com/photo-1613759612065-d5971d32ca49?auto=format&fit=crop&w=1200&q=80", alt: "Two people blurred by movement stand in front of a white wall covered in rows of printed photographs and logo variations.", caption: "Ten real ideas beat forty crops of the same one." } },
      { p: "What you want is a steady, slightly boring supply judged on the account total, not a quarterly campaign." },
      { p: "The structure takes an afternoon. The supply is the part you keep doing, and it is most of the real work on the [paid social](/services/paid-social) accounts we run. A few of the numbers are in our [case studies](/case-studies)." },
    ]
  }
];

const BLOG_BY_SLUG = Object.fromEntries(BLOG_POSTS.map((p) => [p.slug, p]));

/* ---------- inline markup: **bold** and [label](/path) ---------- */
function blInline(text, key) {
  const out = [];
  const re = /(\*\*[^*]+\*\*|\[[^\]]+\]\([^)]+\))/g;
  let last = 0, m, i = 0;
  while ((m = re.exec(text)) !== null) {
    if (m.index > last) out.push(text.slice(last, m.index));
    const tok = m[0];
    if (tok.indexOf("**") === 0) {
      out.push(<strong key={key + "b" + i} style={{ fontWeight: 600, color: "var(--fg-on-dark-1)" }}>{tok.slice(2, -2)}</strong>);
    } else {
      const mm = tok.match(/^\[([^\]]+)\]\(([^)]+)\)$/);
      const ext = /^https?:/.test(mm[2]);
      out.push(
        <a key={key + "a" + i} href={mm[2]} className="bl-link"
           target={ext ? "_blank" : undefined} rel={ext ? "noopener noreferrer" : undefined}>{mm[1]}</a>
      );
    }
    last = m.index + tok.length; i++;
  }
  if (last < text.length) out.push(text.slice(last));
  return out;
}

function blBlocks(body) {
  return body.map((b, i) => {
    const k = "b" + i;
    if (b.h2) return <h2 key={k} className="bl-h2">{b.h2}</h2>;
    if (b.h3) return <h3 key={k} className="bl-h3">{b.h3}</h3>;
    if (b.p) return <p key={k} className="bl-p">{blInline(b.p, k)}</p>;
    if (b.ul) return <ul key={k} className="bl-list">{b.ul.map((li, j) => <li key={j}>{blInline(li, k + "i" + j)}</li>)}</ul>;
    if (b.ol) return <ol key={k} className="bl-list bl-list-num">{b.ol.map((li, j) => <li key={j}>{blInline(li, k + "i" + j)}</li>)}</ol>;
    if (b.callout) return (
      <aside key={k} className="bl-callout">
        <div className="bl-callout-title">{b.callout.title}</div>
        <p className="bl-callout-text">{blInline(b.callout.text, k)}</p>
      </aside>
    );
    if (b.image) return (
      <figure key={k} className="bl-figure">
        <img src={b.image.src} alt={b.image.alt} loading="lazy" decoding="async" />
        {b.image.caption ? <figcaption>{b.image.caption}</figcaption> : null}
      </figure>
    );
    if (b.table) return (
      <div key={k} className="bl-table-wrap">
        <table className="bl-table">
          <thead><tr>{b.table.head.map((h, j) => <th key={j}>{blInline(h, k + "h" + j)}</th>)}</tr></thead>
          <tbody>
            {b.table.rows.map((row, j) => (
              <tr key={j}>{row.map((cell, c) => c === 0
                ? <th key={c} scope="row">{blInline(cell, k + "r" + j + "c" + c)}</th>
                : <td key={c}>{blInline(cell, k + "r" + j + "c" + c)}</td>)}</tr>
            ))}
          </tbody>
        </table>
      </div>
    );
    return null;
  });
}

function blFormatDate(iso) {
  const [y, m, d] = iso.split("-").map(Number);
  const months = ["January", "February", "March", "April", "May", "June",
                  "July", "August", "September", "October", "November", "December"];
  return months[m - 1] + " " + d + ", " + y;
}

/* ---------- index ---------- */
function BlogListCard({ p, i }) {
  const [hover, setHover] = useBlogState(false);
  return (
    <a href={"/blog/" + p.slug} className="card reveal" data-delay={(i % 3) * 70}
       onMouseEnter={() => setHover(true)} onMouseLeave={() => setHover(false)}
       style={{ display: "flex", flexDirection: "column", overflow: "hidden",
                borderColor: hover ? "var(--line-strong-dark)" : "var(--line-on-dark)",
                transform: hover ? "translateY(-4px)" : "none",
                boxShadow: hover ? "var(--shadow-glow)" : "none" }}>
      <div style={{ height: 6, background: HUES[p.hue] || HUES.mix }} />
      {p.heroImage ? <img className="bl-card-img" src={p.heroImage.src} alt={p.heroImage.alt} loading="lazy" decoding="async" /> : null}
      <div style={{ padding: "26px 28px 30px", display: "flex", flexDirection: "column", flex: 1 }}>
        <span className="overline" style={{ color: "var(--auto-violet)" }}>{p.tag}</span>
        <h2 style={{ fontWeight: 500, fontSize: 20, lineHeight: 1.3, letterSpacing: "-0.01em", margin: "12px 0 10px" }}>{p.title}</h2>
        <p style={{ fontSize: 14.5, lineHeight: 1.6, color: "var(--fg-on-dark-2)", margin: "0 0 20px", flex: 1 }}>{p.excerpt}</p>
        <span style={{ fontSize: 12.5, color: "var(--fg-on-dark-3)" }}>{blFormatDate(p.date)} &middot; {p.readTime}</span>
      </div>
    </a>
  );
}

function BlogIndexPage() {
  useReveal();
  useBlogEffect(() => {
    setPageSeo({
      title: "Blog | Marketing, SEO & Automation Insights | autoclient",
      description: "Practical guides on paid media, local SEO, email automation and measurement from the team that runs them for service businesses and ecommerce brands.",
      path: "/blog",
      jsonLd: {
        "@context": "https://schema.org",
        "@type": "Blog",
        name: "autoclient blog",
        url: "https://www.autoclient.io/blog",
        description: "Practical guides on paid media, local SEO, email automation and measurement.",
        publisher: { "@type": "Organization", name: "autoclient", url: "https://www.autoclient.io" },
        blogPost: BLOG_POSTS.map((p) => ({
          "@type": "BlogPosting",
          headline: p.title,
          url: "https://www.autoclient.io/blog/" + p.slug,
          datePublished: p.date,
          description: p.metaDescription
        }))
      }
    });
  }, []);

  return (
    <main>
      <section style={{ position: "relative", overflow: "hidden", padding: "150px 0 56px" }}>
        <Aura color="#8784FD" size={560} top={-220} left={"28%"} opacity={0.36} drift={1} />
        <Aura color="#FF6666" size={420} top={-20} right={-160} opacity={0.24} drift={2} />
        <div className="wrap" style={{ position: "relative", zIndex: 1, maxWidth: 900 }}>
          <span className="overline-grad fade-up">Blog</span>
          <h1 className="fade-up" style={{ fontWeight: 300, fontSize: "clamp(2.4rem,4.6vw,3.9rem)", lineHeight: 1.06, letterSpacing: "-0.03em", margin: "20px 0 0" }}>
            What we have learned <span className="gt" style={{ fontWeight: 300 }}>running the work.</span>
          </h1>
          <p className="fade-up" style={{ fontSize: 18, lineHeight: 1.65, color: "var(--fg-on-dark-2)", maxWidth: 620, margin: "24px 0 0" }}>
            Practical notes on paid media, local SEO, email automation and measuring what actually produces clients. No theory we have not shipped.
          </p>
        </div>
      </section>

      <section style={{ paddingBottom: 96 }}>
        <div className="wrap-wide">
          <div className="grid-3" style={{ display: "grid", gridTemplateColumns: "repeat(3,1fr)", gap: 20, alignItems: "stretch" }}>
            {BLOG_POSTS.map((p, i) => <BlogListCard key={p.slug} p={p} i={i} />)}
          </div>
        </div>
      </section>

      <CtaBanner title="Want this run for you?" sub="Tell us where you want to grow and we will send back a channel-by-channel plan, free." primary="Book a Call" small />
    </main>
  );
}

/* ---------- article ---------- */
function blogSlugFromPath() {
  const m = (window.location.pathname || "").match(/\/blog\/([^/?#]+)/);
  return m ? m[1] : null;
}

function BlogPostPage() {
  useReveal();
  const post = BLOG_BY_SLUG[blogSlugFromPath()];

  useBlogEffect(() => {
    if (!post) {
      setPageSeo({ title: "Article not found | autoclient", description: "That article does not exist.", path: "/blog" });
      return;
    }
    const url = "https://www.autoclient.io/blog/" + post.slug;
    setPageSeo({
      title: post.metaTitle,
      description: post.metaDescription,
      path: "/blog/" + post.slug,
      type: "article",
      image: post.heroImage ? post.heroImage.src : null,
      jsonLd: {
        "@context": "https://schema.org",
        "@type": "BlogPosting",
        headline: post.title,
        description: post.metaDescription,
        datePublished: post.date,
        dateModified: post.date,
        author: { "@type": "Organization", name: "autoclient", url: "https://www.autoclient.io" },
        publisher: {
          "@type": "Organization",
          name: "autoclient",
          url: "https://www.autoclient.io",
          logo: { "@type": "ImageObject", url: "https://www.autoclient.io/assets/autoclient-logo.png" }
        },
        mainEntityOfPage: { "@type": "WebPage", "@id": url },
        url: url,
        articleSection: post.tag,
        image: post.heroImage ? [post.heroImage.src] : undefined,
        keywords: post.keyword
      }
    });
  }, [post && post.slug]);

  if (!post) {
    return (
      <main>
        <section style={{ padding: "200px 0 120px", textAlign: "center" }}>
          <div className="wrap">
            <h1 style={{ fontWeight: 300, fontSize: "clamp(2rem,4vw,3rem)", letterSpacing: "-0.02em" }}>Article not found.</h1>
            <Button variant="primary" icon="arrow-right" href="/blog" style={{ marginTop: 28 }}>Back to the blog</Button>
          </div>
        </section>
      </main>
    );
  }

  const related = BLOG_POSTS.filter((p) => p.slug !== post.slug);

  return (
    <main>
      <section style={{ position: "relative", overflow: "hidden", padding: "142px 0 0" }}>
        <Aura color="#8784FD" size={520} top={-220} left={"24%"} opacity={0.32} drift={1} />
        <div className="wrap-narrow" style={{ position: "relative", zIndex: 1 }}>
          <a href="/blog" className="arrow-link fade-up" style={{ color: "var(--fg-on-dark-2)", marginBottom: 20 }}>
            <Icon name="arrow-left" size={16} /> All articles
          </a>
          <div className="fade-up" style={{ marginTop: 18 }}>
            <span className="overline" style={{ color: "var(--auto-violet)" }}>{post.tag}</span>
          </div>
          <h1 className="fade-up" style={{ fontWeight: 300, fontSize: "clamp(2.1rem,4vw,3.2rem)", lineHeight: 1.1, letterSpacing: "-0.03em", margin: "16px 0 0" }}>
            {post.title}
          </h1>
          <div className="fade-up" style={{ display: "flex", gap: 10, alignItems: "center", marginTop: 22, fontSize: 13.5, color: "var(--fg-on-dark-3)" }}>
            <time dateTime={post.date}>{blFormatDate(post.date)}</time>
            <span>&middot;</span>
            <span>{post.readTime}</span>
          </div>
          <div style={{ height: 1, background: "var(--line-on-dark)", margin: "34px 0 0" }} />
        </div>
      </section>

      {post.heroImage ? (
        <section style={{ padding: "34px 0 4px" }}>
          <div className="wrap-narrow">
            <figure className="bl-hero-figure fade-up">
              <img src={post.heroImage.src} alt={post.heroImage.alt} decoding="async" />
            </figure>
          </div>
        </section>
      ) : null}

      <section style={{ padding: "6px 0 24px" }}>
        <div className="wrap-narrow">
          <article className="bl-article">{blBlocks(post.body)}</article>
        </div>
      </section>

      <section className="sec" style={{ paddingTop: 24 }}>
        <div className="wrap-wide">
          <div className="reveal" style={{ marginBottom: 30 }}><Overline grad>Keep reading</Overline></div>
          <div className="grid-3" style={{ display: "grid", gridTemplateColumns: "repeat(" + Math.max(related.length, 1) + ",1fr)", gap: 20, alignItems: "stretch" }}>
            {related.map((p, i) => <BlogListCard key={p.slug} p={p} i={i} />)}
          </div>
        </div>
      </section>

      <CtaBanner title="Let's build your growth engine." sub="Tell us where you want to grow. We will send back a free, channel-by-channel plan." primary="Book a Call" small />
    </main>
  );
}

Object.assign(window, { BLOG_POSTS, BLOG_BY_SLUG, BlogIndexPage, BlogPostPage, BlogListCard, blFormatDate });
