Here's how to find the TC String on any site that uses Google's Privacy & Messaging Tool, the Consent Management Platform (CMP) built into Google AdSense, Ad Manager and AdMob.
The TC String (also known as TCF String, Transparency and Consent Framework String, or IAB TCF 2.2 Consent String) is an encoded string that contains the consent choices that the user has made in a Consent Management Platform, or CMP.
This string is passed to Google and other advertising vendors so the correct ads can be served. For example, if a user doesn't consent to personalized ads, this choice is encoded in the TC String and the user won't be served any personalized ads.
Here, we're talking specifically about finding the TC String generated by Google's Privacy & Messaging Tool, the optional CMP built into Google AdSense, Google Ad Manager and Google AdMob. You may also see the tool referred to as 'Google's IAB GDPR Message' or 'Funding Choices' (the name of a previous iteration).

The Privacy & Messaging Tool in Google Ad Manager
You can find the TC String at any time after the Privacy & Messaging Tool consent form has been completed. Here's how:


It will look something like this:
CP7aT0AP7aT0AEsACBENArEoAP_gAEPgAAwIINJD7D7FbSFCwHpzaLsAMAhHRsCAQoQAAASBAmABQAKQIAQCgkAQFASgBAACAAAAICZBIQAECAAACUAAQAAAAAAEAAAAAAAIIAAAgAEAAAAIAAACAAAAEAAIAAAAEAAAmAgAAIIACAAAhAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAQOhQD2F2K2kKFkPCmQWYAQBCijYEAhQAAAAkCBIAAgAUgQAgFIIAgAIFAAAAAAAAAQEgCQAAQABAAAIACgAAAAAAIAAAAAAAQQAAAAAIAAAAAAAAEAAAAAAAQAAAAIAABEhCAAQQAEAAAAAAAQAAAAAAAAAAABAAA
A TC String doesn't have a fixed number of characters - its length is determined by the number of consent choices that it contains. However one giveaway is that it often contains groups of four or more As together (AAAA).
Once you have the TC String that was generated by the Privacy & Messaging Tool, you can run it through UniConsent's TCF Consent String Decoder. This will show you all the information that the TC String contains:
For example, looking at the TC String above, I can see I consented to the following TCF 'Purposes':

This could be useful for troubleshooting the Privacy & Messaging Tool and making sure the consent string it generates contains the consent choices you expect.
