Analytics Code appearing on Home Page

0

For some reason the Google Analytics code is showing up on a client's home page and I'm not able to remove it from it. And at the same time, of course, I need to keep it running.

Thecodelookslikethis:onClick="ga('send', 'event', 'Forms', 'Click');"

It has been inserted at the end of the HTML editor inside the CMS. All content below is inside the BODY tag. And it looks like this:

<script type="text/javascript" async src="https://d335luupugsy2.cloudfront.net/js/loader-scripts/2c4203a9-ed9e-4af1-94f8-d40cb871826f-loader.js"></script><scripttype="text/javascript" src="https://d335luupugsy2.cloudfront.net/js/integration/stable/rd-js-integration.min.js"></script><scriptsrc="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script type="text/javascript">

function sendContactToRD(event){
  event.preventDefault();
  var form = jQuery(event.target).closest('form');
  var data_array = form.find(':input').serializeArray();
  data_array.push(
    { name: 'identificador', value: 'Contato' },
    { name: 'token_rdstation', value: '3b186d9de846a1105cb4fe3ef63b8e95' }
  );
  RdIntegration.post(data_array, function(){
    buttonContato.unbind('click', sendContactToRD).click();
    buttonContato.bind('click', sendContactToRD);
    return false;
  });
}

jQuery(document).ready(function(){
buttonContato = jQuery(':submit');
buttonContato.bind('click', sendContactToRD);
});
</script>

<!-- Google Code for Espa&ccedil;o Exato - Tag de Convers&atilde;o Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 968350051;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "j1WcCImatnIQ47LfzQM";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/968350051/?label=j1WcCImatnIQ47LfzQM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
<!-- Código do Google para tag de remarketing -->
<!--------------------------------------------------
As tags de remarketing não podem ser associadas a informações pessoais de identificação nem inseridas em páginas relacionadas a categorias de confidencialidade. Veja mais informações e instruções sobre como configurar a tag em: http://google.com/ads/remarketingsetup
--------------------------------------------------->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 968350051;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/968350051/?guid=ON&amp;script=0"/>
</div>
</noscript>

onClick="ga('send', 'event', 'Forms', 'Click');"

And finally, the code appears there in the upper left corner of the home page in this way:

I apologize if it's a beast question (I did not find a solution on Google) or something stupid, this is my first topic. Thank you in advance.

    
asked by anonymous 14.08.2017 / 23:05

0 answers