Programatically change referrer type based on dimension in All Referrers report


#1

I already have a dimension called is_paid_search which is either 1 or 0. Based on the value of this dimension, I would like the “Search Engines” referrer row in the “All Referrers” report to be replaced with two new referrer rows: Organic Search and Paid Search. How can I do this? I want to keep the referer_type column in the database unchanged.

I already have constants for the new referrer types defined in `Piwik\core\Common.php’ and dictionary entries defined as well