The tracks are separate links that don’t articulate, you mean? Then the best way to assemble them is probably to clean them all up, and then in one go assemble a long enough length for the whole track, put it onto the wheels while the glue is still wet, glue the ends together, and gently push and pull it into position.
If you can put the wheels onto the axles without glue (possibly with something like Blu-Tack to hold them on), this will allow you to remove the wheels and track together once the glue on the track has set, paint all of it separately, and then re-install everything once the whole model is painted.
On the other hand, if the wheels are already on, you could glue the track to the wheels. That will make painting the wheels, track, and hull side more difficult, however. One way to get round this is to assemble two lengths of track, one at a time, for each side. First, put on the bottom run (from, say, the front of the drive sprocket to the rear of the idler wheel) and let it dry on the model, but without glueing it to the wheels. Then build and fit the top run between the ends of the bottom run, again without glueing it the wheels, nor to the bottom run. You now have two lengths of track that you can take off for painting. Repeat for the other side.