Hi, I am looking for a step by step installation guide on how to link google analytics to the xenforo Better Analytics add on. I want to be able to track activity by users on the forum, such as posting and viewing and dropping out. Is this possible and if so how do I set it up in both the add-on and google analytics? Where does the GA code go in xenforo? I tried linking it to the ID and that isn't showing me anything. Thanks An
I didn't get an error message just the google identifier didn't want to stick in the statistics and metrics screen. What I want to be able to track is as follows: member logins comments/posts most popular threads and resources what is searched and viewed How do I make sure this is set-up, does it require the paid version (which I have now bought)? Can I also through your add-on track which members are not logging in? If yes, how do I do this?
There isn't going to be a way to log someone performing the action of logging in, if that's what you mean? Logging comments and posts is done through the "Content Being Create" event option. The most popular content, you can see in your Google Analytics reporting under Behavior -> Site Content What people are searching for on your site can be seen under Behavior -> Site Search To see which users are logging in, you can go to Audience -> Behavior -> User-ID Coverage
I bought the pro version of better analytics, yet in statistics and metrics in xenforo, a lot of the functionality is still greyed out. It says I am using an unlicensed version of better analytics. How can I verify the license? also when I look to authenticate the google API project credentials, I receive an error 401 in Google, what needs to be done?
Couldn't attach screenshots, so just copied in content from the test analytics page Things That Can Be Automatically Checked Web Property ID Defined: ✓ Cache Setup: ✗ Not required, but recommended for reporting speed. cURL Installed: ✓ Not required, but recommended to have the cURL extensions enabled in PHP. API Project Credentials: ✓ Google Analytics Account Linked: ✗ Analytics Profile Selected: ✗ Site Search Setup: � Found in Google Analytics account under View Settings -> Query Parameter (should be set to "q"). Ecommerce Tracking Enabled: � Found in Google Analytics account under Ecommerce Settings. Enhanced Ecommerce Tracking Enabled: � Found in Google Analytics account under Ecommerce Settings. Industry Vertical Set: � Found in Google Analytics account under Property Settings. Custom Dimension For User Tracking: � Found in Google Analytics account under Custom Definitions -> Custom Dimensions (should be named "User" and scoped for "Hit"). Custom Dimension For Forum Tracking: � Found in Google Analytics account under Custom Definitions -> Custom Dimensions (should be named "Forum" and scoped for "Hit"). User Tracking Dimension Index Set: � Forum Tracking Dimension Index Set: � Better Analytics License: ✗ A few extra advanced features are available when you license the Better Analytics add-on. Please don't steal, a crazy amount of work went into this. Some of the extra features: • Heatmaps • More Event Tracking (for example knowing when a user opened an email) • Ability To Track Users With Analytics Blockers • Charts On Member's Analytics Tab • Reporting And Backend Tracking Is Faster (utilizes a multi-threaded mechanism) • A Warm & Fuzzy Feeling Knowing You Are Helping To Continue Future Development Things That Need To Be Checked Manually User-ID Tracking: Found in Google Analytics account under Tracking Info -> User-ID. Demographic and Interest Reports: Found in Google Analytics account under Property Settings.
I'd go down in order on things. If you have already created a project and put in the project credentials, you would want to link your Google Analytics account next (it should give you a link to do that).
I hav one that on both the statistics and metrics page and the google page in xenforo, the outcome however remains error 401 when I try to authenticate.
I suspect your project credentials are incorrect in that case. You would want you double (triple) check that.
Well for whatever reason Google thinks the credentials are wrong. I'd maybe try to copy/paste from the API Console again... maybe a stray space got in there or something.
Also I paid $50 to have the licensed full version of this add-on, but it isn't recognising that. Where do I find my license key and how do I put it into the add on? Do I need to download a new licensed version of the add-on? and how on earth do I get it to work with google analytics?
Well no matter what, it's not going to work as far as the API stuff if your Google Project credentials are incorrect. If you say they are correct, you might need to contact Google directly to find out why your Project credentials are not working. I would guess they are simply not correct though, as I've never heard of Google Project credentials not working. The whole reason they give you the API credentials is to use them for your API projects. Also, make sure you are using the right type of credentials from your project (should be OAuth2 credentials for a web application).
I restarted the oAuth2 credentials process and linking it to xenforo again, now the authenticate option in statistics and metrics does link to the correct google analytics. But now I receive the following error in xenforo: Server Error Invalid chunk size "" unable to read chunked body Zend_Http_Client_Adapter_Socket->read() in Zend/Http/Client.php at line 989 Zend_Http_Client->request() in DigitalPointBetterAnalytics/Helper/Reporting.php at line 72 DigitalPointBetterAnalytics_Helper_Reporting::exchangeCodeForToken() in DigitalPointBetterAnalytics/ControllerAdmin/Analytics.php at line 31 DigitalPointBetterAnalytics_ControllerAdmin_Analytics->actionAuth() in XenForo/FrontController.php at line 351 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/gamifica/public_html/levelup/admin.php at line 13
That's going to be an underlying issue with the Zend Framework in XenForo. What version of PHP/XenForo are you using?