- Set the
CUSTOM_ANALYTICS_SECRET_KEY
environment variable to some random string (e.g.2uIfMPVgHCTD57HU
). Make sure you have the value saved temporarily somewhere. - Re-deploy RECAP.
- Go to the
Custom Analytics
tab in the Admin Panel. - Enter in the Javascript snippet provided by your Analytics provider. This snippet would normally be placed within the
<head>
tags at the base of your project. For theSecret Key
, use the value you saved in step 1.
<script>
tag MUST be removed before being copied into the text box.