The most advisable thing is that you learn jquery whether you do not understand it or if it is basically something that is really necessary or almost obligatory, so to speak and the syntax is very easy. Look at this example.
$(document).click(
//hacemos una llamada ajax a un archivo php que guardara el click ejemplo
$.ajax({
url:"guardar_click.php",
success:function(data){
alert(data)
}
})
});
save_click.php
<?php
//por ejemplo esta sentecia sql actualisaria cada click que des
$sql=mysqli_query($conn,"UPDATE guardar_click SET click=click+1");
$row=mysqli_fecht_array($sql);
echo $row["click"];//retornamos el numero de veces que se ha clikeado
?>