In the Google Chrome Developer tools, I have output from the Google Analytics debugger extension that dumps too much output into my console.

enter image description here

I am aware that there is a filter to allow you to filter messages. However, a large part of what the Google Analytics debugger outputs are statements enclosed by console.group and console.groupend.

Second image showing filtered console

enter image description here

As you can see, while a bunch of text inside the collapsed groups is hidden, the groups themselves are not, and there are currently a few hundred of those that are making it difficult for me to find my debug messages

While I can use the filter to filter out the text in the group, is there a way to filter out the group bars as well?

  • Is your webpage loading analytics multiple times? Maybe via frames or other references that would cause it to load too many times? – HackSlash Feb 28 '18 at 17:29

No one actually answered your question, and the answer is that it's an open bug.


| improve this answer | |
  • also please star the chrome bug an comment so it gets more visibility – David Dehghan Mar 18 '19 at 1:05

I'm not sure what version of Chrome you're using but mine has an option in the console of whether or not to group similar.

chrome console

If I disable that option it won't show the groups. You could also try adjusting which messages are shown (verbose, info, error, warning, errors) with that "default levels" drop down.

| improve this answer | |
  • While this works without a filter, this doesn't appear to work if you specify a filter string. The groups reappear and the problem is when many of them are empty, they clutter up the console output, as the OP says. – MSC Jul 21 '19 at 2:47

you can filter out console message based on their source. In your case, you can remove all the entries generated from analytics.debug.js. I used the following filter to accomplish this:

| improve this answer | |

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.