Hi!
Great module, really.
It could be useful to add integration with Search API :)

Sergio

Comments

Grayside’s picture

Sounds interesting. To do so, you would need to have a separate module (e.g., ga_stats_search) that did the following:

* Load ga_stats data on hook_node_view().
* Implement the Entity Propery info hook from the Entity API module to declare each statistic as an entity property.
* Configure Search API to be aware of the individual statistics as fields.

kristougher’s picture

Issue summary: View changes
StatusFileSize
new4.77 KB

I have tried to create an integration. Not very thoroughly tested, but it will be soon.

kristougher’s picture

I should add that it adds a 'Integrate with Search API' checkbox to to the GA stats configuration page. This adds the active Metric-timeframe combinations to the 'fields page' in Search API.