Introduction
Google Tag Manager Custom Events are used for tracking interactions that might take place on your website or mobile app that isn’t handled by standard methods.
You can create your own event and assign it to a trigger. Basically allowing you to script Google Tag Manager how you like.
Reference:
- Copy paste this code into any node level script section
<script>
window.dataLayer = window.dataLayer || []; window.dataLayer.push({
'event': 'registrationComplete123'
});
</script>
You can change the event data to anything you like.
Test GTM in debug mode


- Next you will need to setup GTM for a landing page
Follow the instructions here: how-to-add-google-tag-manager-to-leadshook