1

Is it possible to use Google Analytics in internal Visualforce pages?

My VF page isn't exposed as a Force.com site.

1

According to a post on the Google Analytics Group the answer is a yes.

Internal pages aren't a problem at all.

All you do to track user interaction is send data to Google Analytics. Google Analytics does not need to send anything back, so it doesn't matter if the pages are internal or not.

In fact, the pages don't even have to exist. If you send a pageview to Google Analytics with a spelling mistake, Google will happily accept it.

This relevant question provides some details on the implementation.

| improve this answer | |
1

I believe yes you can use. If you are able to access the GA JS files you can use GA. You can also create a VF component for easy implementation. I think you may have to use My Domain for a fully qualified domain name (I am not sure about it).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.