String (@NotNull String originalUrl, @NotNull String campaignId) { try { return new URIBuilder(originalUrl) .setParameter("utm_source", "product") .setParameter("utm_medium", "link") .setParameter("utm_campaign", campaignId) .setParameter("utm_content", ApplicationInfo.getInstance().getShortVersion()) .build().toString(); } catch (URISyntaxException e) { Logger.getInstance(UtmIdeUrlTrackingParametersProvider.class).warn(originalUrl, e); return originalUrl; } }