Not sure if this is related, but I was trying to debug an issue where the chart wasn't appearing when I stumbled upon an issue on the Google Analytics Reports module issue queue.

I ended up making a change on the Varbase Google Analytics view itself to use the day field and then I was able to see the chart render. Though not sure if we should look into the issue on the other module itself.

Going to attach a patch in a second.

Before the fix


After the fix
Sessions and Page views chart

Comments

marioangulo created an issue. See original summary.

marioangulo’s picture

Issue summary: View changes
marioangulo’s picture

Issue summary: View changes
marioangulo’s picture

StatusFileSize
new2.4 KB
rajab natshah’s picture

Assigned: marioangulo » Unassigned
Status: Active » Needs review

You are right Mario, Thanks for reporting and the patch

rajab natshah’s picture

Your patch is fixing the issue
I'm listing steps for how to make this work

Step #1

When we go to "/admin/dashboard"
Then we should see the following

And """

Data from Google Analytics cannot be retrieved. You must authenticate your Google Analytics account to see these reports. Click here to configure Google Analytics authentication to your site.

You must have administrator permissions on your Google Analytics and your Varbase site to do this. If you don't have permission, please contact your site administrator.
"""

Step #2

When we go to "admin/config/services/google-analytics-reports-api"
Then we should see the following

When we add the keys and save
And we click on import fields
Then we should see the following

Step #3

When we go back again to "/admin/dashboard"
Then we should see the following

some view

Step #4

When we apply the patch fix as in

Then we should see the following Sessions and Pageviews chart

Sessions and Page views chart

And the Full Varbase Total Control Dashboard

Full Varbase Total Control Dashboard

rajab natshah’s picture

Title: Varbase Chart Not Appearing. » Fix not appearing Varbase dashboard sessions and page views chart

rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue tags: +varbase-8.7.1

Committed ... Thank you :)

rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed
marioangulo’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rajab natshah’s picture

Issue tags: +varbase-8.6.13