Hi, the code below shows which page the form came from. There is a different link for fb, google vs. is it possible to see it?
add_filter(‘avf_form_message’, ‘avf_form_message_mod’);
function avf_form_message_mod($message) {
global $post;
$message .= “<br>Page: “.get_the_title($post->ID);
return $message;
}
Sample link
domain.com/?utm_source=Facebook&utm_medium=Sepet1&utm_campaign=tr-yeni
Thanks.
Hey Ayşegül Ülkü,
Thank you for your patience, the snippet above is for showing the page that the contact form in on, not for where the user came from, such as FB or Google. You would need to use a tracking script to find out where your users are coming from.
But the Enfold Contact form has only basic functions and not a way to integrate with a tracking script, you will probably want to use the Contact Form 7 and one of it’s addons to achieve this.
Best regards,
Mike