Version 1.0 — April 2026
IT Contact: bhavneet@ubgroup.asia
Design & Build: Claude (Anthropic) via UB Group Project

Section 01
Deployment Overview
This guide covers the complete deployment of the UB Group website bundle to www.ubgroup.asia — including the existing 28 core pages, plus the 4 new campaign pages being added in this release.
⭐
This release adds 4 new campaign pages to the existing UB Group website bundle. These pages are standalone authority campaign funnels for UB Authority. They must be deployed at specific URL slugs and connected to the Supabase + Brevo backend exactly as described in this guide.

🔒
Before going live: Fill in the 3 credential placeholders (Supabase URL, Supabase Anon Key, Brevo API Key) in all 4 campaign HTML files. Pages will load without them, but forms will not save leads.

Target Domain

www.ubgroup.asia
Server: AWS EC2 t3.medium, Mumbai
Stack: Nginx + WordPress 6.x + SSL
Email: info@ubgroup.asia

This Bundle

28 existing UB Group pages
+ 4 new campaign pages
= 32 total pages
All backend-integrated, SEO-ready

Backend Stack

Supabase (PostgreSQL, Mumbai)
Brevo (transactional email)
Razorpay (INR) / Stripe (USD)
Platform CRM (60s sync bridge)

Section 02
Complete File Inventory
Every HTML file in the UB Group website bundle, its WordPress slug, and deployment status. The 4 campaign pages (highlighted in gold) are new additions in this release.

# HTML File WordPress Slug / URL Section Status
1 UB_Group_Homepage.html / Core Existing
2 UB_About.html /about/ Core Existing
3 UB_Leadership.html /leadership/ Core Existing
4 UB_Events_Awards.html /events-awards/ Core Existing
5 UB_Privacy_Policy.html /privacy-policy/ Legal Existing
6 UB_Terms_Service.html /terms-of-service/ Legal Existing
7 UB_Disclaimer_IP.html /disclaimer/ Legal Existing
8 UB_Honorary_Doctorate_Landing.html /honorary-doctorate/ Authority Existing
9 UB_Honorary_Titles.html /honorary-titles/ Authority Existing
10 UB_Council_Membership.html /council-membership/ Authority Existing
11 UB_CIAC_WPDO.html /ciac-wpdo/ Authority Existing
12 UB_Institutional_Hub.html /institutional/ Authority Existing
13 UB_India_Hub.html /india/ Authority Existing
14 UB_India_Products.html /india/products/ Authority Existing
15 UB_Magazines_Hub.html /magazines/ Magazines Existing
16 UB_Unified_Brainz_Mag.html /magazines/unified-brainz/ Magazines Existing
17 UB_Lux_Grandeur.html /magazines/lux-grandeur/ Magazines Existing
18 UB_La_Bella.html /magazines/la-bella/ Magazines Existing
19 UB_Senora.html /magazines/senora/ Magazines Existing
20 UB_Future_Billionaire.html /magazines/future-billionaire/ Magazines Existing
21 UB_Big_Brand_Story.html /magazines/big-brand-story/ Magazines Existing
22 UB_Gusto_GD.html /gusto-with-gd/ Shows Existing
23 UB_PV_Podcast.html /passion-vista-podcast/ Shows Existing
24 UB_PV_Talks.html /pv-talks/ Shows Existing
25 UB_Networks_Hub.html /networks/ Networks Existing
26 UB_FBNI.html /networks/fbni/ Networks Existing
27 UB_Founders_Stories.html /founders-stories/ Stories Existing
28 UB_FB_Feature.html /future-billionaire-feature/ Stories Existing
29 UB_Campaign1_InvisibleLeaderTest.html /invisible-leader-test/ Campaigns / Authority NEW ★
30 UB_Campaign2_AuthorityWall.html /authority-wall/ Campaigns / Authority NEW ★
31 UB_Campaign3_AuthoritySprint.html /authority-sprint/ Campaigns / Authority NEW ★
32 UB_Authority_Challenge.html /challenge/ Campaigns / Authority NEW ★

