Added some tracking variables from facebook in the function to clean up URLs.