Skip to content

conversion_bridge_add_event

Description

The conversion_bridge_add_event filter runs when a new conversion event is registered to be tracked.

Usage

add_filter( 'conversion_bridge_add_event', 'my_hook_function', 10, 1 );

Parameters

  1. $event (array)
    The event info

Example

Add some custom arguments to the event with a matching label:

add_filter( 'conversion_bridge_add_event', 'add_custom_event_args' );
function add_custom_event_args( $event ) {
	if ( $event['label'] === 'Your Custom Label' ) {
		$event['args']['arg_name'] = 'arg_value';
	}
	return $event;
}

Still need help?

If you have not yet found your answer in the documentation articles, please contact support

Contact support