Home › Forums › Back End › If/Else statement, different analytics code depending on URL › Re: If/Else statement, different analytics code depending on URL
Thank you for taking the time to respond JaredAM.
I have one problem that I’m sure is all syntax. The (3) specific urls that I’m targeting are these:
http://test.tester.local/customer (Home Page)
http://test.tester.local/customer/auto/va/quote (Quote Page)
http://test.tester.local/customer/auto/va/documents (Documents Page)
The problem that I’m finding is that all (3) urls have at least this text:
So the if/else statement is negating the other pieces of analytics, and using only the one piece of analytics assigned to the home page (http://test.tester.local/customer)
Is this an easy fix in the if/else statement?