Ticket #2206 (closed Bug: answered)
setCustomData(): How to fire custom data to custom plugin?
| Reported by: | hass | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | Piwik 1.3 |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: | no |
Description
I'm using SiteSearch plugin https://github.com/BeezyT/piwik-sitesearch/wiki and it's documented to fire the number of search results via piwikTracker.setCustomData({SiteSearch_Results: XX}); to the plugin. As setCustomData() has been deprecated and I have no idea - why - it's now in question - how a custom plugin can get custom data it needs to build a statistic. setCustomVariable() is no option here as it only allows up to 5 slots and the names and values are shown in custom variables statistics and does not go into the custom plugin (SiteSearch) statistic.
Normally you see in SiteSearch a table with keywords and than a column with the number of search results for this keyword.
