Skip to main content
FREE Mock interview & resume review with Sumit. Free right now, no payment needed.Book a slot

The Complete E-commerce Website Checklist (2026): Setup, SEO, Search Console, Ads & AI Visibility

A practical e-commerce checklist for store owners: what to set up, SEO basics, Google Search Console, checking if a URL is indexed, robots.txt, sitemaps, ad types, and how AI/LLMs see your site.

Sumit KumarUpdated Oct 27, 202622 min readShopify
The Complete E-commerce Website Checklist (2026): Setup, SEO, Search Console, Ads & AI Visibility

Building an e-commerce website is not just putting products online. As the owner, you are responsible for the business setup, the store experience, getting found on Google, running ads, and now making sure AI tools like ChatGPT, Claude and Perplexity understand your store too. This guide explains every step in detail so you know not just what to do but why.

How to use this guide

Read it top to bottom once, then use the launch checklist in section 12 as your working to-do list. If you are a developer, section 13 gives you a complete prompt to build the whole store with Next.js and MongoDB.

Table of Contents#

  1. The e-commerce launch roadmap
  2. Owner checklist: what you must set up first
  3. Store essentials: product pages, speed and checkout
  4. How Google finds, indexes and ranks your store
  5. SEO checklist for e-commerce
  6. What is Google Search Console?
  7. How to check if a particular URL is indexed
  8. How to check product visibility on Google
  9. robots.txt and sitemap.xml explained
  10. How to know if LLMs (AI tools) can see your website
  11. How to run ads, and how many types of ads there are
  12. Final launch checklist
  13. Build it yourself: master prompt for Next.js + MongoDB
  14. FAQs

1. The E-commerce Launch Roadmap#

Every successful store goes through six phases, in this order. Each phase depends on the one before it.

Six-phase e-commerce launch roadmap: foundation, store build, SEO setup, visibility, AI readiness, ads and growth
  1. Foundation — domain, HTTPS, platform, GST registration, payment gateway and policy pages. Without these you cannot legally take payments.
  2. Store build — theme, product pages, cart, checkout and speed. This decides your conversion rate — how many visitors actually buy.
  3. SEO setup — titles, descriptions, canonical tags, structured data, robots.txt and sitemap.
  4. Visibility — connect the store to Google and Bing through Search Console, Merchant Center and Bing Webmaster Tools, then confirm pages are indexed.
  5. AI readiness — make sure AI assistants can read and cite your store.
  6. Ads and growth — paid traffic plus email and WhatsApp marketing to bring customers back.
Common mistake

Many owners start running ads in week one. If the checkout is slow or tracking is missing, ads only multiply your losses. Finish phases 1–4 first.

2. Owner Checklist: What You Must Set Up First#

These are decisions and accounts that belong to you, the owner, not to your developer or agency. If a developer creates them on their personal account and later leaves, you can lose years of data.

2.1 Domain and HTTPS#

  • Domain name — short, easy to spell and easy to say on a phone call. .com or .in both work well for an Indian brand.
  • Register it in your own name with your own email and turn on auto-renewal. An expired domain takes the whole store offline.
  • HTTPS (SSL certificate) — encrypts customer data, is a Google ranking signal and is required by payment gateways. Shopify, WooCommerce hosts and Vercel give it free.

2.2 Choosing a platform#

PlatformGood forTrade-off
ShopifyFast launch; hosting, security and updates handled for you; big app storeMonthly fee + app costs; less control over checkout
WooCommerceFull control, WordPress blogging, lower base costYou manage hosting, updates, security and speed
Custom / headless (Next.js + commerce API)Unique design, top performance, complex featuresNeeds developers to build and maintain

For most new stores, Shopify is the safest start. Move to a custom build later when the business needs it (see section 13).