★ NEW pages require credential setup before going live. See Section 3 and 5.

Section 03
The 4 Campaign Pages — What They Are & What’s New
These 4 pages are authority campaign funnels for UB Authority. They were previously using a mailto: form handler. This release upgrades them to full Supabase + Brevo backend integration.
UB_Campaign1_InvisibleLeaderTest.html
→ ubgroup.asia/invisible-leader-test/
60-second quiz that classifies a leader as one of 4 authority types (Ghost, Occasional, Connector, Authority). Ends with a personalised action plan and lead capture form. High virality — built-in LinkedIn + WhatsApp share.

UB_Campaign2_AuthorityWall.html
→ ubgroup.asia/authority-wall/
Monthly recognition programme. Leaders apply to be featured on the UB Authority Wall. Form captures name, role, company, LinkedIn, Instagram, authority stage, and a one-line building statement.

UB_Campaign3_AuthoritySprint.html
→ ubgroup.asia/authority-sprint/
30-day LinkedIn posting challenge. Register to commit publicly to daily posting. Top performer wins a Passion Vista Magazine feature. Progress tracker + daily prompt delivery via the team.

UB_Authority_Challenge.html
→ ubgroup.asia/challenge/
Interactive authority score assessment (quiz → score → prize wheel spin → lead form → referral section → LinkedIn share). Most complex of the 4. Prize wheel awards free consultation slots worth up to $550.

What Was Changed vs the Original Files

Feature Before (original) After (this bundle)
Form submission Opens user’s email client with pre-filled body. Unreliable. Fails silently on mobile. Fixed Direct POST to Supabase ub_leads table. Best-effort — flow advances even if network fails.
Lead acknowledgement No email sent to the lead Fixed Brevo transactional ACK email fires immediately on successful INSERT
Canonical URL Missing Added Points to correct ubgroup.asia slug
OG meta tags Missing Added Full set: title, description, url, image, site_name, twitter:card
Schema JSON-LD Missing Added WebPage or Event schema per page
Privacy policy links ubgroup.asia/privacy — relative, broken when page opened directly Fixed https://www.ubgroup.asia/privacy-policy/
CIN in footer Present in all 4 ✓ Confirmed ✓
Scroll-to-top button Missing Added UB gold gradient style, appears after 400px scroll
Content / copy / branding Original 100% unchanged — all text, flows, quiz logic, share copy preserved exactly

Section 04
WordPress Deployment
How to deploy all 32 pages — including the 4 new campaign pages — into the WordPress installation at www.ubgroup.asia.
1
Create WordPress Custom Page Templates (all 32 pages)

Developer

For each HTML file, create a corresponding PHP template file in the active WP theme folder. Each PHP file is essentially a wrapper that injects the HTML.

Template file format — example for the Invisible Leader Test:

<?php
/**
 * Template Name: UB Campaign — Invisible Leader Test
 * Description:  60-second authority type quiz + lead capture
 * Slug:         /invisible-leader-test/
 */

/* Remove WP default <html>, <head>, <body> — this file is a full standalone page */
?>
<!-- ===== PASTE FULL CONTENTS OF UB_Campaign1_InvisibleLeaderTest.html HERE ===== -->

Save as wp-content/themes/[active-theme]/page-invisible-leader-test.php

2
Create WordPress Pages and Assign Templates

IT / Admin

In WordPress Admin → Pages → Add New. Create one WP page per HTML file. Assign the matching template in Page Attributes.

WP Page Title Slug Template to Assign
The Invisible Leader Test invisible-leader-test UB Campaign — Invisible Leader Test
The Authority Wall authority-wall UB Campaign — Authority Wall
30-Day Authority Sprint authority-sprint UB Campaign — Authority Sprint
The Authority Challenge challenge UB Campaign — Authority Challenge
💡
Set WP page status to Draft initially. Publish only after completing the credential setup in Section 5 and passing the post-deployment checklist in Section 10.

3
Alternative: Direct HTML Deploy (No WordPress)

Developer / Bhavneet

If deploying outside WordPress (standalone on Nginx), place each HTML file as index.html inside a matching directory in the web root:

