% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
% arara: pdflatex
\documentclass{article}

\usepackage[colorlinks]{hyperref}
\usepackage[debug=showtargets]{glossaries-extra}

\renewcommand*{\glsshowtargetouter}[1]{%
 {\small[\glsshowtargetsymbol\glsshowtargetsymbol\glsshowtargetfont #1]}}

\makeglossaries
\loadglsentries{example-glossaries-brief}
\glsaddall

\begin{document}
\renewcommand*{\glsnavhyperlinkname}[2]{sample.glsn:#1@#2}%
\printglossary[targetnameprefix={sampleprefix.},style=listhypergroup]
\end{document}
