Hi!
I’m working on that documentation part yet, but it’s a different topic.
Currently it’s hard coded as a pageview in the code, but you have an excellent point. I should probably add more options and make it possible to change the pageview type to an event. I honestly didn’t think of that when creating this feature.
I’m very close to releasing a minor update regarding a few bugfixes and such. I’m going to add a few more options to the Analytics panel before the release to make this change possible.