/var/www/ubgroup.asia/
  invisible-leader-test/
    index.html          ← UB_Campaign1_InvisibleLeaderTest.html
  authority-wall/
    index.html          ← UB_Campaign2_AuthorityWall.html
  authority-sprint/
    index.html          ← UB_Campaign3_AuthoritySprint.html
  challenge/
    index.html          ← UB_Authority_Challenge.html

Then add Nginx location blocks (see Section 8).

4
Exclude Campaign Pages from WordPress SEO Indexing Control

Developer

The campaign pages have their own canonical tags and Schema baked in. To prevent Yoast/RankMath from overriding them, set each campaign page to “Manual” in SEO settings — do not let the plugin auto-generate meta for these pages.

In Rank Math: Edit page → Rank Math SEO → Advanced → Robots → set to index, follow — and leave title/description fields empty so the plugin doesn’t override what’s in the HTML.

Section 05
Credentials — Fill In Before Publishing
The 4 campaign pages have 3 placeholder values that must be replaced with real credentials before any form submissions will work. Bhavneet Singh (IT Head) holds these values.
⚠️
Do not publish the campaign pages live until these are filled in. The pages will load and display correctly, but form submissions will silently fail — no leads will be saved.

A
Open Each of the 4 Campaign HTML Files in a Text Editor

Bhavneet / IT

Search for this block near the bottom of each file (just before </script>):

var SUPABASE_URL  = 'YOUR_SUPABASE_URL';       /* IT: fill in */
var SUPABASE_ANON = 'YOUR_SUPABASE_ANON_KEY';  /* IT: fill in — anon/public key ONLY */
var BREVO_API_KEY = 'YOUR_BREVO_API_KEY';      /* IT: fill in */

Replace with real values. Example after filling in:

var SUPABASE_URL  = 'https://abcdefghij.supabase.co';
var SUPABASE_ANON = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';  /* anon key — safe to expose */
var BREVO_API_KEY = 'xkeysib-abc123...';

Supabase URL + Anon Key

Supabase Dashboard → Select project “ub-authority-crm” → Settings → API

Copy:
• Project URL
• anon / public key

Never use the service_role key in frontend code.

Brevo API Key

Brevo → Click your name top-right → SMTP & API → API Keys

Create a new key named: ubgroup-campaigns-2026

Copy the key starting with xkeysib-

CORS Setup (Supabase)

Supabase → Settings → API → Additional allowed origins

Add:
https://www.ubgroup.asia
https://ubgroup.asia

Without this, the fetch() call will be blocked by the browser.

💡
Tip: Fill in credentials once, save the file, and then redeploy all 4 files together. All 4 files use the same 3 variables — same Supabase project, same Brevo account.

Section 06
Supabase Database Setup
Verify the ub_leads table is ready to receive campaign form submissions. Run these SQL commands in Supabase SQL Editor to add any missing columns.
1
Add Missing Columns to ub_leads

Bhavneet

-- Run in Supabase SQL Editor
-- Safe to run even if columns already exist

ALTER TABLE ub_leads ADD COLUMN IF NOT EXISTS linkedin_url      text;
ALTER TABLE ub_leads ADD COLUMN IF NOT EXISTS consent_marketing boolean DEFAULT false;
ALTER TABLE ub_leads ADD COLUMN IF NOT EXISTS entity            text;
ALTER TABLE ub_leads ADD COLUMN IF NOT EXISTS created_at        timestamptz DEFAULT now();

2
Enable Anon INSERT Policy (Row Level Security)

Bhavneet

-- Allow anonymous users (website visitors) to insert leads
-- This is safe because anon key is read-limited by default
-- Only INSERT is allowed — no SELECT, UPDATE, DELETE

CREATE POLICY "website_anon_insert" ON ub_leads
  FOR INSERT
  TO anon
  WITH CHECK (true);

-- Verify RLS is enabled on the table
ALTER TABLE ub_leads ENABLE ROW LEVEL SECURITY;

3
Expected Row Shape per Campaign

Reference

