Chrome and firefox support for custom metrics