Only use analytics tracker if ID set

Resolves #127