ckanext-googleanalytics/ckanext/googleanalytics/interfaces.py

9 lines
210 B
Python
Raw Normal View History

2022-12-03 16:29:06 +01:00
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