0

When I used just Google anylytics I simply pushed event like this:

_gaq.push(['_trackEvent', 'Category', 'Action', 'Opt Label');

So now I switched to Google Tag Manager. I added new tag Google analytics and selected Universal Analytics. I also inserted Google Tag Manager code to my page. I read that from now I can push events like this:

dataLayer.push({
    'event': 'GAevent',
    'eventCategory': 'print',
    'eventAction': 'print_bottom',
    'eventLabel': 'documentname'
});

But this doesn't work, event is not displayed inside Google Analytics. Am I missing something?

0

Just found out that you can not send event to google analytics with GTM without making some extra settings inside GMT. This is a great tutorial about it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.