My metal track was pinched in areas to hold the rubber.
I used some grease on my new rubber to get it to slip in easily.
Then i pinched the track in the previous areas to hold it in place.
I wouldn't glue it the whole length of the track, just in case down the road you have to replace it.
I put tape on the ends of this vice grip and this is how I pinched my track to hold the rubber in. It doesn't take much effort to pinch it.
vise grip