Google Analytics integration with the react-ga4 library.
The data should be collected in the same format as it was declared in #526.
I didn't implement the info_tree event, because on the new GUI, clicking on a word in the editor (a.k.a. firing the click_on_word event), automatically brings up the Info tree (and there is no dedicated context menu item for it), so it should be considered a duplicated event.
The GA script only loads when the user gives direct consent by clicking on "Accept."
If there is an error during accessing the ga.txt file content (it does not exist), the cookie notice won't show up.
Google Analytics integration with the react-ga4 library.
The data should be collected in the same format as it was declared in #526.
I didn't implement the
info_tree
event, because on the new GUI, clicking on a word in the editor (a.k.a. firing theclick_on_word
event), automatically brings up the Info tree (and there is no dedicated context menu item for it), so it should be considered a duplicated event.The GA script only loads when the user gives direct consent by clicking on "Accept." If there is an error during accessing the
ga.txt
file content (it does not exist), the cookie notice won't show up.fixes #616 fixes #530