Welcome Guest, Not a member yet? Register   Sign In
query string needed to integrate with google analytics with email ... why does this work? anything I should know about?
#1

[eluser]skattabrain[/eluser]
ok, so in my config file i have this (default)...

Code:
$config['enable_query_strings'] = FALSE;
$config['directory_trigger'] = 'd';     // experimental not currently in use
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';

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??
#2

[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?
#3

[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.




Theme © iAndrew 2016 - Forum software by © MyBB