ckanext-googleanalytics/ckanext/googleanalytics/interfaces.py

9 lines
210 B
Python

from ckan.plugins import Interface
class IGoogleAnalytics(Interface):
def googleanalytics_skip_event(self, data):
"""Decide if sending data to GA must be skipped.
"""
return False