Welcome Guest, Not a member yet? Register   Sign In
Strip analytics out of URL (just for CodeIgniter functions)
#1

[eluser]slowgary[/eluser]
Hi,

I've seen other posts about problems using Google Analytics due to query strings being disabled. My problem is different. I have query strings enabled, but adding the analytics string to the URL breaks my application.

My application checks and uses all URI segments to determine what it should do. Is there a way I can strip query string data from the URL for purposes of CI? In other words, I'd like to be able to slap a Google Analytics GET string at the end of a URL, but when I call CodeIgniter functions like current_url() or $this->uri->segments(), I'd like CodeIgniter to not even see the GET data.

Possible?




Theme © iAndrew 2016 - Forum software by © MyBB