To give the ability to track Laravel usage separate from the standard PHP usage, we'd like to add a custom Analytics ID
The Analytics token is appended at the end of Cloudinary URLs as a query parameter by the SDKs, giving us the ability to have insights as to what SDKs or tools are making Cloudinary requests.
Here's the relevant code as an example in a test from the PHP library:
To give the ability to track Laravel usage separate from the standard PHP usage, we'd like to add a custom Analytics ID
The Analytics token is appended at the end of Cloudinary URLs as a query parameter by the SDKs, giving us the ability to have insights as to what SDKs or tools are making Cloudinary requests.
Here's the relevant code as an example in a test from the PHP library:
https://github.com/cloudinary/cloudinary_php/blob/27187ef3992b149878ef26a69934fc72bda2fa48/tests/Unit/Asset/AnalyticsTest.php#L61
To implement, replace
MockAnalytics
withAnalytics
and set the real versions:sdkCode
:W
sdkVersion
: the current version of this Laravel plugin (ideally dynamically added)techVersion
: the current Laravel version being used (ideally dynamically added)