• Resolved hatseflats99

    (@hatseflats99)


    Hi,
    First of all, what a great plugin.
    Coming from CF7 but yours is way better πŸ™‚

    I added the custom tracking code here as you can see in the image.
    https://ibb.co/rMVGXZ0

    But when i save its gone, i can’t use an custom tracking code for succesfull submission.

    Any way to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @hatseflats99,

    I’m afraid, only the HTML highlighted in the editor is accepted rest of the HTML added will get escaped.

    You could use jQuery to add tracking code via custom coding, for example:

    <script type="text/javascript">
    jQuery(function($){
    $(document).on( 'forminator:form:submit:success', function() {
    
    	// code goes here
    
    } );
    });
    </script>
    

    Could you please check whether the above helps? You’ll have to add the script using wp_head/wp_footer hook. Or could use a plugin like:
    https://wordpress.org/plugins/header-and-footer-scripts/

    Regards,
    Nithin

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hello, we haven’t heard back from you in a while so we will close down this ticket, if you have any followup questions feel free to reopen it.

    Cheers,
    Predrag

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom tracking code not working’ is closed to new replies.