Hi guy I have a quesion, please help to me?

I am using Matomo PHP tracker. When I go to Personal Settings and try to exclude my visits using a cookie, my PHP tracker does not honor the cookie and keeps tracking my visit. Do I need to make any function call in the PHP tracker to read the cookie and exclude my visits ? Can someone give me a sample code for that ?