xapi statement to google analytics

Hi Guys 

This is our first time using this tool as of now we are still researching whats h5p capable of, its really good since the tool are free to use. One of our concern right now is we want to push this tool using xapi statement to google analytics we found some documentation of it that can really help us. is there any step by step of implementing this  using WordPress CMS? our goal is to send  the data from xapi to google analytics or tag manager https://h5p.org/blog/send-usage-data-to-google-analytics-via-xapi.