The glue goes on the outside corner of the tread, and a little on the side wall, and only on the front, but only if you're having traction roll problems. This makes your tires slide if the car gets up on the edge of the tire, preventing traction roll.
Here's a pic. Notice the shiny edge of the tread. This tire was glued maybe 5 or 6 race nights ago.