Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1413079

    Hello support,
    I am a user of the Enfold template on my WordPress site, and recently I installed the “Universal WP Lead Tracking By Inbound Horizons” plugin. However, I’m having some trouble figuring out where to place the Tracking Info Shortcode [tracking-info].
    Could you please provide some guidance on how to use this plugin effectively with Enfold contact form?
    Specifically, I would appreciate instructions on where I should insert the Tracking Info Shortcode [tracking-info] within my Enfold Contact form.
    Thank you for your assistance. I look forward to your response.

    #1413109

    Hey pnamroud,

    Thank you for the inquiry.

    We haven’t tried the plugin before, but based on the plugin description, it appears that the tracking-info shortcode needs to be included in the email template. If this is accurate, adding the following filter in the functions.php file might help.

    add_filter('avf_form_message', 'avf_form_message_mod_checkbox', 10, 3);
    function avf_form_message_mod_checkbox($message, $new_post, $form_params) {
        $message = do_shortcode("[tracking-info]") . "\n" . $message;
        return $message;
    }

    For more info, please contact the plugin developers.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.