I keep rubber belting on my trailer to lay down when I haul tracked machines. My wood lasts much longer, and it keeps the tracks from sliding.
If you nail it, the bunching motion of tracks will tear it out. One way to do it is to put rope over them every few feet running through holes in the deck right next to the rubber, then tensioning the ropes with rubber snubbers. This is a high maintenance option, as the ropes and rubbers will need constant work.
Heavy bolts may work if you are hauling light machinery, but won't hold it loading D-8's and such.
I now just roll my rubber mats up and chain them down, then unroll them as needed for tracked machines.
Also, when rubber belts are wet, they are very slick, so sometimes in the rain I will leave them off and sacrifice the wood.
Good luck.