Hi Yellow,
OK. I think I got it working. Made the following change to your mod.
File: init_ssu.php
Location: /includes/init_includes
Line 330 (approx) look for:
Code:
$params .= (isset($_SESSION['languages_code']) && strpos($params, 'language/') === false && $_SESSION['languages_code'] != DEFAULT_LANGUAGE) ? '/language/' . $_SESSION['languages_code'] : '';
Insert after above:
Code:
// Check if Adwords auto-tagging variable has been passed and keep it if it has
if (strpos($params, '/gclid/') !== false) {
$params = str_replace('/gclid/', '?gclid=', $params);
}
Seems to be working so far... I'll check the results over the next few days and confirm...
Thanks!
Chris
Bookmarks