Reply To: URL tracking?

Home Forums Everest Forms URL tracking? Reply To: URL tracking?

#5426

sanjeev3
Member

Hello @ggeshev,

Yes. Please add the following to your child theme’s functions.php

add_action('everest_forms_entries_table_columns', 'evf_add_referer', 10, 2 );
add_action( 'everest_forms_entry_table_column_value', 'evf_add_referer_value', 10, 3 );
function evf_add_referer( $columns, $form_data ) {
	$columns['referer'] = esc_html__( 'Referrer', 'everest-forms' );
	return $columns;
}

function evf_add_referer_value( $value, $entry, $column_name ) {
	if( $column_name === 'referer' ) {
		$value = isset( $entry->referer ) ? $entry->referer : '';
	}

	return $value;
}

Regards,
WPEverest Support