I am attempting to send an event to Google Universal Analytics:
ga('send', {
hitType: 'event',
eventCategory: 'calculator-interaction',
eventAction: 'click',
eventLabel: 'calculate-button'
});
but I am getting the following error:
Running command: ga("send", [object Object])
analytics.js:31 Command ignored. Unknown target: undefined
The Google Universal Analytics is being included in the page via Google Tag Manager if that makes a difference?