Login | Sign up | Toll-Free: 1-800-752-0455



3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 8


Google Analytics Report somehow add "=" at the end of URLs created by CMSB. (Please see an attached screen capture.)

Since such URLs do not exist, clicking them open error pages.

Does anyone know the cause of and how to fix this problem?

Please Help!


GAR.jpg 191K

Hi Yusuke, 

Google can add strings such as utm_source, etc to urls so get something like: viewer.php?123&utm_source=xxxxx
Reference: http://www.google.com/support/googleanalytics/bin/answer.py?answer=55578

We specifically strip these out in /lib/viewer_functions.php in the function: getLastNumberInUrl()

So I'm not sure what is causing the error.  Using the standard code: 

      'where'       => whereRecordNumberInUrl(0),

It should work with ?123 or ?123=

What HTTP Error Code or message is being returned?  Let me know how we can help!

Dave Edis - Senior Developer

Hi Dave,

Thank you so much for your quick reply and a beautiful answer!

Everything is clear now.

It wasn't exactly an error message so please disregard it.

Thanks again!