We are conducting a survey, and we need to collect whether or not you clicked on a specific button included in the document.
I understand that Google event tracking can determine the total number of clicks. (ex. This button has been clicked 24 times in total) The information I need is not to know the total number of clicks, but whether one person has clicked more than one button in each document.
Also, if you want to respond to a survey without clicking, I want to display a warning pop-up to click the button. Below are the types of buttons currently applied.
Please answer me. Thank you.
<script>
$(document).ready(function(){
$("#comment").hide();
$("#type1Btn").click(function(){
$("#comment").slideToggle();
});
});
</script>
Note: If possible, write this logic as a Closer function . Otherwise, the user can open the console to tamper with the clicked
value and move on.
© 2024 OneMinuteCode. All rights reserved.