E-commerce tracking and url prefixing

This contains functions that you can you can use to track e-commerce transactions. I've also added the option to added a prefix to the url because in my case the app didn't run in the root of the domain.