2.3 Business, payments and shipping#

  • Business registration and GST — needed for GST invoices and for most Indian payment gateways to approve you.
  • Payment gateway — Razorpay, PayU, Cashfree, Stripe or PayPal with UPI, cards, net banking and wallets. Place one real test order before launch and refund it.
  • Cash on Delivery (COD) — increases orders in India but also returns and fake orders. Many stores add a small COD fee or confirm COD orders on WhatsApp.
  • Shipping — an aggregator (Shiprocket, Delhivery, etc.) gives you many couriers in one dashboard. Set zones, rates and a free-shipping threshold.
  • Notifications — automatic order-confirmed, shipped and delivered messages by email, SMS or WhatsApp.

Payment gateways check for these before activating your account, and customers look for them before trusting a new store:

  • Privacy Policy — what data you collect and how you use it.
  • Terms & Conditions — rules for using the store and buying from it.
  • Refund / Return Policy — return window, item condition, how and when refunds are paid.
  • Shipping Policy — delivery times, charges, serviceable areas.
  • Contact Us — business address, phone and email.
  • About Us — your story; builds trust and helps search engines and AI tools understand who you are.

2.5 Accounts the owner must create#

  • Google Analytics 4 (GA4) — visitor behaviour, traffic sources, purchases and revenue.
  • Google Tag Manager (GTM) — one container for all tracking tags.
  • Google Search Console — how your site performs in Google Search (section 6).
  • Google Merchant Center — the product catalog for Shopping results and ads.
  • Google Ads — to run paid campaigns.
  • Google Business Profile — only if customers can visit a physical location.
  • Meta Business Suite + Meta Pixel / Conversions API — for Facebook and Instagram ads. The Conversions API sends purchases from your server, which is more reliable than the browser pixel alone.
  • Bing Webmaster Tools — Bing's version of Search Console; Bing's index also powers Microsoft Copilot.
Tip

Create one business Google account (for example marketing@yourbrand.com) that owns all Google tools. Give your developer or agency access as a user, never as the only owner.

3. Store Essentials: Product Pages, Speed & Checkout#

3.1 Mobile-first design#

Most Indian shoppers browse and buy on their phones. Design for small screens first: big tap targets, a sticky "Add to cart" button, readable text and no pop-ups covering the whole screen.

3.2 Speed and Core Web Vitals#

MetricWhat it measuresGood scoreHow to improve
LCP (Largest Contentful Paint)How fast the main content (usually the product image) appearsUnder 2.5 sCompress images (WebP/AVIF), preload the hero image, use a CDN
INP (Interaction to Next Paint)How quickly the page reacts to taps and clicksUnder 200 msRemove unused apps and scripts, delay third-party tags
CLS (Cumulative Layout Shift)How much the layout jumps while loadingUnder 0.1Set width/height on images, reserve space for banners

Check them with PageSpeed Insights and the Core Web Vitals report in Search Console.

3.3 Product pages that sell#

  • Several high-quality images from different angles, zoom, and ideally a short video.
  • Price, discount, stock status and an estimated delivery date for the customer's pincode.
  • Size chart and fit details for fashion; specifications for electronics.
  • A unique description — never copied from the manufacturer or a marketplace.
  • Customer reviews with photos.
  • A return-policy summary next to the Add to cart button.

3.4 Checkout#

  • Allow guest checkout.
  • Ask for as few fields as possible; autofill city and state from the pincode.
  • Show all costs (shipping, COD fee, taxes) before payment.
  • Offer UPI, cards, net banking, wallets and COD.

3.5 Trust and recovery#

  • Secure-payment badges, real reviews, clear policies and visible WhatsApp or chat support.
  • Abandoned cart recovery by email, SMS or WhatsApp.
  • A helpful 404 page with search and links to popular categories.

4. How Google Finds, Indexes & Ranks Your Store#

Every product page goes through this pipeline. If it fails at any stage, it never reaches shoppers.

