ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Query strings from Google resulting in 'Invalid GET data'

September 04, 2012 11:52am

Subscribe [1]
  • #1 / Sep 04, 2012 11:52am

    lithiumdave

    215 posts

    We have an EE 2.5.2 site. We’ve set up a split-test using Google Content Experiments. When the test is running, Google appends a query string to the page in question, e.g.

    URL attached as ‘example-1.txt’, due to not being allowed to post the URL by the forum

    The xxxx are numbers, of course. The example given is the homepage.

    This all works fine.

    However, if we visit Google, search for the client’s name and click the result in Google (the home page), Google then append their search referral data to the end of the URL too, so we now have the split-test-related query data AND the search referral data, like this:

    URL attached as ‘example-2.txt’, due to not being allowed to post the URL by the forum

    Problem: this results in an otherwise blank page saying ‘Invalid GET data’ where it should be the home page.

    We’ve worked out that everything up to [see ‘example-3.txt’ attached] is ok, but anything after that breaks the page.

    This is a problem as we have several split-tests ready to go and really need this to work.

    Can anyone help?

    Thanks in advance.

    Dave

  • #2 / Sep 06, 2012 1:45pm

    Dan Decker

    7338 posts

    Hi Dave,

    I’m sorry you’ve come up on this error!

    It seems to be cropping up more and more as users make use of campaign tracking code. Due to the way ExpressionEngine masks GET queries in the URL, it can jam these things up.

    We should be able to handle it though, so I’ve filed a bug report to see what we can do.

    Is there anything else I can assist you with?

  • #3 / Sep 06, 2012 1:57pm

    lithiumdave

    215 posts

    Thanks for filing the bug report Dan, it’s appreciated.

  • #4 / Sep 07, 2012 3:56pm

    Dan Decker

    7338 posts

    Hi Dave,

    My pleasure!

    If you need anything else, please let me know.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases