function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Google Analytics integration


     I want to track the page views for a visualforce based application (not sites).  I used the new version of Google Analytics (Asynchronous version) and added the tracking scripts (just before </head> section ) in the header page. But on checking Google Analytics setup, it shows tracking script not installed.

    Multiple sub domains


    One reason I could think of is that salesforce adds an additional <head> due to which the tracking script in the other <head> is not  working. Not sure if this is correct.


    I know there is a GA component for use in sites and it works.  Has anyone tried tracking visualforce pages using GA. Appreciate any pointers on this.


Thanks and Regards