Add tracing to profile and loyalty actions