Help - Destination URL auto-tagging

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
digitalfilm
Regular
Posts: 40
Joined: Wed Feb 07, 2007 8:04 pm
Location: New York City
Contact:

Help - Destination URL auto-tagging

Post by digitalfilm »

Google ad words auto tags urls with a tracking id (for example http://group8020.com/blog/pages/aboutus ... PwodnTuzJw)

My problem is that this causes Serendipity to redirect to the home page rather than the intended landing page (which should be http://group8020.com/blog/pages/aboutus.html -- note the missing tag "?gclid=CMKpxZCpgYsCFR0CPwodnTuzJw ")

Is is it possible to configure so that these tags do not cause a problem or redirect?
Mark

http://5in500.com
Five Hundred People One Question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Help - Destination URL auto-tagging

Post by garvinhicking »

Hi!

I'm afraid that's not possible, because it would disturb the URL handling fallback. In s9y, all calls to something like

/blog/pages/aboutus.html

are equal to

/blog/index.php?/pages/aboutus.html

So if the plugin would strip everything after "?" then this fallback mechanism would no longer work.

Maybe you can get google analytics to track your pages with the fallback mechanism, so that it calls

/blog/index.php?/pages/aboutus.html&gclid=CMKpxZCpgYsCFR0CPwodnTuzJw

or

/blog/index.php?serendipity[subpage]aboutus&gclid=CMKpxZCpgYsCFR0CPwodnTuzJw

?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply