I use GA to track redirects from my website.
For each redirect I send event
hit to GA via measurement protocol. I also set the Document location URL
parameter to some virtual (fake) web address.
In reports, I get "Bad Event Tracking Code" warning because I have (not set)
entry present in the "Landing Pages" report. I guess it's because I have a lot of sessions that include event
hits only, without initial pageview
hits.
This situation is normal, I don't expect to use the landing page report in my view. The thing is that the warning is quite annoying. I don't want to ignore it because it may mask more important problems. I also don't want to send additional pageview
hit for each redirect.
Is there any elegant way to ignore/dismiss this warning?