Can't seem to track WHMCS pages. [solved]


#1

I can’t seem to track my WHMCS pages, I have no idea why. My WHMCS is in domain.com/billing and I have tried putting other .php files there and with SSL to test and it works fine. However soon as I try with a real WHMCS page the tracker cant see it for some reason.

When I view source code this is what shows up on a normal page:

However this is what shows up on source code of a WHMCS page:

Any ideas?


#2

Ok I figured it out. This morning when I woke up and took a look at the code again I realize google analytics was doing the exact same thing. I searched for the problem with whmcs and google analytics and I found out whmcs recommends surrounding the try with literal tags. So it would be like this: