This is an issue upstream. Seems like a very odd choice. You can see in the autotracking script, [some code paths](https://github.com/ProdPerfect/prodperfect-keen-tracking.js/blob/master/lib/browser-auto-tracking.js#L204-L209) expect a promise to be returned. Returning anything but a promise will throw an error.