Google Analytics Report add "=" at the end of URLs
3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 8, 2017 (RSS)
Hi,
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!
By Dave - November 8, 2017
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!
interactivetools.com
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!
Yusuke