The other topic you linked to was actually regarding Event Espresso 3.
In Event Espresso 4 there are hooks that fire during the registration process and they can be used to get data about the registration (and in turn use that data for things like sending a ticket sale amount).
Here’s an example of one of the hooks, this one fires when the registration process is finalized:
The hook is actually the do_action(). Here’s an example of how to add an action to that hook:
add_action('AHEE__EE_SPCO_Reg_Step_Finalize_Registration__process_reg_step__completed', 'your_custom_function_for_adwords_tracking', 10, 2);
function your_custom_function_for_adwords_tracking($checkout, $txn_params) {
// code for adwords conversion tracking goes here
// $checkout and $txn_params variables can be used in this function
}
Viewing 5 reply threads
The support post ‘AdWords Conversion Tracking’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.