From 8c6c17358339e067e43f96c789ed6398c25a2a40 Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Thu, 25 Aug 2022 15:51:51 +0300 Subject: [PATCH] fix: API requests with version are not tracked --- ckanext/googleanalytics/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/googleanalytics/views.py b/ckanext/googleanalytics/views.py index 97abab1..c2c9cd7 100644 --- a/ckanext/googleanalytics/views.py +++ b/ckanext/googleanalytics/views.py @@ -45,7 +45,7 @@ ga.add_url_rule( view_func=action, ) ga.add_url_rule( - u"//action/".format( + "/api//action/".format( api.API_MAX_VERSION ), methods=["GET", "POST"],