Track campaign inside app

I have a MacOS app that is distributed through the App Store. I've created a campaign in order to track where installs come from.

The campaign has a generated campaign token and provider token which can be used for tracking.

Is there any way to retrieve the campaign token and provider token (which was used to install the app) inside the app?