How to add LunaMetrics AJAX listener to Single-Page Apps

There are several tutorials on how to set up LunaMetrics Ajax Event Listener. With most websites, the standard practice works as expected. However, you might run into a few problems on Single-Page apps.

You are using incorrect trigger

Set the correct trigger

What if a tag is added, but ajaxComplete event is not pushed?

Summary

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store