Copy link to clipboard
Copied
I have a different folder that each one has its own "Application.cfm". I put the code for Google Analytics in the Application.cfm in each folder. All of them works fine except one folder that I used exactly same code but the Tracker code does not execute so it does not show the page in the report of Goggle analytics. Any suggestion?
Copy link to clipboard
Copied
When you do a View Source of the page in the browser, do you see the GA code? If not, then you need to look at the relationship between the folder that your page is in, and that of the application.cfm file. Any easy way to prove whether the application.cfm file is being executed is to put an HTML (not CF) comment line in it, then look in the View Source to see if the comment appears.
If the GA code is in the View Source, then there must be an error in it somewhere.
-reed
Copy link to clipboard
Copied
Thanks for the quick reply, no the Google Analytics code is not in source code when I view source code on the Browser. But there is more code in Application.cfm that they are executing and I can see the result the only code that is not exexute is Google Analytics.
Copy link to clipboard
Copied
Is there any logic in the Applicaiton.cfm file that might be excluding the Google code? Some conditional statements that only allow a block of code to execute under a certain condition?