From 3c2b3cca98bece718374a87214e4df870649d118 Mon Sep 17 00:00:00 2001 From: alexandru-m-g Date: Mon, 20 Jun 2016 18:23:37 +0300 Subject: [PATCH] #4228 changes to resource download meta data for MP --- .../ckanext/hdx_theme/fanstatic/google-analytics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/google-analytics.js b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/google-analytics.js index a921c9b3d1..81bd0a3f82 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/google-analytics.js +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/google-analytics.js @@ -108,10 +108,10 @@ $(function setUpSearchTracking() { ga('send', 'event', 'dataset', 'resource-download', dTitle); mixpanel.track("resource download", { - "event source": "interface", + "event source": "web", "resource name": rTitle, "resource id": rId, - "dataset name": dTitle, + "dataset name": analyticsInfo.datasetName, "dataset id": analyticsInfo.datasetId, "page title": analyticsInfo.pageTitle, "org name": analyticsInfo.organizationName,