Six stages of Google Search: discover, crawl, render, index, rank, show, with what the store owner controls at each stage
  1. Discover — Google learns the URL exists through your sitemap, internal links and backlinks.
  2. Crawl — Googlebot downloads the page after checking robots.txt. Slow servers or 5xx errors reduce crawling.
  3. Render — Google runs JavaScript and loads CSS. If product details appear only after heavy client-side JavaScript, or JS/CSS is blocked, Google may see an empty page. Server-side rendering (Shopify Liquid, Next.js SSR) avoids this.
  4. Index — Google decides whether to store the page. A noindex tag, a canonical pointing elsewhere, or thin/duplicate content can keep it out.
  5. Rank — indexed pages are ordered by relevance, content quality, page experience and authority.
  6. Show — the shopper sees a blue link, a rich result with price and stars, or a product in the Shopping tab.

In Search Console, URL Inspection checks crawl, render and index; the Pages report explains exclusions; and the Performance report shows ranking and clicks.

5. SEO Checklist for E-commerce#

SEO (Search Engine Optimization) is everything you do so your pages rank higher in free search results.

5.1 Technical SEO#

  • One version of the site — http, https, www and non-www must 301-redirect to a single version.
  • Clean URLs — /products/mens-cotton-tshirt-navy, not /p?id=8823&v=2.
  • Canonical tags — tell Google the main URL when a product appears at several URLs:
    HTML
    <link rel="canonical" href="https://yourstore.com/products/mens-cotton-tshirt" />
  • Faceted navigation — filter and sort parameters create near-duplicate URLs. Canonicalise them and block sort/filter parameters in robots.txt if they waste crawl budget.
  • Redirects — 301-redirect deleted or renamed products to the closest product or category.
  • Out-of-stock products — keep the page live if it will return; redirect it if it is gone forever.

5.2 On-page SEO#

  • Title tag — about 50–60 characters, main keyword first, brand last.
  • Meta description — about 150–160 characters with price, offer, shipping or returns.
  • One H1 per page — the product or category name.
  • Unique product descriptions — material, fit, use cases, care.
  • Image alt text — "navy blue men's cotton t-shirt front view", not "IMG_2231".
  • Category page content — a short intro and FAQs so the page has text to rank.
  • Internal links — breadcrumbs, related products, "customers also bought".

5.3 Content and off-page SEO#

  • Blog — buying guides, comparisons and how-to articles.
  • Reviews — fresh, unique text on every product page.
  • Backlinks — press, influencers, suppliers, industry directories. Never buy links in bulk.

5.4 Product structured data (Schema.org)#

JSON-LD structured data makes products eligible for rich results with price, availability and star ratings.

HTML
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Men's Cotton T-Shirt - Navy",
  "image": "https://yourstore.com/images/tshirt-navy.webp",
  "description": "100% cotton regular-fit t-shirt.",
  "sku": "TS-NAVY-M",
  "brand": { "@type": "Brand", "name": "YourBrand" },
  "offers": {
    "@type": "Offer",
    "price": "599",
    "priceCurrency": "INR",
    "availability": "https://schema.org/InStock",
    "url": "https://yourstore.com/products/mens-cotton-tshirt-navy"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.5",
    "reviewCount": "128"
  }
}
</script>

Also useful: BreadcrumbList, Organization and FAQPage. Test every template with Google's Rich Results Test.

Warning

Structured data must match what the shopper sees. A price or rating in the schema that is not on the page breaks Google's guidelines.

6. What is Google Search Console?#

Google Search Console (GSC) is a free Google tool that shows how Google sees your website. Analytics shows what people do after they arrive; Search Console shows how they found you and whether Google can read your pages.

Google Search Console reports: Performance, URL Inspection, Pages, Sitemaps, Core Web Vitals, Shopping, Security and Manual actions, Links and Settings

6.1 The reports that matter#

  • Performance — queries, clicks, impressions, CTR and average position. Find products with many impressions but low CTR and rewrite their titles.
  • URL Inspection — check one URL and request indexing (section 7).
  • Pages (Indexing) — indexed pages and the reason each excluded page is not.
  • Sitemaps — submit your sitemap and see discovered URLs.
  • Core Web Vitals — good, needs-improvement and poor URL groups.
  • Shopping / Merchant listings and Product snippets — product structured-data errors.
  • Security issues and Manual actions — hacking alerts and penalties, plus review requests.
  • Links and Settings — linking sites, the robots.txt report and crawl stats.

