Where footer1 is the block name.
<script>
document.body.addEventListener(‘click’, (e) => {
if (e.target.closest(‘#footer1 img’)) {
document.location.href = ‘https://google.com/’;
}
});
</script>
<style>
#footer1 img {
cursor: pointer;
}
</style>