How can I add a custom Javascript snippet to display my feedback in footer?

Add a HTML Widget to your footer and place the content in there.

WordPress Admin > Appearance > Widgets.

I’ve just tested with the following JavaScript snippet and this works as expected.

<script type="text/javascript">
    console.log('Hello World')
</script>