6.2 How to set up Search Console#

  1. Go to search.google.com/search-console and sign in with your business Google account.
  2. Choose Domain property and enter yourstore.com. It covers every version and subdomain at once.
  3. Add the TXT record Google gives you in your domain's DNS settings.
  4. Click Verify (DNS can take minutes to hours).
  5. Submit https://yourstore.com/sitemap.xml under Sitemaps.
  6. Add team members under Settings → Users and permissions with the lowest access they need.

7. How to Check if a Particular URL is Indexed#

Flowchart for checking if a URL is indexed in Search Console, with common not-indexed reasons and fixes

Method 1: URL Inspection tool (most reliable)#

  1. Paste the full URL into the search bar at the top of Search Console.
  2. "URL is on Google" means indexed; "URL is not on Google" shows the reason.
  3. Test Live URL checks the page as it is now; View Tested Page shows the rendered HTML and screenshot.
  4. Request Indexing puts a ready page in the priority queue (daily limit; not a guarantee).

Method 2: The site: operator (quick check)#

Text
site:yourstore.com/products/mens-cotton-tshirt

If the page appears, it is indexed. Counts from site: are estimates; confirm in Search Console.

Method 3: The Pages (indexing) report#

StatusWhat it meansHow to fix
Discovered – currently not indexedKnown but not crawled yetAdd internal links, keep in sitemap, improve speed, request indexing
Crawled – currently not indexedRead but not valuable enough yetMake content unique and useful
Excluded by 'noindex' tagPage asks not to be indexedRemove noindex if it should rank
Blocked by robots.txtCrawling not allowedRemove the matching Disallow rule
Alternate page with proper canonical tagThe canonical version is indexed insteadUsually fine
Duplicate without user-selected canonicalGoogle chose its own main URLAdd correct canonical tags
Not found (404) / Soft 404Missing or empty-looking pageRestore or 301-redirect
Page with redirectThe URL redirectsFine if intended; remove from sitemap

After fixing a group of pages, click Validate fix in that report.

8. How to Check Product Visibility on Google#

How products reach Google surfaces through Googlebot crawling and the Merchant Center feed

Products reach Google through two pipes, and the best stores use both:

  1. Your product pages, crawled by Googlebot. With good structured data they can appear as rich results. You monitor this in Search Console.
  2. Your product feed in Google Merchant Center — title, price, availability, image, brand and GTIN for every product. This feeds the Shopping tab, free listings, Google Images, YouTube and Shopping ads.

