Web Hook Not working
-
For the tracking of the registered member, we used this datalayer trigger and it should trigger after successful
registration so we have written in ‘um_registration_complete’ hook, but its not working however php code is working properlyadd_action( ‘um_registration_complete’, ‘my_registration_complete’, 10, 2 );
function my_registration_complete( $user_id, $args ) {
echo “<script type=\”text/javascript\”>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
‘event’: ‘sign_up’,
‘status’: ‘success’,
});
</script>”;
}
- The topic ‘Web Hook Not working’ is closed to new replies.