*
Nome
*
Número de Whatsapp
*
E-mail
*
Faturamento Mensal nos Marketplaces
Ainda não vendemos nos marketplaces
0 a R$ 5.000
R$ 5.000 a R$ 15.000
R$ 15.000 a R$ 40.000
R$ 40.000 a R$ 60.000
R$ 60.000 a R$ 100.000
R$ 100.000 a R$ 300.000
R$ 300.000 a R$ 500.000
R$ 500.000 a R$ 1 Milhão
R$ 1 Milhão a R$ 5 Milhões
Acima de R$ 5 Milhões
Mercado Livre + Shopee + Amazon + Magalu
*
Faturamento Mensal no Físico
Não temos empresa física / Não vendemos no físico
0 a R$ 15.000
R$ 15.000 a R$ 60.000
R$ 60.000 a R$ 100.000
R$ 100.000 a R$ 300.000
R$ 300.000 a R$ 500.000
R$ 500.000 a R$ 1 Milhão
R$ 1 Milhão a R$ 5 Milhões
Acima de R$ 5 Milhões
Loja Física + Distribuição + Atacado + Revenda
*
Cargo
Sócio ou Fundador
Diretor
Gerente
Coordenador
Supervisor
Analista
utm_source
utm_medium
utm_content
utm_campaign
utm_term
utm_placement
Enviar
Aprenda com quem
vive os marketplaces na prática!
Após o envio do formulário, nosso time
entra em contato
para entender sua operação, seu momento e seus objetivos nos marketplaces.
Com base nesse diagnóstico, indicamos o caminho mais coerente para o seu nível atual e para onde você quer chegar.
Todos os direitos reservados a Icomm Consultoria de Marketplaces
console.log('[ICOMM Tracking] Script carregado v1.1'); var EDGE_FUNCTION_URL = 'https://kyzwlnetuhrgixisjetx.supabase.co/functions/v1/qualify-lead'; var TYP01_URL = 'https://forms.icommescola.com.br/obrigado-mql'; var TYP02_URL = 'https://lp.icommescola.com.br/lp-icommacademyef'; var PIXEL_ID = '1148407833832711'; function URLToArray(url) { var request = {}; if (url.indexOf('?') !== -1) { url = encodeURI(url); var pairs = url.substring(url.indexOf('?') + 1).split('&'); for (var i = 0; i < pairs.length; i++) { if (!pairs[i]) continue; var pair = pairs[i].split('='); if (pair[1] == undefined || pair[1] == '') { request[decodeURIComponent(pair[0])] = ''; } else { try { request[decodeURIComponent(pair[0])] = decodeURIComponent(unescape(pair[1])); } catch (e) { request[decodeURIComponent(pair[0])] = pair[1]; } } } } return request; } function getCookie(name) { var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); return match ? match[2] : null; } function getFBC() { var fbc = getCookie('_fbc'); if (fbc) return fbc; var params = URLToArray(window.location.href); if (params.fbclid) { var ts = Math.floor(Date.now() / 1000); return 'fb.1.' + ts + '.' + params.fbclid; } return null; } function generateEventId() { return 'evt_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9); } function CamposUTM(modal) { if (modal == undefined) { modal = false; } var formularios = Array.from(document.querySelectorAll((modal ? '.gpc_modal ' : '') + 'form')); var utm = URLToArray(window.location.href); var link_usar = ''; if (Object.entries(utm).length) { for (var key in utm) { link_usar += key + '=' + utm[key] + '&'; } if (link_usar.length) { link_usar = link_usar.substr(0, link_usar.length - 1); } } formularios.forEach(function(formulario) { $(formulario).find('.gpc_campo').each(function(i, campo) { var valor = $(campo).val(); if (valor.indexOf('{') != -1 && valor.indexOf('}') != -1) { var valor_limpo = valor.replace('{', '').replace('}', ''); utm.hasOwnProperty(valor_limpo) ? $(campo).val(utm[valor_limpo]) : $(campo).val(''); } }); var botao = $(formulario).find('.gpc_botao'); if (botao.attr('gpc-link') !== undefined && botao.attr('gpc-link') !== '') { var concatenar = botao.attr('gpc-link').indexOf('?') !== -1 ? '&' : '?'; botao.attr('gpc-link', botao.attr('gpc-link') + concatenar + link_usar); } }); if (link_usar != '') { var botoes = Array.from(document.querySelectorAll((modal ? '.gpc_modal ' : '') + '.link_externo')); botoes.forEach(function(link) { $(link).each(function(i, href) { if ($(href).attr('href') !== undefined && $(href).attr('href') !== '') { var concatenar = $(href).attr('href').indexOf('?') !== -1 ? '&' : '?'; $(href).attr('href', $(href).attr('href') + concatenar + link_usar); } }); }); } } var _formProcessing = false; function processarFormulario(form) { if (_formProcessing) return; _formProcessing = true; var btn = form.find('.gpc_botao, button[type="submit"], input[type="submit"]'); btn.prop('disabled', true).text('Aguarde...'); var utm = URLToArray(window.location.href); var eventId = generateEventId(); var dados = { nome: (form.find('input[name="nome"]').val() || '').trim(), whatsapp: (form.find('input[name="nmero-de-whatsapp"]').val() || '').trim(), email: (form.find('input[name="e-mail"]').val() || '').trim(), fat_marketplaces: (form.find('select[name="faturamento-mensal-nos-marketplaces"]').val() || '').trim(), fat_fisico: (form.find('select[name="faturamento-mensal-no-fsico"]').val() || '').trim(), cargo: (form.find('select[name="cargo"]').val() || '').trim(), event_id: eventId, fbp: getCookie('_fbp'), fbc: getFBC(), user_agent: navigator.userAgent, source_url: window.location.href, utm_source: utm.utm_source || '', utm_medium: utm.utm_medium || '', utm_campaign: utm.utm_campaign || '', utm_content: utm.utm_content || '', utm_term: utm.utm_term || '' }; console.log('[ICOMM Tracking] Dados capturados:', dados); if (typeof fbq !== 'undefined') { fbq('track', 'Lead', { content_name: 'Consultoria ICOMM' }, { eventID: eventId }); } fetch(EDGE_FUNCTION_URL, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(dados) }) .then(function(response) { return response.json(); }) .then(function(result) { console.log('[ICOMM Tracking] Resultado:', result); window.location.href = result.mql ? TYP01_URL : TYP02_URL; }) .catch(function(err) { console.error('[ICOMM Tracking] Erro:', err); window.location.href = TYP02_URL; }); } $(document).on('submit', 'form', function(e) { var form = $(this); if (form.find('select[name="cargo"]').length === 0) return; e.preventDefault(); e.stopImmediatePropagation(); processarFormulario(form); }); $(document).on('click', '.gpc_botao', function(e) { var form = $(this).closest('form'); if (!form.length) return; if (form.find('select[name="cargo"]').length === 0) return; e.preventDefault(); e.stopImmediatePropagation(); processarFormulario(form); }); CamposUTM(); $('body').on('click', '.link_popup', function() { setTimeout(function() { CamposUTM(true); }, 200); });