Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    Looks like you have an unclosed <script> tag on your Spice Solar site:

    
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-76155210-1', 'auto');
      ga('send', 'pageview');<link rel='stylesheet' id='sfwp2lcss-css'  href='https://www.spicesolar.com/wp-content/plugins/salesforce-wordpress-to-lead/assets/css/sfwp2l.css?ver=4.7.5' type='text/css' media='all' />
    <script type='text/javascript' src='https://www.spicesolar.com/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-global-functions.js?ver=3.0.51'></script>

    You’ll see this bit inside the GA script tag, which causes the browser to interpret it as Javascript instead of HTML.

    <link rel='stylesheet' id='sfwp2lcss-css' href='https://www.spicesolar.com/wp-content/plugins/salesforce-wordpress-to-lead/assets/css/sfwp2l.css?ver=4.7.5' type='text/css' media='all' />

    The plugin enqueues the CSS correctly, so I’m guessing your theme or something else is injecting an incomplete tag just before it. Adding the missing </script> in the page inspector fixes the issue.

    Thread Starter garymull

    (@garymull)

    Thanks Nick.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form Format Lost’ is closed to new replies.