The 2-contact plug is your W and D+, just have to figure out which is which... I have the same question, I have a TDI alternator also.
I found this pic; it's an earlier plug but should still apply to ours; the steel clip will be the top of the plug.
I had a plug laying around that fit, from the foglights on my '04 Passat... the D-shape connectors are found on newer VWs, so you may need to go to a scrapyard to find a wreck.
So your W pin *should* be the one on the bottom, the flat part of the plug as we see it in the picture, that'll drive the tacho, the other is D+ and gets connected to the alternator light.