To get it working, go to Safari -> preferences -> privacy -> uncheck the “prevent cross-site tracking” option.