updated product analytics recipes so that they are postgres / redshift compatible