K2625 Digital Tachometer on a diesel car?

Hello.
Is there any way possible to use K2625 Digital Tachometer on a diesel car?. I understand that instead of using the signal from the distruburator i have to use the signal from the alternator/dynamo. Or is it maybe possible to use a optical sensor?. Any ideas?