You need to sign in to do that
Don't have an account?
DJP1S
Getting Google Analytics data on-the-fly
I really want to make an application that would let the user switch between records containing login information and get back information from Google Analytics. I'd like to just process the data into visualforce charts. Is there any way to make callouts to google analytics? I can't seem to find a WSDL anywhere ad I'm not seeing any toolkits for Apex code.
Hi DJP1S,
The links below should answer all your questions,
The Salesforce article,
https://help.salesforce.com/apex/HTViewHelpDoc?id=sites_analytics_tracking_code.htm&language=en_US
Google’s Article, https://support.google.com/analytics/answer/1008015?hl=en&ref_topic=1727146
Snippet to be added in the page that needs to be tracked, https://developers.google.com/analytics/devguides/collection/gajs/asyncTracking
Tool Kit: https://github.com/mavens/Force.com-Toolkit-for-Google-Analytics#readme
The idea for this feature to be included in Salesforce Roadmap #SafeHarbour,
https://success.salesforce.com/ideaview?id=08730000000Br3LAAS
Available App: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000008bGGSEA2
A related post: http://boards.developerforce.com/t5/Force-com-Sites-Site-com/Integrate-Salesforce-with-Google-Analytics/td-p/362689
Regards,
Ashish, Salesforce.com
If this post answers your question, please mark this post as Solved.
All Answers
Hi DJP1S,
The links below should answer all your questions,
The Salesforce article,
https://help.salesforce.com/apex/HTViewHelpDoc?id=sites_analytics_tracking_code.htm&language=en_US
Google’s Article, https://support.google.com/analytics/answer/1008015?hl=en&ref_topic=1727146
Snippet to be added in the page that needs to be tracked, https://developers.google.com/analytics/devguides/collection/gajs/asyncTracking
Tool Kit: https://github.com/mavens/Force.com-Toolkit-for-Google-Analytics#readme
The idea for this feature to be included in Salesforce Roadmap #SafeHarbour,
https://success.salesforce.com/ideaview?id=08730000000Br3LAAS
Available App: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000008bGGSEA2
A related post: http://boards.developerforce.com/t5/Force-com-Sites-Site-com/Integrate-Salesforce-with-Google-Analytics/td-p/362689
Regards,
Ashish, Salesforce.com
If this post answers your question, please mark this post as Solved.
Very cool! Thank you. This definitely has me on the right track.
Hi DJP1S,
Great to know, you are welcome!
Regards,
Ashish, Salesforce.com