×
HIDE

Google Analytics Event Tracking

In this feature, we will use google analytics universal gtag. So make sure you are using gtag.js on your site.

You can follow this tutorial to add custom js code to your site 

How to Add Custom JavaScript to Your WordPress Site

Another source: 

Option 1: Track per form basis

Add the following code to your site. You have to change YOUR-FORM-ID by your Form Id and you can change the event_category or event_label value based on your needs.

				
					<script>
    jQuery(document).ready(function($) {
        $(document).on('click','#pafe-form-builder-trigger-success-YOUR-FORM-ID',function(){
            gtag('event', 'PAFE Form Builder Submission', {
                'event_category': 'PAFE Form Builder',
                'event_label': 'Form Submitted',
                'form_id': 'YOUR-FORM-ID'
            });
        });
    });
</script>
				
			

Option 2: Track Events For All Forms

Add the following code to your site. You can change the event_category or event_label value based on your needs.

				
					<script>
    jQuery(document).ready(function($) {
        $(document).on('click','[data-pafe-form-builder-trigger-success]',function(){
            gtag('event', 'PAFE Form Builder Submission', {
                'event_category': 'PAFE Form Builder',
                'event_label': 'Form Submitted',
            });
        });
    });
</script>
				
			

Please check your email inbox. If you haven’t received anything,

also check your spam folder.

PAFE Form Builder

Extensions

PAFE Widgets

piotnet addons for elementor white icon
Popup Trigger URL
Piotnet Addons For Elementor