You need to sign in to do that
Don't have an account?

Integrate Salesforce with Google Analytics
Hi All
I am trying to track my Salesforce Site, by using Google Analytics.
My Site URL is : www.fdrclient.com
I added the tracking code to this page, and i am able to track it successfully.
Now the problem is, when a Client enters Username and Password in this Site, it redirects the user to my VisualForce Page
www.fdrclient.com ------> https://na5.salesforce.com/home/home.jsp
I want to track this VisualForce page(home.jsp) also.
I added <site:googleAnalyticsTracking/> to the end of VisualForce page, but still i am not seing anything in the Google Analytics.
Any idea, what should i do?
Thanks
Sid
Hello Sidh,
You need to add this tag in the head section of the visual force Pages . for which you want to track the visits.
Or
You can add the JavaScript provided to your site by Google analatic in the head section. But in both cases it will take 24 hours to activate by google.
Recently i have done this work .. If it helps please mark as solved.
All Answers
Actually, we not using Force.com Sites.
We just using the Customer Portal, so how can we integrate Google Analytic with it?
Hello Sidh,
You need to add this tag in the head section of the visual force Pages . for which you want to track the visits.
Or
You can add the JavaScript provided to your site by Google analatic in the head section. But in both cases it will take 24 hours to activate by google.
Recently i have done this work .. If it helps please mark as solved.
He is right. You will need to add the google analytics snippet found below
http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html
Thanks for your time.
Niku: Are your VF pages part of Force.com site?
I think it wont work, until that VF page is a part of a site. In my case, my organisation isnt using any Force.com site due to which i am unable to Copy the Web Property ID from Google's tracking status information and paste it into the Analytics Tracking Code field on the Site Edit page.
And if I put the tracking code in the head section of VF Page, how should VF URL specify it in the Google Analytic Website URL.
Ex this is my page:
URL: https://cs1.salesforce.com/066S00000000XX
According to you, it should be tracked down by Google Analytic?
It worked. Thanks Guys.
Keep It up dude.
Nik's.
http://himanshurana.in/google-analytics-report-visualforce-page/