Google Tag Manager
Google Tag Manager is used for tracking.
url: https://tagmanager.google.com/
Tag Manager Preview Mode
The new tag manager preview mode has an issue where an unpublished tag will not fail to connect to the site.
To work around this, add a tag that does not fire and publish first before making changes to test.
Tag Manager Installation
Self-Host Systems
CS-Cart
Joomla
Magento
Prestashop
Wordpress
X-Cart
Zen Cart
On-site Builder Systems
Bigcommerce
Ecwid
EKMPowershop
MyshopBlocks
Shopify
Squarespace
Wix
Yell
Chat Systems
CollectChat
Jivo
LiveChat
Tawk
Tidio
ZenDesk
Zoho
Generic jQuery Form Listener
create a custom HTML tag and change the index url to what the url is submitting to in the ajax form
<script>
jQuery(document).ready(function() {
jQuery( document ).ajaxSuccess(function( event, xhr, settings ) {
if (~settings.url.indexOf("/contact/form/process/")) {
var dataLayer = window.dataLayer || [];
dataLayer.push({'event' : 'contact-form-submitted'});
}
});
});
</script>