Cek Funnel Stage

Cek Convert Stage

select_convert.sql
select 

"timestamp", 
source, medium,
phone, name, contact_owner, assigned_pic, leads_qualification, 
"is_inbound?",leads_date, "is_leads?",mql_date, "is_mql?","mqlPlus_date", "is_mqlPlus?","tourPlus_date", "is_tourPlus?","trialPlus_date", "is_trialPlus?",convert_date, "is_convert?",

tour_date,"is_tour_show?", trial_date, "is_trial_show?", last_appt_category

from public.leads
WHERE convert_date IS NOT NULL
  AND (
    leads_date IS NULL 
    OR mql_date IS NULL 
    OR "mqlPlus_date" IS NULL 
    OR "tourPlus_date" IS NULL 
    OR "trialPlus_date" IS NULL 
    OR "is_leads?" IS NULL 
    OR "is_leads?" = FALSE 
    OR "is_mql?" IS NULL 
    OR "is_mql?" = FALSE 
    OR "is_mqlPlus?" IS NULL 
    OR "is_mqlPlus?" = FALSE 
    OR "is_tourPlus?" IS NULL 
    OR "is_tourPlus?" = FALSE 
    OR "is_trialPlus?" IS NULL 
    OR "is_trialPlus?" = FALSE 
    OR "is_convert?" IS NULL 
    OR "is_convert?" = FALSE
  );

Cek Trial+ Stage

cek_funnel_trialPlus.sql
select 

"timestamp", 
source, medium,
phone, name, contact_owner, assigned_pic, leads_qualification, 
"is_inbound?",leads_date, "is_leads?",mql_date, "is_mql?","mqlPlus_date", "is_mqlPlus?","tourPlus_date", "is_tourPlus?","trialPlus_date", "is_trialPlus?",convert_date, "is_convert?",

tour_date,"is_tour_show?", trial_date, "is_trial_show?", last_appt_category

from public.leads
WHERE "trialPlus_date" IS NOT NULL
  AND (
    leads_date IS NULL 
    OR mql_date IS NULL 
    OR "mqlPlus_date" IS NULL 
    OR "tourPlus_date" IS NULL 
    OR "trialPlus_date" IS NULL 
    OR "is_leads?" IS NULL 
    OR "is_leads?" = FALSE 
    OR "is_mql?" IS NULL 
    OR "is_mql?" = FALSE 
    OR "is_mqlPlus?" IS NULL 
    OR "is_mqlPlus?" = FALSE 
    OR "is_tourPlus?" IS NULL 
    OR "is_tourPlus?" = FALSE 
    OR "is_trialPlus?" IS NULL 
    OR "is_trialPlus?" = FALSE 
  )
  order by "trialPlus_date" asc;

Cek Tour+ Stage

cek_funnel_tourPlus.sql
select 

"timestamp", 
source, medium,
phone, name, contact_owner, assigned_pic, leads_qualification, 
"is_inbound?",leads_date, "is_leads?",mql_date, "is_mql?","mqlPlus_date", "is_mqlPlus?","tourPlus_date", "is_tourPlus?","trialPlus_date", "is_trialPlus?",convert_date, "is_convert?",

tour_date,"is_tour_show?", trial_date, "is_trial_show?", last_appt_category

from public.leads
where "tourPlus_date" is not null and (leads_date is null OR mql_date is null OR "mqlPlus_date" is null OR
"is_leads?" = NULL OR "is_leads?" = FALSE OR
"is_mql?" = NULL OR "is_mql?" = FALSE OR
"is_mqlPlus?" = NULL OR "is_mqlPlus?" = FALSE OR
"is_tourPlus?" = NULL OR "is_tourPlus?" = FALSE
)
order by "tourPlus_date" asc

Cek MQL+ Stage

cek_funnel_mqlPlus.sql
select 

"timestamp", 
source, medium,
phone, name, contact_owner, assigned_pic, leads_qualification, 
"is_inbound?",leads_date, "is_leads?",mql_date, "is_mql?","mqlPlus_date", "is_mqlPlus?","tourPlus_date", "is_tourPlus?","trialPlus_date", "is_trialPlus?",convert_date, "is_convert?",

tour_date,"is_tour_show?", trial_date, "is_trial_show?", last_appt_category

from public.leads
where "mqlPlus_date" is not null and (leads_date is null OR mql_date is null OR
"is_leads?" = NULL OR "is_leads?" = FALSE OR
"is_mql?" = NULL OR "is_mql?" = FALSE OR
"is_mqlPlus?" = NULL OR "is_mqlPlus?" = FALSE
)
order by "mqlPlus_date" asc

Cek MQL Stage

cek_funnel_mql.sql
select 

"timestamp", 
source, medium,
phone, name, contact_owner, assigned_pic, leads_qualification, 
"is_inbound?",leads_date, "is_leads?",mql_date, "is_mql?","mqlPlus_date", "is_mqlPlus?","tourPlus_date", "is_tourPlus?","trialPlus_date", "is_trialPlus?",convert_date, "is_convert?",

tour_date,"is_tour_show?", trial_date, "is_trial_show?", last_appt_category

from public.leads
where mql_date is not null and (leads_date is null OR
"is_leads?" = NULL OR "is_leads?" = FALSE OR
"is_mql?" = NULL OR "is_mql?" = FALSE
)
order by mql_date asc

Cek Leads Stage

cek_funnel_leads.sql
select 

"timestamp", 
source, medium,
phone, name, contact_owner, assigned_pic, leads_qualification, 
"is_inbound?",leads_date, "is_leads?",mql_date, "is_mql?","mqlPlus_date", "is_mqlPlus?","tourPlus_date", "is_tourPlus?","trialPlus_date", "is_trialPlus?",convert_date, "is_convert?",

tour_date,"is_tour_show?", trial_date, "is_trial_show?", last_appt_category

from public.leads
where leads_date is not null and ("is_leads?" is null OR "is_leads?" = FALSE)
order by leads_date asc

Last updated