J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Analytics not working after JAmp install (1 viewing) 
Go to bottom
TOPIC: Analytics not working after JAmp install
#7440
Richard
Fresh Boarder
Posts: 19
User Offline
Analytics not working after JAmp install 2 Years, 3 Months ago Karma: 1  
The Google Analytics area is just showing an error message with loads of letters and numbers, it was working correctly until i installed JAmp, not sure if the issue is related.

The Google Webmaster tools area is working, only an issue with analytics, could you fix it please?
 
Logged Logged  
  The administrator has disabled public write access.
#7441
John Dagelmore
Admin
Posts: 3518
User Offline
Re:Analytics not working after JAmp install 2 Years, 3 Months ago Karma: 74  
No, that's not the case. JAmp has nothing to do with your Google Analytics.
It's an issue of the Google API. We will look into it.
 
Logged Logged  
  The administrator has disabled public write access.
#7442
Richard
Fresh Boarder
Posts: 19
User Offline
Re:Analytics not working after JAmp install 2 Years, 3 Months ago Karma: 1  
Thank you John, appreciated.
 
Logged Logged  
  The administrator has disabled public write access.
#7443
John Dagelmore
Admin
Posts: 3518
User Offline
Re:Analytics not working after JAmp install 2 Years, 3 Months ago Karma: 74  
Immediate fix:

open the file root/administrator/components/com_jmap/models/google.php

and change the line 669 from:

Code:

$metrics = 'ga:visits,ga:visitors,ga:pageviews,ga:visitBounceRate,ga:organicSearches,ga:timeOnSite';
to
Code:

$metrics = 'ga:visits,ga:visitors,ga:pageviews,ga:visitBounceRate,ga:organicSearches,ga:sessionDuration';
This is required by a Google Analytics API update. We will release a JSitemap update today. Thanks to report this Richard.
 
Logged Logged  
 
Last Edit: 2017/07/06 12:59 By @store$eco#mm!.
  The administrator has disabled public write access.
#7444
Richard
Fresh Boarder
Posts: 19
User Offline
Re:Analytics not working after JAmp install 2 Years, 3 Months ago Karma: 1  
Perfect John, all fine now, thank you!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top