A publishable key (tolk_pub_) goes wherever the code can be read: the mobile SDKs, the web SDK, the banner script. It can write events and read what is not sensitive.
A secret key (tolk_sec_) goes only on a server you control, and it can read everything in the Appspace, which is why it must never sit in an app binary or a repository. If one gets out, revoke it and create another.
자세히 보기 Where to use each key.