How do i add a custom key in my tracker?

How can i add a custom key to the tracker, for example, I have an object ‘cookies’ which needs to be added in the tracker, so that i can use it later in my custom action for performing certain tasks. Is this possible?