Depends on the tracks. Dragon's "Dragon Styrene" (DS) tracks can be glued using conventional model glues or CA, as can the later Tamiya tracks (on newer kits from the '90s onwards, but not re-released older kits).
Just about all other vinyl type tracks repel most glues and can be melted together using the "hot screwdriver" method, sewed together using invisible thread or stapled.