8.1 Setting up Merchant Center#

  1. Create an account and verify your website.
  2. Add business information, shipping and return policies.
  3. Connect your product feed (Shopify's Google & YouTube app and WooCommerce plugins sync it automatically).
  4. Make sure free listings are on.

8.2 How to check visibility#

  • Merchant Center → Products — approved, limited and disapproved products with the issue for each.
  • Search Console → Shopping reports — product snippet and merchant listing errors.
  • Search Console → Performance — filter by "Search appearance" for product rich results.
  • Manual check — search the product name in Incognito and open the Shopping tab.
  • Rich Results Test — confirm Google reads price, availability and rating.

8.3 Why products are not visible#

  • The product page is not indexed (section 7).
  • Price or stock mismatch between feed and page — the most common disapproval.
  • Missing brand or GTIN.
  • Product images with watermarks, promo text or borders.
  • Missing shipping or return policy.
  • Policy violations.

9. robots.txt and sitemap.xml Explained#

robots.txt tells crawlers where not to go. sitemap.xml lists the pages you want found.

robots.txt versus sitemap.xml with example code and rules for each

9.1 What is robots.txt?#

A plain text file at https://yourstore.com/robots.txt that well-behaved bots read before crawling.

Text
User-agent: *
Disallow: /cart
Disallow: /checkout
Disallow: /account
Disallow: /search
Disallow: /*?sort_by=
Disallow: /*?filter=
Allow: /

Sitemap: https://yourstore.com/sitemap.xml
  • User-agent: * — rules apply to all bots (or target one, like Googlebot).
  • Disallow: /cart, /checkout, /account — private pages with no search value.
  • Disallow: /search — internal search creates endless low-quality URLs.
  • Disallow: /*?sort_by= — wildcard blocks sort parameters to save crawl budget.
  • Sitemap: — tells every crawler where your sitemap is.

9.2 robots.txt rules you must know#

  • robots.txt controls crawling, not indexing. To keep a page out of Google, use <meta name="robots" content="noindex"> and do not block it, or Google never sees the tag.
  • Never block CSS, JavaScript or product images.
  • Never ship Disallow: / to production from a staging site.
  • It is public — never use it to hide secret URLs.
  • Check it in Search Console → Settings → robots.txt.
  • Shopify generates a default; customise it with a robots.txt.liquid template.

9.3 What is a sitemap?#

A sitemap lists your important URLs with their last-modified date so search engines discover new products quickly.

XML
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://yourstore.com/products/mens-cotton-tshirt</loc>
    <lastmod>2026-10-20</lastmod>
  </url>
  <url>
    <loc>https://yourstore.com/collections/t-shirts</loc>
    <lastmod>2026-10-18</lastmod>
  </url>
</urlset>

Large stores use a sitemap index linking to separate sitemaps for products, collections, pages and blogs. One sitemap holds up to 50,000 URLs. Shopify creates this automatically at /sitemap.xml.

9.4 Sitemap checklist#

  • Only indexable pages — no cart, checkout, login, redirected or noindex pages.
  • Final HTTPS canonical URLs with honest lastmod dates.
  • Add the sitemap line to robots.txt.
  • Submit it in Search Console and Bing Webmaster Tools, and check for errors after big changes.

10. How to Know if LLMs (AI Tools) Can See Your Website#

Shoppers increasingly ask AI assistants things like "best cotton t-shirt brands in India under ₹800". Being mentioned and cited there is called GEO (Generative Engine Optimization). It builds on normal SEO with a few extra checks.

Three kinds of AI crawlers and four ways to check whether AI tools know your website

10.1 The three kinds of AI crawlers#

TypeWhat it doesExamples
Training crawlersCollect public text that may train future modelsGPTBot, ClaudeBot, Google-Extended, Applebot-Extended
AI search crawlersIndex pages so AI search can cite themOAI-SearchBot, Claude-SearchBot, PerplexityBot
User-triggered fetchersOpen a page live when a user asks about itChatGPT-User, Claude-User, Perplexity-User

Google-Extended only controls whether content is used for Gemini models; it does not affect normal Google Search ranking.

10.2 Step 1 — Check robots.txt and your firewall#

Text
User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

Some brands block training crawlers but allow search and user crawlers so they still get cited. Make that choice on purpose, and re-check vendor docs every few months because crawler names change. Also check your CDN or firewall bot settings — they can block AI bots even when robots.txt allows them.

10.3 Step 2 — Add llms.txt (optional)#

llms.txt is a proposed standard: a Markdown file at /llms.txt summarising your site and linking key pages. Major AI companies have not confirmed they rely on it, so treat it as a cheap bonus.

MARKDOWN
# YourBrand
> Indian clothing brand selling 100% cotton t-shirts, polos and innerwear.

## Key pages
- [Men's T-Shirts](https://yourstore.com/collections/mens-tshirts)
- [Size Guide](https://yourstore.com/pages/size-guide)
- [Shipping Policy](https://yourstore.com/policies/shipping-policy)
- [Return Policy](https://yourstore.com/policies/refund-policy)

10.4 Step 3 — Check whether AI tools actually know you#

  1. Ask the assistants directly in ChatGPT, Claude, Gemini and Perplexity: "What is YourBrand?", "Best [your product] brands in India". Note whether you are mentioned, cited and described correctly. Repeat monthly.
  2. Check server or CDN logs for the user-agents above.
  3. Check GA4 referral traffic (Reports → Acquisition → Traffic acquisition) for chatgpt.com, perplexity.ai, claude.ai, gemini.google.com and copilot.microsoft.com.
  4. Check Bing Webmaster Tools — Copilot relies on Bing's index.

10.5 Step 4 — Make content easy for AI to understand#

  • Clear, factual answers in short paragraphs and lists: FAQs, size guides, materials, comparisons.
  • Structured data for price, stock, brand and ratings.
  • Important content in the server-sent HTML — many AI crawlers do not run JavaScript.
  • Consistent brand details across your site, Google Business Profile, marketplaces and social profiles.
  • Mentions on trusted sites (reviews, press, comparison articles).

11. How to Run Ads & How Many Types of Ads There Are#

11.1 Before you spend a single rupee#

  1. Set up conversion tracking for purchase (with order value), add_to_cart and begin_checkout using GTM, GA4, the Google Ads tag and Meta Pixel + Conversions API.
  2. Test it with a real order in GA4 DebugView, Google Ads and Meta Events Manager.
  3. Link accounts — Google Ads ↔ GA4 ↔ Merchant Center.
  4. Prepare landing pages that load fast and match the ad's offer.
  5. Set a budget and a target based on your profit margin.
Google Ads campaign types in 2026 with where each runs and what it is best for
  • Search — text ads on Google results for keywords. Highest intent; pay per click.
  • Shopping — product ads with image, title, price and store name, driven by your Merchant Center feed.
  • Performance Max (PMax) — one campaign across Search, Shopping, YouTube, Display, Gmail, Discover and Maps; Google's AI picks placements and bids. Best once you have conversion data.
  • Demand Gen — visual ads on YouTube (including Shorts), Discover and Gmail. Replaced Discovery campaigns.
  • Display — banners across Google's network; mainly for remarketing.
  • Video — YouTube ads for awareness and demos.
  • App — promotes a mobile app; only if you have one.
  • AI Max for Search — an optional AI upgrade inside Search campaigns.

Google also has Smart campaigns (simplified, for very small businesses) and Local Services Ads (for service businesses, not usually e-commerce).

Recommended start for a new store

1) A Search campaign on your brand name plus top product keywords. 2) A Shopping campaign once Merchant Center products are approved. 3) Performance Max after you have steady conversions and good creatives.

11.3 Meta (Facebook & Instagram) ads#

  • Formats — single image, video, carousel, collection, Stories and Reels.
  • Advantage+ shopping campaigns — Meta's automated sales campaigns.
  • Catalog / dynamic product ads — show people the exact products they viewed or added to cart.
  • What works — short UGC-style videos, clear offers, and testing several creatives at once.

11.4 Other ad channels#

  • Marketplace ads on Amazon, Flipkart or Myntra if you sell there.
  • Pinterest, Snapchat, LinkedIn — depending on your audience.
  • Influencer and affiliate marketing.
  • Email, SMS and WhatsApp — the cheapest way to bring past customers back.

11.5 Which ads to run at each stage#

Marketing funnel mapping ad types to awareness, consideration, conversion and retention
  • Awareness — YouTube video ads, Demand Gen, Meta Reels and Stories, influencers.
  • Consideration — Shopping ads, Meta carousel and collection ads, Display remarketing, blog buying guides.
  • Conversion — Search ads on brand and product keywords, Performance Max, Meta catalog ads, abandoned cart reminders.
  • Retention — email and WhatsApp offers, Customer Match lists, loyalty and referral programs, review requests.

11.6 Step by step: your first Google Search campaign#

  1. Create a Google Ads account with your business Google account; link GA4 and Merchant Center.
  2. New campaign → goal Sales → type Search.
  3. Choose locations you deliver to, language and a daily budget.
  4. Start with Maximize conversions; try Target ROAS once you have roughly 30+ conversions a month.
  5. Create themed ad groups with closely related keywords.
  6. Write responsive search ads (up to 15 headlines, 4 descriptions) with product, offer, shipping and returns.
  7. Add assets: sitelinks, callouts ("COD available"), price and image assets.
  8. Add negative keywords: "free", "second hand", "wholesale", "jobs".
  9. Review the search terms report weekly.

11.7 Key ad metrics#

MetricFormulaWhat it tells you
CTRClicks ÷ ImpressionsIs the ad attractive and relevant?
CPCCost ÷ ClicksCost per visitor
Conversion rateOrders ÷ ClicksIs the store convincing?
CPACost ÷ OrdersCost per order
ROASRevenue ÷ Ad spend₹4 revenue per ₹1 spent = 4x ROAS
Watch your margin

Break-even ROAS = 1 ÷ profit margin. At a 40% margin, break-even ROAS is 2.5x; anything below that loses money.

12. Final E-commerce Launch Checklist#

Business#

  • ☐ Domain in the owner's name, auto-renew on, HTTPS working
  • ☐ Payment gateway live and tested with a real order and refund
  • ☐ Shipping partner, zones, rates and COD rules configured
  • ☐ Privacy, Terms, Refund, Shipping, Contact and About pages published
  • ☐ Order, shipping and delivery notifications working

Store#

  • ☐ Tested on real Android and iPhone devices
  • ☐ PageSpeed Insights and Core Web Vitals checked
  • ☐ Every product has a unique title, description, images and alt text
  • ☐ Search, filters, cart and checkout tested end to end
  • ☐ Abandoned cart recovery and a custom 404 page

SEO#

  • ☐ Search Console verified as a Domain property
  • ☐ sitemap.xml submitted with no errors
  • ☐ robots.txt reviewed — no accidental Disallow: /
  • ☐ Canonical tags on variants and filtered pages
  • ☐ Product, Breadcrumb and Organization structured data passing the Rich Results Test
  • ☐ Homepage, top categories and top products indexed
  • ☐ Bing Webmaster Tools set up

Product visibility and AI#

  • ☐ Merchant Center verified, feed approved, free listings on
  • ☐ AI crawlers allowed or blocked on purpose, firewall checked
  • ☐ llms.txt added (optional)
  • ☐ Brand tested in ChatGPT, Claude, Perplexity and Gemini

Tracking and ads#

  • ☐ GA4 + GTM installed, purchase event with order value verified
  • ☐ Google Ads conversion tag and Meta Pixel + Conversions API working
  • ☐ Break-even ROAS calculated
  • ☐ First Search + Shopping campaigns ready with negative keywords
  • ☐ Remarketing audiences created

13. Build It Yourself: Master Prompt for Next.js + MongoDB#

If you are a developer building a custom store instead of using Shopify, you can hand an AI coding agent (Claude Code, Cursor, etc.) a single detailed spec. Below is a condensed version of the master prompt. It covers the storefront, checkout, payments, returns, security, performance and the admin panel, and tells the agent to build in phases instead of all at once.

MARKDOWN
# Build a production-ready D2C e-commerce store
Role: senior full-stack engineer. Brand: {{BRAND}}. Market: India (INR, GST, UPI/COD).

## Stack (fixed)
- Next.js (App Router, TypeScript strict) for frontend AND backend (Route Handlers + Server Actions)
- MongoDB + Mongoose; money stored as integers in paise
- Zod validation, Auth.js (email+password, Google), Tailwind, Zustand
- Razorpay + COD behind a PaymentProvider interface
- Cloudinary/S3 images, Resend email, Atlas Search, Upstash Redis rate limiting
- Vitest + Playwright, GitHub Actions, deploy on Vercel + Atlas

## Storefront
Header (mega menu, sticky, search, cart/wishlist counts), footer (menus, newsletter,
policies, GSTIN), banner slider (first slide = LCP, priority image), reusable product grid,
trending grid (hourly trendingScore job), collection grid with URL-based filters
(price, size, colour, brand, rating, stock) and sorting (featured, best selling, newest,
price, rating, discount), product page (gallery, variants, pincode check, A+ content,
reviews, Product JSON-LD), FAQ, blogs, About, Contact (rate-limited + captcha),
Privacy, Terms, Return policy, cookie consent.

## Commerce flows
Auth (signup, email verification, login, Google, forgot/reset with hashed one-time
tokens, lockout), cart drawer (server-priced, optimistic UI, free-shipping bar, coupons),
wishlist, add-to-cart flow with stock checks, single-page checkout with idempotency key,
Razorpay signature + webhook verification, stock reservation, thank-you page,
order state machine (pending_payment -> confirmed -> processing -> packed -> shipped
-> out_for_delivery -> delivered, plus cancelled/returned/refunded), pre-orders,
return/exchange flow with photos and QC, GST invoice PDF.

## Non-functional
- Rate limits per endpoint (login, signup, reset, search, cart, checkout, contact)
- Security: Zod everywhere, NoSQL-injection guards, sanitised HTML, CSP and security
  headers, RBAC, IDOR checks, admin 2FA, audit log, encrypted bank details
- Performance budgets: LCP < 2.5s, INP < 200ms, CLS < 0.1, FCP < 1.8s,
  Lighthouse mobile >= 90, Lighthouse CI in GitHub Actions
- SEO: generateMetadata, sitemap.ts, robots.ts (configurable AI crawler rules),
  JSON-LD, Merchant Center feed, redirects manager

## Admin panel (/admin)
Dashboard KPIs, products + variant matrix + CSV import, inventory, collections,
orders (status changes, AWB, refunds, invoices), returns, customers, staff roles and
permissions, coupons, banners, CMS pages, FAQs, blogs, reviews, settings, reports,
audit log.

## How to work
Build in 10 phases: foundation -> auth -> catalog -> cart -> checkout/payments
-> post-order -> content -> admin -> SEO/analytics -> hardening.
Plan each phase first, then implement, then run lint, typecheck, tests and build.
Keep all prices and totals server-side. Start with Phase 1.
Tip

Fill in your brand details (name, colours, return window, GSTIN, free-shipping threshold) before giving the prompt to the agent, and review each phase before letting it continue.

14. FAQs#

How long does it take for Google to index a new store?#

Usually a few days to a few weeks. A submitted sitemap, indexing requests for key pages, strong internal linking and a few quality backlinks speed it up.

Is Search Console the same as Google Analytics?#

No. Search Console shows performance in Google Search; Google Analytics shows what visitors do on your site. You need both.

Does robots.txt remove a page from Google?#

No. It only stops crawling. Use a noindex tag and leave the page crawlable so Google can see it.

Does blocking GPTBot hurt my Google ranking?#

No. Google Search ranking depends on Googlebot. Blocking Google-Extended also does not affect normal Google Search.

Should I start with SEO or ads?#

Both. SEO builds free traffic over months; ads bring sales from day one and show which products and keywords convert.

How much should I spend on ads at the start?#

A small daily test budget you can afford for 2–4 weeks while campaigns learn. Scale only campaigns that beat your break-even ROAS.

Should I use Shopify or build with Next.js?#

Start on Shopify if you want to launch fast with a small team. Build custom (section 13) when you need unique features, full control or top-tier performance and have developers to maintain it.

Key takeaways#

  • Follow the six phases in order: foundation, store, SEO, visibility, AI readiness, then ads.
  • The owner should create and control every Google, Meta and Bing account.
  • A page must be discovered, crawled, rendered and indexed before it can rank — URL Inspection checks all of these.
  • robots.txt blocks crawling, a noindex tag blocks indexing, and the sitemap lists what you want found.
  • Use both pipes for product visibility: structured data on product pages and an approved Merchant Center feed.
  • Check AI visibility through robots.txt and firewall rules, asking the assistants, and AI referral traffic in GA4.
  • Set up conversion tracking before ads; start with Search + Shopping, then add Performance Max and Meta.

Article discussion

(0)

Join the discussion — login to comment and help other developers.

Login to comment