![]() |
query string needed to integrate with google analytics with email ... why does this work? anything I should know about? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: query string needed to integrate with google analytics with email ... why does this work? anything I should know about? (/showthread.php?tid=16135) |
query string needed to integrate with google analytics with email ... why does this work? anything I should know about? - El Forum - 02-25-2009 [eluser]skattabrain[/eluser] ok, so in my config file i have this (default)... Code: $config['enable_query_strings'] = FALSE; now, i'm using vertical response to track emails and they can integrate with google anaylitcs. they "tack on" to the urls in my emails, like so ... Code: http://mydomain.com/products/?utm_campaign=Testing&[email protected]&utm_medium=Email&utm_source=VerticalResponse&utm_term=Products where http://mydomain.com/products/ is the page from CI and the added data for google analytics is Code: ?utm_campaign=Testing&[email protected]&utm_medium=Email&utm_source=VerticalResponse&utm_term=Products So I'm NOT getting any errors! I was expecting this to bomb out on me. What am I missing? Is this good to go or are things going to break on me somewhere?? query string needed to integrate with google analytics with email ... why does this work? anything I should know about? - El Forum - 02-25-2009 [eluser]pistolPete[/eluser] If you have the following setting, you can't access the GET variables because $_GET is destroyed by CI. Code: $config['enable_query_strings'] = FALSE; How are you currently accessing the data passed along? query string needed to integrate with google analytics with email ... why does this work? anything I should know about? - El Forum - 02-25-2009 [eluser]skattabrain[/eluser] it's only used by google's javascript. i have no use for it other than to pass it to google. i just don't want to start using this and annoy email subscribers with links to pages that error out. |