Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
gtag_report_conversion no cuenta en ADS con wpforms

Mis anuncios de Google no cuentan conversiones.

Estoy usando este código, estoy seguro de que se ha llamado a esta función, porque si pongo una alerta en gtag_report_conversion, la página muestra la alerta.

Pero no tengo idea de por qué los anuncios no cuentan las conversiones.

He hablado con dos equipos de gtag, pero ninguno sabe cómo solucionarlo.

 var callback = function () { if (typeof(url) != 'undefined') { //window.location = url; } }; gtag('event', 'conversion', { 'send_to': 'AW-*****/*******', 'event_callback': callback }); return false; } var el = document.getElementById('wpforms-submit-322'); if (el){ el.addEventListener("click", gtag_report_conversion); }

ACTUALIZACIÓN 16/11/2021:

Cambié el código y trabajé durante 1 día, luego me detuve nuevamente:

 jQuery('#wpforms-submit-322').attr('type', 'button'); jQuery('#wpforms-submit-322').on('click', function(e) { e.preventDefault(); const $form = jQuery('#wpforms-form-322'); if ($form.valid()) { gtag('event', 'conversion', { 'send_to': '*******/*******', 'event_callback': function() { console.log('enviado.'); jQuery('#wpforms-form-322').trigger('submit'); } }); } });

Solución: Problema con los anuncios, simplemente cree una nueva etiqueta de conversión y use la nueva.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Solución: Problema con los anuncios, simplemente cree una nueva etiqueta de conversión y use la nueva.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!