Dice the ginger pieces very finely. I do this with a chopping knife - the candied and sugar-coated pieces are usually much harder and more fibrous, but also sharper, while the pieces made from the sugar syrup are tender and mild.
Mix all ingredients together in a large saucepan and bring to a boil. Cook for a few minutes according to the package instructions, then make a gelling test and fill immediately into sterilized jars.
Goes wonderfully with croissants, fresh yeast pastries and all other breads.
Don't forget to mention the vanilla on the label in case you give away a glass. Otherwise, the black dots may be viewed very suspiciously.