Track JS compliance through custom dimension