There are even more differences in the spelling of British and American English.
British English uses the endings –gogue and –logue. American English normally uses the endings –gog and –log.
It doesn’t matter whether you use the British or the American way of writing. Just be consistent.