If the Customer ID is set in a cookie or session/local storage in the user's browser, then you can create a data element of that storage type, and track it in your tags.
If the Customer ID is set in a cookie or session/local storage in the user's browser, then you can create a data element of that storage type, and track it in your tags.