Is is possible to configure mouse side buttons for forward/back navigation?

Hi, I'm a longstanding user who has just renewed their licence but the side buttons on my new mouse (a very unglamorous but surprisingly good Tecknet wireless one) do not work in Safari. They work in Chrome by default. Strangely bettertouchtool doesn't register them either when I try to create a new behaviour in the app.

Would really appreciate any advice. Thanks!