Add Different Actions To Different Page’s wp_footer

You will have to use wp_footer action for that. And check your pages in functions itself to perform some specific tasks. something like this.

function my_footer_function() {

  if ( is_page( 1032 ) ) {

    // Do this

  } elseif ( is_page( 1033 ) ) {

    // Do that

  } else {

    // Do something else or nothing

  }

}
add_action( 'wp_footer', 'my_footer_function', 100 );