Testing on localhost

When trying to test locally, I’ve set the following in my tracker code:

  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  _paq.push(['trackAllContentImpressions']);
  _paq.push(['logAllContentBlocksOnPage']);

I’ve also added data-track-content to one of my HTML elements.

Should I now be able to see logs in the console automatically? Is there something I’m missing?

Hi there,

I am not sure what do you mean by log. Do you mean the visitor log report?

Sorry I mean console logs in something like Chrome Dev Tools.

Oh great, then @Lukas should be able to help you as he knows well how the dev console is working.

Actually, I think it’s working now. Not sure why though.

It works if I comment out _paq.push(['trackAllContentImpressions']); but with it, I get CORS policy error.