Column Campaign 1
InvisibleLeader
Campaign 2
AuthorityWall
Campaign 3
AuthoritySprint
Campaign 4
Challenge
name From form From form From form From form
email From form From form From form From form
phone From form From form From form From form
designation role field role field role field role field
company From form From form From form From form
linkedin_url From form From form From form From form
message Leader Type + Tagged person Stage + Building statement Challenge + Tagged person Score + Stage + Prize + Refs
source ubgroup_campaign_invisible_leader_test ubgroup_campaign_authority_wall ubgroup_campaign_authority_sprint ubgroup_campaign_authority_challenge
entity UB Authority UB Authority UB Authority UB Authority
consent_marketing Checkbox value true true Checkbox value

Section 07
Brevo Email Setup
Each form submission triggers an immediate acknowledgement email to the lead from info@ubgroup.asia. This is a transactional email — no newsletter list is involved.
1
Verify Sender Domain

Bhavneet

In Brevo → Senders & IP → Senders → confirm info@ubgroup.asia is verified. If not, add it and complete the DNS verification (adds SPF + DKIM records to ubgroup.asia DNS).

2
ACK Email Content

Reference

The acknowledgement email is hardcoded in each file’s ubSendBrevoAck() function. It sends from info@ubgroup.asia, subject: “Thank you for connecting with UB Authority”, with the lead’s first name personalised. You can customise the HTML body in the function if needed.

3
Optional: Also Add Lead to a Brevo Contact List

Optional

To also enrol leads into a nurture sequence, add this snippet inside ubSendBrevoAck() after the email send, in all 4 files:

/* Optional: add to Brevo "Campaign Leads" contact list for nurture sequences */
fetch('https://api.brevo.com/v3/contacts', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'api-key': BREVO_API_KEY
  },
  body: JSON.stringify({
    email: d.email,
    attributes: {
      FIRSTNAME: (d.name || '').split(' ')[0],
      LASTNAME:  (d.name || '').split(' ').slice(1).join(' '),
      COMPANY:   d.company || '',
      SOURCE:    d.source  || ''
    },
    listIds: [YOUR_BREVO_LIST_ID],  /* Replace with Brevo list ID integer */
    updateEnabled: true             /* Updates contact if email already exists */
  })
}).catch(function() {});  /* Silent fail */

Section 08
Nginx Server Configuration
Required Nginx config if deploying the campaign pages as standalone HTML files outside of WordPress. Skip this section if deploying via WordPress page templates.
# Add to /etc/nginx/sites-available/ubgroup.asia
# Inside the server {} block for www.ubgroup.asia

# ── Campaign Pages ──────────────────────────────────────────────
location /invisible-leader-test/ {
    try_files $uri $uri/ /invisible-leader-test/index.html;
    add_header X-Robots-Tag "index, follow" always;
    add_header Cache-Control "no-store, no-cache, must-revalidate" always;
}

location /authority-wall/ {
    try_files $uri $uri/ /authority-wall/index.html;
    add_header X-Robots-Tag "index, follow" always;
    add_header Cache-Control "no-store, no-cache, must-revalidate" always;
}

location /authority-sprint/ {
    try_files $uri $uri/ /authority-sprint/index.html;
    add_header X-Robots-Tag "index, follow" always;
    add_header Cache-Control "no-store, no-cache, must-revalidate" always;
}

location /challenge/ {
    try_files $uri $uri/ /challenge/index.html;
    add_header X-Robots-Tag "index, follow" always;
    add_header Cache-Control "no-store, no-cache, must-revalidate" always;
}

# ── CORS for Supabase fetch calls ────────────────────────────────
# Note: CORS is handled by Supabase settings, not Nginx.
# If you see CORS errors, verify www.ubgroup.asia is in
# Supabase → Settings → API → Additional allowed origins
!
After Any Nginx Config Change

Bhavneet

sudo nginx -t                  # Test config — must show "syntax is ok"
sudo systemctl reload nginx    # Apply changes without downtime

Section 09
Link Audit
Every internal and external link in the 4 campaign pages. Verify each URL is live before publishing.
Page(s) Link / Button Destination URL Action Required
All 4 Privacy Policy https://www.ubgroup.asia/privacy-policy/ ✅ Fixed in build — verify page exists
Campaign 4 (Challenge) Book Free Strategy Call https://ubgroup.asia/authority-audit ⚠️ Verify this page exists. If not, create it or redirect to /contact/
All 4 Follow UB Authority (LinkedIn) linkedin.com/company/unified-brainz-group-holdings-inc/ ✅ External — verify company page is active
All 4 Follow Passion Vista (LinkedIn) linkedin.com/company/passion-vista/ ✅ External — verify page is active
Campaign 1, 3, 4 @drgdsingh (Instagram) instagram.com/drgdsingh ✅ External — verify account is active
Campaign 2 @passionvista (Instagram) instagram.com/passionvista ✅ External — verify account is active
All 4 LinkedIn Share button linkedin.com/sharing/share-offsite/ (dynamic) ✅ Dynamic — no action needed
All 4 WhatsApp Share button wa.me/?text= (dynamic) ✅ Dynamic — no action needed
Campaign 1 Copy Link https://ubgroup.asia/invisible-leader-test ✅ Will work once page is live
Campaign 2 Copy Link https://ubgroup.asia/authority-wall ✅ Will work once page is live
Campaign 3 Copy Link https://ubgroup.asia/authority-sprint ✅ Will work once page is live
Campaign 4 Copy Link + Share https://ubgroup.asia/challenge ✅ Will work once page is live
Campaign 4 UB Logo (footer) https://gdsingh.com/wp-content/uploads/2024/02/UB-logo.png ⚠️ Hosted on gdsingh.com CDN — confirm stays accessible, or mirror to ubgroup.asia CDN
🔗
Critical: The page ubgroup.asia/authority-audit is linked from the Authority Challenge as the “Book Free Strategy Call” destination. If this page does not exist at go-live, update the link in UB_Authority_Challenge.html to point to /contact/ temporarily.

Section 10
Pre-Launch Checklist
Complete every item before publishing any of the 4 campaign pages. Items are grouped by who is responsible.

Phase 1 — Backend Setup (Bhavneet / IT)

  • Supabase credentials filled in all 4 HTML filesSUPABASE_URL, SUPABASE_ANON, BREVO_API_KEY replaced with real values in each campaign file

    IT

  • ub_leads table columns addedlinkedin_url, consent_marketing, entity columns confirmed present via SQL

    IT

  • Supabase RLS anon INSERT policy enabledCREATE POLICY “website_anon_insert” applied to ub_leads table

    IT

  • CORS origins added in Supabasehttps://www.ubgroup.asia and https://ubgroup.asia added to Supabase → Settings → API → Additional allowed origins

    IT

  • Brevo sender domain verifiedinfo@ubgroup.asia confirmed as verified sender in Brevo → Senders & IP

    IT

  • platform-website-bridge.js running on EC2The 60-second sync bridge that moves ub_leads rows into Platform CRM must be active

    IT

Phase 2 — WordPress Deployment (Developer)

  • 4 PHP template files created in active WP themepage-invisible-leader-test.php, page-authority-wall.php, page-authority-sprint.php, page-challenge.php

    Dev

  • 4 WP pages created with correct slugsinvisible-leader-test, authority-wall, authority-sprint, challenge — each assigned to its template

    Dev

  • SEO plugin not overriding baked-in metaYoast/RankMath set to Manual on all 4 campaign pages — canonical and OG tags are already in the HTML

    Dev

  • ubgroup.asia/authority-audit page existsLinked from the Authority Challenge “Book Free Strategy Call” button. Create or redirect if missing.

    Dev

  • ubgroup.asia/privacy-policy/ page existsAll 4 campaign pages link to this. Verify it is live and accessible.

    Dev

