Google Analytics to track h5p iframe/embed views

Not sure if I missed something in Google Analytics and this is already possible. I'm looking for this (hopefully) simple feature:

Let Google Analytics track the number of views of an h5p element in it's iframe.

We have GA set up on the site that users can author h5p content. This is tracking how many times `/node/123` is viewed. However, we'd like to be able to also get stats on how many times `/h5p/123/embed` is viewed (in the iframe wherever the iframe may be embedded).

The h5p elements are currently being embedded in the LMS and on the main Library website. Our faculty are asking for statistics on how many times these embeds are being loaded/viewed.

Any help would be much appreciated.

1
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network