We're looking to implement a referral program with our customers and as such, we've created a formula based field with custom urls to track sign-ups and their source based on customer IDs, however, these URLs are quite long with all the tracking and such.
Is there a way to convert this URLs in the field to a shortened version (each one being unique and thousands will be generated in a week) with something like a bit.ly API? Does anyone know of a marketo plugin/integration taht can be used to store this value in each record's field so that it can be used in emails and on landing pages?
Yes, in fact you can call the Bit.ly API directly as a webhook.
It returns the short URL in the JSON property data.url. Doc: Bitly API Documentation