Best glue for shoes?

my trail runners that I use for hiking are coming apart, but the insole and tread are still great. I think i can get a few more hundred miles out of these shoes if I can glue the mesh back. Whats the best glue for shoes?

i’ve always used Shoe Goo for this exact purpose and have never experienced an issue