Tutorial

Analytics, GSC, and Backlinks: The Three Moves After Launch

After your site goes live, the only three tasks that matter are adding analytics, getting indexed, and building backlinks. This tutorial walks you through a GitHub-and-Vercel workflow that keeps your source files under your control while pushing your site into Google's index.

A dark navy gradient cover with an analytics chart and a magnifying-glass search motif, overlaid with the title text "Analytics and GSC".

Analytics, GSC, and Backlinks: The Three Moves After Launch

You have built your overseas site. Skip the celebration. The real work starts now. After the deploy button turns green, you face exactly three tasks: install analytics, get indexed, and earn backlinks. That is it. Nothing else matters for the first week. This guide shows you how to do all three using a simple relay system that keeps your data on your own machine and on GitHub, so you never lose control of your source files.

The Relay: Your Computer, GitHub, and Vercel

Think of your computer as the single source of truth for your site. Every file you edit lives on your local disk. When you are ready to publish, you commit those changes to a Git repository and push them to GitHub. Vercel watches that GitHub repository and redeploys your site automatically. The result: you edit on your computer, and the live site updates itself within a minute.

This setup gives you two copies of every page. One copy sits on your hard drive. The other lives in the GitHub repository. Vercel only serves the built output; it does not hold your source code. If Vercel goes down, your files are still safe on your machine and on GitHub. If your computer dies, GitHub still has everything. That is what “your computer is the source of truth” means in practice.

To set this up, you need a GitHub account. Create a repository for your site. On your computer, run git init in your project folder. Add all files with git add ., then commit with git commit -m "initial commit". Push to GitHub with git remote add origin https://github.com/yourname/yoursite.git and git push -u origin main. Then connect the repository to Vercel through the Vercel dashboard. Choose the repository, pick the build command (usually npm run build or nothing for static files), and Vercel will deploy. From then on, every git push triggers a fresh deploy.

Installing Google Analytics on Every Page

For an overseas audience, Google Analytics is the standard. Go to https://analytics.google.com/ and create a new property. Follow the setup flow. You will receive a tracking snippet that looks like a block of JavaScript with a measurement ID such as G-XXXXXXXXXX.

The critical detail is where you place that snippet. It must go on every single HTML file, right before the closing </body> tag. Not in the head. Not in the footer. At the very end of the body.

Why this position? The browser parses the page top to bottom. If you put the analytics script in the <head>, it blocks rendering until it loads. If you put it in the middle of the body, it can delay interactive elements. By placing it just before </body>, the page content loads and paints first, and the analytics script runs afterward. Your visitors see the full page immediately, and the tracking code loads without slowing anything down.

The snippet looks roughly like this:

<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXXXXX');
</script>

Paste that block into every HTML file. If you have a template system or a static site generator, put it in the shared layout. If you hand-code each page, copy and paste it into each file. Yes, that means every page. A missing snippet on one page means that page gets no analytics data.

After you add the snippet, commit the changes and push to GitHub. Vercel redeploys. To verify it worked, open your live site, right-click, and choose “View Page Source.” Search for gtag or your measurement ID. If you see it, the code is live. If not, check that you saved the file and pushed the commit.

Building and Submitting Your Sitemap

Analytics tells you who visits. A sitemap tells Google what to crawl. You need both.

Create a file named sitemap.xml in the root of your site. The basic structure lists every URL you want indexed. A minimal example:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://yoursite.com/</loc>
    <lastmod>2023-10-24</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://yoursite.com/about</loc>
    <lastmod>2023-10-24</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

List every page you want Google to find. If you have 20 pages, list 20 URLs. If you have 200, list 200. The loc field must be the full absolute URL, including https://. The lastmod field should match the last time you edited that page. Skip guessing; use the date you last pushed a change for that page.

Once the sitemap file is ready, commit and push it to GitHub. Vercel will deploy it to your live site. Verify it is accessible by visiting https://yoursite.com/sitemap.xml in a browser.

Now open Google Search Console at https://search.google.com/search-console. Add your property. The easiest method is the domain property, which covers all subdomains and protocols. Google will ask you to verify ownership. You can verify by adding a DNS TXT record or by uploading an HTML file. The HTML file method is simpler for a static site: download the verification file, place it in your root directory, commit, push, and wait for Vercel to deploy. Then click “Verify” in Search Console.

After verification, go to the “Sitemaps” section in the left sidebar. Enter sitemap.xml in the field and click “Submit.” Google will fetch it and start processing the URLs. You will see a status message that can take a few minutes to update.

A sitemap tells Google your pages exist. Backlinks tell Google your pages matter. Both speed up indexing.

The indexing speed depends on how often Google’s crawler, Googlebot, visits the pages where your links appear. If you leave a link on a site that Googlebot checks every hour, your new page gets crawled within an hour. If you leave it on a site that Googlebot visits once a month, you wait a month.

Your job is to find sites that Googlebot visits frequently. Good candidates: directories, forums, Q&A sites, and social bookmarking platforms. For an overseas site, think of English-language directories like DMOZ-style listings, niche forums, and platforms like Reddit or Hacker News (where allowed). Leave a comment or a profile link that points to your new site. Do not spam. One or two relevant links on active pages are enough.

The practical rule: after you submit your sitemap, go to three or four such sites and drop a link to your homepage or a key page. Then wait. The speed of indexing will roughly match the crawl frequency of those sites.

Timelines: One Hour, One Day, or a Problem

Here is the realistic expectation. If you place backlinks on high-traffic, frequently crawled sites, your new pages can appear in Google’s index in as little as one hour. That is the best case. The normal case is within one day. Googlebot finds your sitemap, follows the links, and indexes the pages.

If several days pass and nothing appears in the index, something is wrong. The most common cause is low page quality. Google will not index a page that is thin, duplicate, or has no real content. A page with only a heading and a paragraph is often ignored. A page with copied text from another site is often ignored.

Google Search Console will usually tell you what is wrong. Go to the “URL Inspection” tool in Search Console, paste in one of your URLs, and click “Test Live URL.” The result will show either “URL is on Google” or “URL is not on Google.” If it is not on Google, the tool will often show a reason: “Page with redirect,” “Soft 404,” “Duplicate without user-selected canonical,” or “Crawled - currently not indexed.” Each of those messages points to a specific fix.

If the message says “Crawled - currently not indexed,” it means Google found the page but chose not to add it to the index. That usually means the content is too thin or the page has no internal links pointing to it. Add more content, link to that page from other pages on your site, and resubmit the URL in the inspection tool.

If the message says “Not found (404),” your URL is broken. Check the path in your sitemap and on your live site. Fix the link, push the change, and resubmit.

The Daily Check

For the first week after launch, do a daily check. Open Search Console and look at the “Performance” report. See if any queries are showing impressions. Open the “Pages” report and see which URLs are indexed. Open the “Sitemaps” report and confirm the status is “Success.”

If you see impressions but no clicks, your title and meta description need work. If you see no impressions at all, your pages are not indexed yet. Give it another day. If a week passes with zero indexed pages, go back to the quality checklist: does each page have a unique title, a meta description, at least 300 words of original text, and at least one internal link?

The three moves are simple: analytics code on every page, a sitemap in Search Console, and a few backlinks. Do those, and the waiting game begins. The index will come. The traffic will follow. The key is to not skip any of the three, because each one covers a different gap. Analytics tells you what happens. The sitemap tells Google where to look. Backlinks tell Google that the look is worth it.

(Figures and case details in this article are as reported in the source material and have not been independently verified.)

Series: Overseas Website Building

Back to articles