From 135a403cecbbde7bdcd68ac77e2f378ec2a447ac Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 29 May 2014 11:43:37 +0200 Subject: [PATCH] Added some tracking variables from facebook in the function to clean up URLs. --- include/network.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/network.php b/include/network.php index fe08fc5a7b..79843a3322 100644 --- a/include/network.php +++ b/include/network.php @@ -1125,6 +1125,7 @@ function original_url($url, $depth=1, $fetchbody = false) { foreach ($querydata AS $param=>$value) if (in_array($param, array("utm_source", "utm_medium", "utm_term", "utm_content", "utm_campaign", "wt_mc", "pk_campaign", "pk_kwd", "mc_cid", "mc_eid", + "fb_action_ids", "fb_action_types", "fb_ref", "woo_campaign", "woo_source", "woo_medium", "woo_content", "woo_term"))) { $pair = $param."=".$value; $url = str_replace($pair, "", $url); -- 2.39.5