When posting to twitter, my patch is allowing user to add tracking codes to tweeted urls.

Here's the admin form :

Admin Form

The tracking codes are added to both minimized and full URL.

Comments

Kgaut created an issue. See original summary.

kgaut’s picture

Annnnd the patch !

kgaut’s picture

Title: Twitter Post - Allow to add tracking get arguments » Twitter Post - Allow to add tracking arguments to URL
Status: Active » Needs review
kgaut’s picture

A tweet sample that use this patch : https://twitter.com/Kgaut/status/651827674680328192

damienmckenna’s picture

Status: Needs review » Needs work

This needs some work to make the code match the Drupal coding standards, e.g. booleans should be in uppercase, the variable_get() call needs to have the variable name passed in as a string instead of a constant, "URL" should be uppercase, there should be a space after commas when used as a function argument separator, etc.

kgaut’s picture

Status: Needs work » Needs review
StatusFileSize
new4.63 KB

Thanks for your review.

The attached patch should fit better to the coding standards.