Dev GuideAPI Reference
Dev GuideUser GuidesGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Retrieve your tracker ID

Find the tracker ID for your OCP account using the OCP CLI.

Before you can publish and install your app, you need to know the tracker ID of the OCP account where you want to install the app.

Look up an account by name

Run the ocp accounts whois ACCOUNT_NAME command in the OCP CLI and copy the tracker ID. Replace ACCOUNT_NAME with the name of your OCP account.

$ ocp accounts whois acme

id          tracker Id                    name             target product
1234        euYdNiVdeR                    Acme Test        OCP

Find your accounts

If you do not know your account name, run the ocp accounts whoami command to get the list of accounts to which you have dev access. If you do not see the account you are looking for, you may have access through the user interface (UI), but you do not have dev access to the account. Contact Optimizely Support to request dev access to the account.

$ ocp accounts whoami
personal_apps:
  - id: john_personal_app
id: c19a5189-5a0d-4b7f-8272-f26b5d954320
email: [email protected]
role: deployer
githubUsername: johnsmith
accounts:
  - trackerId: euYdNiVdeR
    shard: us
  - trackerId: KcTMuByrxc-eu1
    shard: eu
  - trackerId: KDMqBYgRRd-au
    shard: au
createdAt: '2025-01-01T15:00:00'
vendor: acme
vendor_apps:
  - id: acme_app

Then run the ocp accounts whois TRACKER_ID command, replacing TRACKER_ID with each tracker ID returned in the previous command, to get the name of each account.

$ ocp accounts whois euYdNiVdeR

id          tracker Id                    name             target product
1234        euYdNiVdeR                    Acme Test        OCP
📘

Note

If your account is not in the US default shard, you must add the -a=<shard> parameter to the ocp accounts whois TRACKER_ID command.

$ ocp accounts whois KcTMuByrxc-eu1 -a=eu

id          tracker Id                    name             target product
1235        KcTMuByrxc-eu1                Acme EU Test     OCP