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

107
Views
Envío de clics en enlaces de Wisepops como eventos en Google Analytics

Estoy tratando de enviar eventos a Google Analytics usando devoluciones de llamada de Javascript, sin embargo, estoy luchando para que funcione. Cómo se ve el campo de devolución de llamada de javascript

he intentado usar

 ga('create', 'UA-4432704-1', 'auto'); ga('send', { hitType: 'event', eventCategory: 'Video', eventAction: 'play', eventLabel: 'cats.mp4' });

Y también:

 var clientId = ga.getAll()[0].get('clientId'); ga('create', 'UA-XXX-YYY', { 'clientId': clientId }); ga('send', 'event', { 'eventCategory': 'YOUR Category Name', //required 'eventAction': 'YOUR Action name', //required 'eventLabel': 'YOUR Label', 'eventValue': 1, 'hitCallback': function() { console.log('Sent!!'); //callback function }, 'hitCallbackFail' : function () { console.log("Unable to send Google Analytics data"); //callback function } });

Sin embargo, ambos no funcionan. ¿Hay algo más que deba probar? Compruebo si los eventos envían el informe en tiempo real por cierto. ¡Gracias!

about 4 years ago · Juan Pablo Isaza
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!