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
JeriMorrisJeriMorris 

Google Analytics and Communities

I'd like to use Google Analytics to track page accesses in my Salesforce Community.

I see how I can configure a regular Force.com Sites Site with an Analytics Tracking Code, but that field isn't visible for a Site that's associated with a Community. Is there any way to use Google Analytics to track page accesses in a Salesforce Community?
johannjohann
Depending on which UI model you're using, I would think you could include the GA javascript in either the header html file or if you're doing a full VisualForce UI, then in the VF pages, or if you're doing a Site.com based Community, then as a javascript include on the Site.com template page.  I haven't tried any of these.