I can see the real-time event in Google Analtyics, but I never see the conversion (conversion not seen real-time, and not seen in reporting after weeks). I have a listener on the submit button:
document.getElementById('id123-button-send').addEventListener("click", myFunction);
function myFunction() {
// alert ("Hello World!");
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-65998846-1', 'auto', 'mytracker');
ga('mytracker.send', 'pageview');
ga('mytracker.send', 'event', 'Forms', 'Submit', 'Request a Free Estimate');
}
My goal setup: Custom Event, Type=Event, details:
This shows an event in real-time.
Since I see it in Analytics as an event, why would it not also show as a conversion if the goal is set up properly? What is my next troubleshooting technique? Analytics dashboard and external JS code:
Goal Definition:
It looks like your goal has been configured to expect a value
of 1, but you are not sending that in your event:
ga('mytracker.send', 'event', 'Forms', 'Submit', 'Request a Free Estimate');
You should either add the value to your event call, or remove it from your goal. Note the fineprint when creating your goal:
Set one or more conditions. A conversion will be counted if all of the conditions you set are true when an Event is triggered.
This means that you could set as little as the category itself if you want more similar type goals to be captured, or as as much as you want if you want to be very specific about the goal you want to capture.