The AddTrackablesAPI macro can do this. I suggest you read the description in the release thread starting at v3.00, that should explain everything.
↧