Only use analytics tracker if ID set

Resolves #127
Merge pull request #139 from seedpod/analytics-fix

Only use analytics tracker if ID set