Anyone? Anyone? Need this for adding Google Pixel to a button click now. As suggested in your own page - Facebook Pixel | Webflow University - this sounds wrong. Found a Stackoverflow message addressing the issue, and it seems to run counter to your own recommendation.
So, who’s right? Why create a whole page with seemingly bad advice? Anyone?
Hi @rps which bit sounds wrong? If you can point me to the bit you’re having trouble with I can look into this more and get it updated where necessary.
As for the OP, don’t call the function in your eventListener, you should just add it as a reference… i.e trythis.addEventListener(“click”, resetfilter());
should be trythis.addEventListener(“click”, resetfilter);
Notice the parentheses are removed from resetFilter