Not tracking "hidden" requests



in many thread the problem is discussed but I´ve one more question to it.

What is my mission?
For shorter URL I use a kind of redirect script. That means “” is redirectet via a php script to “”. But I want to have a statistic also for the redirect script. How often is the “t” channel used instead of the “f” channel.

I tried something like…
…tracking it as a campaign an redirected the user to “”. But this doesn´t work.
…making a parallel request by the script which is loading the piwik one-pixel-image before redirecting the user. But this doesn´t work.

How can I solve my requirement/problem. At the end a campagn tracking would be wonderful for this.

Which informatione do you need for helping me?

(Matthieu Aubry) #2

…tracking it as a campaign an redirected the user to “”. But this doesn´t work.

This should work fine. but see FYI those faqs: Visits from search engines or campaigns are not recorded, Piwik shows "There is no data for this report" for all Referrers reports. - Analytics Platform - Matomo

and maybe you need this feature When a campaign changes, creates a new "visit" by default · Issue #2624 · matomo-org/piwik · GitHub


Sorry…I know the FAQ and that is the reason why I´m not understanding what the problem is.

The redirecting script has no PIWIK because of the FAQ and because it is faster to load only the redirect header. But I tested it for a short period of time with the redirection url generated from piwik for campaign tracking. No data recorded. But all other statistics works fine.

Is piwik tracking with ad blockers?