• Resolved wpfiend

    (@wpfiend)


    Hello Support.

    I have tested this with 2 forms on a page and with only one form on a page.

    The name field is not being saved inside MailChimp. (The email address field is saving just fine.)

    Can you please tell me how I can fix this…??

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @wpfiend,

    MailChimp accepts the first name and last name as separate fields.

    In order to have one field shown but actually populate the 2 fields for MailChimp we use some JavaScript to split the value of the shown field to get the separate first name and last name.

    But I see JavaScript errors on your site, which means that JavaScript functionality gets broken for all JavaScript code that comes after the error.

    The issue is that you have google site verification code inside of a <script> tag. It’s a <meta> tag so it should not be inside of <script>

    I’m assuming you are using some plugin to insert code into header, so go there and make sure the <meta name="google-site-verification"...> is not wrapped inside of <script></script>

    Thread Starter wpfiend

    (@wpfiend)

    Hello.

    Thanks for the response.

    The Google Site Verification tag is not inside a script-tag.

    I have included what we are trying to insert into the header:

    <meta name="google-site-verification" content="tnX7vyTXXXXXXXXXXvVpc" />
    <!-- Google tag (gtag.js) -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-FXXXXXXXXS3"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'G-FGXXXXXXXX3');
    </script>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "name": "Collateral Evaluation Services",
      "alternateName": "CES Valuations",
      "url": "https://cesvaluations.com/",
      "logo": "https://cesvaluations.com/wp-content/uploads/2021/11/CES_300px-1.png",
      "description":"Collateral Evaluation Services is the standard of excellence in real estate appraisal management. We combine industry thought-leadership, years of dedicated experience, cutting edge technology and operational excellence to provide superior real estate evaluation services.",
        "address": {
        "@type": "PostalAddress",
        "streetAddress": "590 Colonial Park Dr.",
        "addressLocality": "Roswell",
        "addressRegion": "GA",
        "postalCode": "30075",
        "addressCountry": "US"
      },  
      "sameAs": [
        "https://www.facebook.com/CESvaluations/",
        "https://twitter.com/CESvaluations",
        "https://www.linkedin.com/company/collateral-evaluation-services/"
      ]
    }
    </script>
    <meta property="og:title" content="Your Virtual Appraisal Department?">
    <meta property="og:site_name" content=>
    <meta property="og:url" content="https://cesvaluations.com/">
    <meta property="og:description" content="CES helps financial institutions throughout the United States with due diligence on all types of loan collateral by serving as their “Virtual Appraisal Department?”. We seamlessly integrate into the fabric of your daily banking operations, eliminating the need for an in-house real estate evaluation management program. Our credentials and deep experience change the way you do business and drive significant cost savings.">
    <meta property="og:type" content=website>
    <meta property="og:image" content=https://cesvaluations.com/wp-content/uploads/2022/08/CESOpenGraphImage1.png>
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="@CESvaluations" />
    <meta name="twitter:creator" content="@CESvaluations" />
    <meta name="twitter:title" content="CES | Your Virtual Appraisal Department?" />
    <meta name="twitter:description" content="CES helps financial institutions throughout the United States with due diligence on all types of loan collateral by serving as their “Virtual Appraisal Department?”." />
    <meta name="twitter:image" content="https://cesvaluations.com/wp-content/uploads/2022/08/CESOpenGraphImage1.png" />

    Thanks in advance.

    Plugin Author WPKube

    (@wpkube)

    Hi @wpfiend

    This is on line 171 of the source code of homepage:

    <script><meta name="google-site-verification" content="..." /></script>

    It’s just before the </head> closing tag.

    The error from the developer console:

    domain.com/:171 Uncaught SyntaxError: Unexpected token '<'

    • This reply was modified 2 years, 1 month ago by WPKube.
    Thread Starter wpfiend

    (@wpfiend)

    Hello.

    Thanks for checking.

    I have done what you have mentioned above.

    Will you please check and see if you see any more errors…??

    Thanks again.

    Thread Starter wpfiend

    (@wpfiend)

    I now see a JS error for this plugin. Something about “jQuery not defined”.

    Please advise.

    Thanks.

    Plugin Author WPKube

    (@wpkube)

    Hi @wpfiend

    Yeah, the JS error for the meta element inside of script is resolved now.

    And for the issue with the jQuery not defined, the problem is that the JS file from the plugin is loaded before the JS file for jQuery library.

    By default jQuery loads first, the <script> tag for it is located at the top, inside of <head> but in your case it’s loaded at the bottom, before the closing </body> tag.

    Either the theme or some plugin you use moves it to the bottom but does not move all the JS files with it, which is a bit odd.

    But we can resolve that from our side, we’ll force our JS file to load at the end. An update for the plugin will be released today.

    Plugin Author WPKube

    (@wpkube)

    Hi @wpfiend

    An update has been released, version 1.3.0

    Can you please update and check if the JS error (jQuery not defined) is gone and the name field values are passed correctly.

    Thread Starter wpfiend

    (@wpfiend)

    Hello @wpkube.

    Yes, it is indeed working as it should, after I made the latest update.

    Thank you for jumping on this so quickly.

    All the best.

    Plugin Author WPKube

    (@wpkube)

    Hi @wpfiend

    Great, happy to hear it worked out.

    You’re welcome.

    Thanks, all the best to you as well.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Name field is not saving’ is closed to new replies.