Referral Freshman Year

So I got a referral recently for playing an inappropriate game during a biology lab where my friends and I made fun of a couple people. A few weeks later we were all called to our counselors office and were given referrals and a 4 hour detention. Our counselor said that it does not go on our transcript, but I really wonder whether it will affect my chances to get into a UC or Ivy League school.

If its not on your transcript and its not being reported, it does not matter

should i mention this if college apps ask for disciplinary action taken against me