I found that this French word is quite poorly documented on the internet so here is a quick definition in two contexts:
Faire qch au pifomètre
To do something by guesswork
Y aller au pifomètre
To follow one’s nose
In French argot, “un pif” is a nose.