How to add Google Analytics to the Static pages?

Hello,

I have created some static pages and I want the analytics or stats of those pages. So I am trying to integrate Google Analytics. Can anyone tell me how to add google analytics code or any other resources to get the stats of the pages?

Looking forward to hear your replies.

Sincerely,
GB

Hello,

Please elaborate as to what you mean by ‘static pages’.

If you are referring to the MediaSpace Static Pages module then you’d want to add the Google Analytics code to the <head> section. You can do that by editing:
YOUR_KMS_BASE_URL/admin/config/tab/application#headerJSlinks
YOUR_KMS_BASE_URL/admin/config/tab/application#headerJS

If you simply have a page with some HTML code that also include a Kaltura player embed code then you can add GA code to those pages as you normally would.

Note that the Kaltura player also has a Google Analytics plugin. For more info on that, see Google Analytics for the Kaltura Player | Kaltura Knowledge Center

Cheers,