asdfdotdev / utm.codes

WordPress plugin that makes building analytics friendly links quick and easy.
https://utm.codes
GNU General Public License v2.0
10 stars 14 forks source link

Support for custom domains with url shortener services #40

Closed thetacom closed 4 years ago

thetacom commented 4 years ago

It would be useful to have the ability to specify which domain to use for the url shortening services (ie default or custom).

I manually modified line 77 of utm-dot-codes/classes/shorten/class-rebrandly.php in order to use my custom domain name for short urls instead of the default rebrand.ly domain. 'body' => wp_json_encode( ['domain'=>['fullName'=>'mycustomshortenerdomain'], 'destination' => $data['utmdclink_url'] . $query_string ] ),

chrislarrycarl commented 4 years ago

Thanks for the feedback @thetacom! Support for using custom domains with rebrandly will be included in v1.7.0.