diff --git a/ckanext-hdx_theme/docs/README.rst b/ckanext-hdx_theme/docs/README.rst new file mode 100644 index 0000000000..843e849ca4 --- /dev/null +++ b/ckanext-hdx_theme/docs/README.rst @@ -0,0 +1,6 @@ +HDX DOCUMENTATION +================= + +ANALYTICS +--------- +Information about how we collect analytics information cane be found here `Analytics Documentation `_ \ No newline at end of file diff --git a/ckanext-hdx_theme/docs/analytics/index.rst b/ckanext-hdx_theme/docs/analytics/index.rst new file mode 100644 index 0000000000..67b00a3302 --- /dev/null +++ b/ckanext-hdx_theme/docs/analytics/index.rst @@ -0,0 +1,20 @@ +ANALYTICS IN HDX +================ + +Useful information about HDX and Mixpanel +----------------------------------------- +There will be 3 mixpanel projects: + +#. For the production server +#. For the testing/feature servers +#. For local servers running on dev's computers + + +Setup steps +----------- + +#. The **mixpanel token** needs to be setup in prod.ini under :code:`hdx.analytics.mixpanel.token` +#. The **gislayer** needs to be setup with the latest code. It's dependencies were updated as well ( *requirements.txt* ) + + * | there is a new queue for processing analytics requests called **analytics_q**. So we need a rq worker listening on it. + We can either use a separate worker for each queue or workers that listen on both queues.