Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Hi, did anyone try the Analytics embed API?

It looks great but I'm having trouble to run it. I tought it would be nice to show it in the backend via an Iframe. I guess I'm doing something wrong with client ID and authorisation. Any tips or good tutorials out there? The things i found were mostly outdated and the google ui changed in the meantime.

The google descriptions are are quite confusing too.
For all who are interested to integrate some analytics chart in the backend of our nice cms. Google relased a while ago the data studio

There you can make your own reports and import them as iframe into your backend. I get it working yesterday at least in google chrome and edge. Firefox for some reason shows only a blank site.

Code: Select all
<cms:template title='Statistik' order='15'  icon='bar-chart'>

    <cms:editable name='stats' type='message'>
        <div class="embed-container">
        <iframe width="600" height="540" src="" frameborder="0" style="border:0" allowfullscreen>
            .embed-container {
              position: relative;
              padding-bottom: 70%;
              height: 0;
              overflow: hidden;
              width: 100%;
              height: auto;
            .embed-container iframe {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;

2 posts Page 1 of 1

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests