www.ubgroup.asia
Server: AWS EC2 t3.medium, Mumbai
Stack: Nginx + WordPress 6.x + SSL
Email: info@ubgroup.asia
28 existing UB Group pages
+ 4 new campaign pages
= 32 total pages
All backend-integrated, SEO-ready
Supabase (PostgreSQL, Mumbai)
Brevo (transactional email)
Razorpay (INR) / Stripe (USD)
Platform CRM (60s sync bridge)
| # | 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.
| 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 |
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
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 |
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).
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.
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 Dashboard → Select project “ub-authority-crm” → Settings → API
Copy:
• Project URL
• anon / public key
Never use the service_role key in frontend code.
Brevo → Click your name top-right → SMTP & API → API Keys
Create a new key named: ubgroup-campaigns-2026
Copy the key starting with xkeysib-
Supabase → Settings → API → Additional allowed origins
Add:https://www.ubgroup.asiahttps://ubgroup.asia
Without this, the fetch() call will be blocked by the browser.
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();
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;
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 |
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).
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.
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 */
# 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
Bhavneet
sudo nginx -t # Test config — must show "syntax is ok"
sudo systemctl reload nginx # Apply changes without downtime
| 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 |
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.IT
IT
IT
IT
IT
IT
Dev
Dev
Dev
Dev
Dev
Both
Both
Both
Both
Both
IT
Dev
IT
Both
Dev
Dev
IT
IT
| 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 |