score:1

Accepted answer
<NavLink
    exact
    to={`/${locale}/lobby`}
    activeClassName="lobby"
    onClick={(e) => {
        TagManager.dataLayer({
            dataLayer: {
                event: 'open_category',
                locale: locale,
                userId: isEmpty(user) ? null : user.UserID,
                clicked: e.target.className //<----here
            }
        });
    }}
>

Related Query

More Query from same tag