One important difference between the SMT and TH devices is the way they mount to a printed circuit board (PCB). Each footprint requires different mounting techniques.
We designed a footprint that allows you to attach either device to a PCB. The following drawing shows the layout.
The round holes in the diagram are for the TH design, and the semi-oval pads are for the SMT design. Pin 1 of the TH design is lined up with pad 1 of the SMT design, but the pins are actually offset by one pad; see Pin mapping. By using diagonal traces to connect the appropriate pins, the layout will work for both devices.
PCB design and manufacturing contains information on attaching the SMT device.