Phase 3 — Testing (Both)

  • Form submission test — Campaign 1 (Invisible Leader Test)Complete quiz → fill form → submit → verify row in Supabase ub_leads with source = ubgroup_campaign_invisible_leader_test

    Both

  • Form submission test — Campaign 2 (Authority Wall)Fill and submit form → verify row in ub_leads with source = ubgroup_campaign_authority_wall

    Both

  • Form submission test — Campaign 3 (Authority Sprint)Register → verify row in ub_leads with source = ubgroup_campaign_authority_sprint

    Both

  • Form submission test — Campaign 4 (Authority Challenge)Complete quiz → spin wheel → fill form → submit → verify row with score, stage, and prize data in message field

    Both

  • Brevo ACK email receivedUse a real test email address. Confirm ACK email arrives within 60 seconds of form submission.

    Both

  • Platform CRM lead appearsAfter 60–90 seconds, verify the test lead appears in the Platform CRM pipeline via the bridge sync

    IT

  • All 4 pages load correctly on mobile (iOS + Android)Test on both operating systems — quiz flows, animations, form validation, share buttons

    Dev

  • Google Analytics / GTM firing on all 4 pagesConfirm pageview events in GA4 Realtime when loading each campaign page

    IT

Phase 4 — Go Live

  • All Phase 1–3 checklist items tickedDo not proceed until every backend, deployment, and test item is confirmed

    Both

  • Publish all 4 WP pagesChange status from Draft to Published in WordPress for all 4 campaign pages simultaneously

    Dev

  • Confirm canonical URLs resolve correctlyVisit ubgroup.asia/invisible-leader-test/, /authority-wall/, /authority-sprint/, /challenge/ — all 4 must load

    Dev

  • Add campaign URLs to Google Search Console sitemapIn GSC → Sitemaps, request indexing for all 4 new URLs

    IT

  • Notify sales team (Vivek Panwar)Campaign pages are live. Leads with source ubgroup_campaign_* will begin appearing in CRM. Team to respond within 2 hours via WhatsApp: +91 84604 60777

    IT

Section 11
Complete Data Flow
End-to-end data journey from a visitor completing a campaign to the sales team receiving the lead.
Visitor completes
campaign flow
→
submitForm() called
(JS in HTML file)
→
ubInsertLead()
POST to Supabase
→
Row inserted:
ub_leads table
→
ubSendBrevoAck()
fires in parallel

↙
ACK email sent
to lead’s inbox
→
platform-bridge.js
(60s sync)
→
Platform CRM
pipeline
→
Sales team WA
within 2 hours

🔄
Best-effort architecture: If Supabase is temporarily unavailable, the campaign flow still advances (the user sees their result screen). If Brevo fails, the lead is already safely stored in Supabase. No action is blocked by backend failures — reliability is built into the design.

Section 12
Compliance Rules
Non-negotiable rules that apply to all 32 UB Group website pages. The campaign pages comply with all of these out of the box.
Rule Campaign Page Status Action If Violated
CIN in every page footer
Unified Brainz Virtuoso Limited | CIN: U74140GJ2014PLC078859
Confirmed ✓ All 4 pages have CIN in footer Add to footer immediately before publishing
No Dubai LLC entity in footer
Dubai entity is billing-only — never show on website
Confirmed ✓ Not present in any campaign page Remove if accidentally added
Privacy policy link must be absolute HTTPS
Never relative paths
Fixed ✓ All 4 now use https://www.ubgroup.asia/privacy-policy/ Fix any remaining relative privacy links
anon key only in frontend code
Never use service_role key in HTML/JS
Enforced ✓ Variable named SUPABASE_ANON with comment warning Rotate Supabase keys immediately if service_role key is ever exposed in frontend
Consent must be collected before marketing
All lead forms must have an explicit marketing consent checkbox
Present ✓ All 4 forms have consent field mapped to consent_marketing column Never remove or pre-check the consent checkbox
One warm introduction rule
Referral/tag data used only for a single personalised outreach — never repeated or added to lists without consent
Content preserved ✓ Disclaimer copy unchanged in all 4 files Do not change the disclaimer copy in the referral sections


One Ecosystem · Fourteen Institutions · Fifty Countries
Part of the Unified Brainz Ecosystem
Start Your Authority Journey — Request Free Assessment →