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.
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