icon-call
Find Your Agent
Search Please enter a zip code or agent name

Join Now

Tell us a little bit about yourself and we’ll get you connected to the right team member for you.









const updateFormWithURLParams = (url) => { let query = url.substring(url.indexOf('?') + 1); //query = query.replace('utm_source', '012C00000007j8O').replace('utm_medium', '00N3c000008eBmU').replace('utm_campaign', '00N3c000008eBmR').replace('utm_term', '00N3c000008eBmW').replace('utm_content', '00N3c000008eBmT').replace('gclid', '00N3c000008eBmS'); let vars = query.split('&'); var urlParms = [{"urlParameter":"tfa_153","salesforceFieldId":"tfa_153","utmSource":"","fieldType":"hidden","description":"Owner for Import"},{"urlParameter":"first_name","salesforceFieldId":"first_name","utmSource":"","fieldType":"text","description":"First Name"},{"urlParameter":"last_name","salesforceFieldId":"last_name","utmSource":"","fieldType":"text","description":"Last Name"},{"urlParameter":"email","salesforceFieldId":"email","utmSource":"","fieldType":"text","description":"Email"},{"urlParameter":"phone","salesforceFieldId":"phone","utmSource":"","fieldType":"text","description":"Phone"},{"urlParameter":"city","salesforceFieldId":"city","utmSource":"","fieldType":"text","description":"City"},{"urlParameter":"state","salesforceFieldId":"state","utmSource":"","fieldType":"dropdown","description":"State"},{"urlParameter":"00N80000003tP0g","salesforceFieldId":"00N80000003tP0g","utmSource":"","fieldType":"hidden","description":"Lead Source Detail"},{"urlParameter":"utm_source","salesforceFieldId":"tfa_32","utmSource":"","fieldType":"hidden","description":"utm_source"},{"urlParameter":"utm_medium","salesforceFieldId":"tfa_30","utmSource":"","fieldType":"hidden","description":"utm_medium"},{"urlParameter":"utm_campaign","salesforceFieldId":"tfa_33","utmSource":"","fieldType":"hidden","description":"utm_campaign"},{"urlParameter":"utm_term","salesforceFieldId":"tfa_31","utmSource":"","fieldType":"hidden","description":"utm_term"},{"urlParameter":"utm_content","salesforceFieldId":"tfa_35","utmSource":"","fieldType":"hidden","description":"utm_content"},{"urlParameter":"gclid","salesforceFieldId":"tfa_36","utmSource":"","fieldType":"hidden","description":"gclid"},{"urlParameter":"00N3c000008eBmV","salesforceFieldId":"00N3c000008eBmV","utmSource":"","fieldType":"hidden","description":""},{"urlParameter":"00NC0000005KXr3","salesforceFieldId":"00NC0000005KXr3","utmSource":"","fieldType":"hidden","description":""},{"urlParameter":"guid","salesforceFieldId":"tfa_37","utmSource":"","fieldType":"hidden","description":"guid"},{"urlParameter":"frb","salesforceFieldId":"00N3c0000072rv4","utmSource":"","fieldType":"hidden","description":"Referred By"},{"urlParameter":"keyword","salesforceFieldId":"tfa_34","utmSource":"","fieldType":"hidden","description":"keyword"},{"urlParameter":"tfa_100","salesforceFieldId":"tfa_100","utmSource":"","fieldType":"hidden","description":"Record Type ID"},{"urlParameter":"tfa_40","salesforceFieldId":"tfa_40","utmSource":"","fieldType":"hidden","description":"Referred By"},{"urlParameter":"tfa_39","salesforceFieldId":"tfa_39","utmSource":"","fieldType":"hidden","description":"Honey Pot"},{"urlParameter":"tfa_101","salesforceFieldId":"tfa_101","utmSource":"","fieldType":"hidden","description":"Lead ID"},{"urlParameter":"tfa_104","salesforceFieldId":"tfa_104","utmSource":"","fieldType":"hidden","description":"Description"},{"urlParameter":"tfa_103","salesforceFieldId":"tfa_103","utmSource":"","fieldType":"hidden","description":"Account ID"},{"urlParameter":"tfa_105","salesforceFieldId":"tfa_105","utmSource":"","fieldType":"hidden","description":"Lead Owner ID"},{"urlParameter":"tfa_102","salesforceFieldId":"tfa_102","utmSource":"","fieldType":"hidden","description":"Contact ID"},{"urlParameter":"tfa_106","salesforceFieldId":"tfa_106","utmSource":"","fieldType":"hidden","description":"Account Marketing Source"},{"urlParameter":"tfa_109","salesforceFieldId":"tfa_109","utmSource":"","fieldType":"hidden","description":"Account Marketing Campaign"},{"urlParameter":"tfa_110","salesforceFieldId":"tfa_110","utmSource":"","fieldType":"hidden","description":"Account Marketing Lead Source"},{"urlParameter":"tfa_112","salesforceFieldId":"tfa_112","utmSource":"","fieldType":"hidden","description":"Account Marketing Medium"},{"urlParameter":"tfa_113","salesforceFieldId":"tfa_113","utmSource":"","fieldType":"hidden","description":"Account Marketing Content"},{"urlParameter":"tfa_29","salesforceFieldId":"tfa_29","utmSource":"","fieldType":"hidden","description":"Lead Source"},{"urlParameter":"tfa_30","salesforceFieldId":"tfa_30","utmSource":"","fieldType":"hidden","description":"Medium (utm_medium)"},{"urlParameter":"tfa_33","salesforceFieldId":"tfa_33","utmSource":"","fieldType":"hidden","description":"Campaign (utm_campaign)"},{"urlParameter":"tfa_35","salesforceFieldId":"tfa_35","utmSource":"","fieldType":"hidden","description":"Content (utm_content)"},{"urlParameter":"tfa_32","salesforceFieldId":"tfa_32","utmSource":"","fieldType":"hidden","description":"Marketing Source(utm_source)"},{"urlParameter":"tfa_31","salesforceFieldId":"tfa_31","utmSource":"","fieldType":"hidden","description":"Marketing Term(utm_term)"},{"urlParameter":"tfa_34","salesforceFieldId":"tfa_34","utmSource":"","fieldType":"hidden","description":"Marketing Keyword(keyword)"},{"urlParameter":"tfa_36","salesforceFieldId":"tfa_36","utmSource":"","fieldType":"hidden","description":"Marketing Click id(gclid)"},{"urlParameter":"tfa_37","salesforceFieldId":"tfa_37","utmSource":"","fieldType":"hidden","description":"Marketing Guid(guid)"}]; for (let i = 0; i < vars.length; i++) { let pair = vars[i].split('='); if (pair.length > 1) { var decodeValue = decodeURIComponent(pair[1]); $.each(urlParms, function (item) { if (this.fieldType == 'hidden' && this.urlParameter == pair[0]) { $('').attr({ type: 'hidden', id: `${this.salesforceFieldId}`, name: `${this.salesforceFieldId}`, value: `${decodeValue}` }).appendTo('.url-paramter-update'); } else if (this.fieldtype == 'text' && this.urlParameter == pair[0]) { $(`input[name=${this.salesforceFieldId}]`).val(decodeValue) } else if (this.fieldtype == 'dropdown' && this.urlParameter == pair[0]) { $(`select#${this.salesforceFieldId}`).val(decodeValue) } else if (this.fieldtype == 'textarea' && this.urlParameter == pair[0]) { $(`textarea[name=${this.salesforceFieldId}]`).val(decodeValue) } }); } } //$('#00N3c000008eBmV').val($('#012C00000007j8O').val()); } $(document).ready(() => { updateFormWithURLParams(window.location.href); $('#first_name').keypress(function (e) { var regex = new RegExp(/^[a-zA-Z\s]+$/); var strigChar = String.fromCharCode(!e.charCode ? e.which : e.charCode); if (regex.test(strigChar)) { return true; } return false }); $('#last_name').keypress(function (e) { var regex = new RegExp(/^[a-zA-Z\s]+$/); var strigChar = String.fromCharCode(!e.charCode ? e.which : e.charCode); if (regex.test(strigChar)) { return true; } return false }); $('#city').keypress(function (e) { var regex = new RegExp(/^[a-zA-Z\s]+$/); var strigChar = String.fromCharCode(!e.charCode ? e.which : e.charCode); if (regex.test(strigChar)) { return true; } return false }); $("#tfa_6").keypress(function (e) { if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) { return false; } }); var em; var ph; $('#tfa_5').on('change', async function () { if (/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test($('#tfa_5').val())) { $('#error_email').hide(); em = await hash($('#tfa_5').val()); return (true) } $('#error_email').show(); $('#tfa_5').val(''); return (false) }); $('#tfa_6').on('change', async function () { ph = await hash($('#tfa_6').val()); }); $('#submit_button').click(function () { var states = ["AZ","OH","WI","ID","OR","UT","FL","CA","TN","VA"]; if (states.length > 0) { var selectedState = $("#tfa_7 option:selected").text(); var st = states.find(x => x === selectedState) //states[$('#tfa_7').val()]; var brokerage = $("#tfa_23 option:selected").text(); if (st != undefined && st != null && st != '' && brokerage != '' && brokerage == 'No') { $('#tfa_117').val('http://www.goosehead.com/book-a-meeting-success-page/?t=w&tm='+st); } } window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'formSubmit', 'tfa_5': em, 'tfa_6': ph, 'form_name': 'long form' }); }); function hash(string) { const utf8 = new TextEncoder().encode(string); return crypto.subtle.digest('SHA-256', utf8).then((hashBuffer) => { const hashArray = Array.from(new Uint8Array(hashBuffer)); const hashHex = hashArray.map(bytes => bytes.toString(16).padStart(2, '0')).join(''); return hashHex; }); } })

Notice of Rights to Opt Out of Sale/Sharing

The Digital Agent is under maintenance

Please defer to our insurance type form to get in touch with an agent.