Closed raae closed 3 years ago
Question about
trackGoal
be called after openSaveFileDialog
? or
B. Should trackGoal
be called before openSaveFileDialog
? I am currently going with "B", but you're the POW! Queen @raae 👑 so it's your call.
Let's do before, as if it fails the intent of the user is still to export. Later we can add some error tracking. Ie B as you suggested.
When the user clicks the export button it should be tracked.
./constants
trackGoal
function from thetracking
feature.FATHOM_EXPORT
from./constants
trackGoal
withFATHOM_EXPORT
as paramTrack fathom goal <FATHOM_EXPORT>)
I will add a real value to Netlify env variables so this will be tracked properly by fathom in production.