How to track users activity when using IBM Connections mobile app

ConnectionsAppBy default the last version of the IBM Connections Mobile App (iOS and Android version) doesn´t have support for Google Analytics, so, how you can track user’s activity?

On IBM Connections 4.5 you need to enable Mobile Security Management, once you have access to the Connections Mobile Admin Console (https://host:port/mobileAdmin/login) there are two reports available:

  • Device: The device report shows information regarding the devices that access trough mobile. The information the report shows is as follows.
    • User Name
    • Device Name
    • Last Access Check
    • Device OS
    • Device OS Level
    • Build Level

  • User: The user report shows information about the user that access trough mobile. The information this table shows is as follows.
    • User Name
    • User State
    • Access Allowed

usersSo far is all the info you can get. I really hope that in a new version IBM Connections team could add more features.

I really hope you find this information useful.

How to override the Page Tracking value in Google Analytics

Analytics_iconI came across with an undocumented functionality on Google Classic Analytics (ga.js) snippet that allows to override the page tracking when you use “_gaq.push([‘_trackPageview’]);“.

Note: The ga.js snippet is part of Classic Analytics. If you’re using Universal Analytics (analytics.js) please check: Page Tracking – Web Tracking (analytics.js)

Tracking Code Quickstart

The Analytics snippet is a small piece of JavaScript code that you paste into your pages. It activates Google Analytics tracking by inserting ga.js into the page. To use this on your pages, copy the code snippet below, replacing UA-XXXXX-X with your web property ID. Paste this snippet into your website template page so that it appears before the closing </head> tag.

<script type="text/javascript">// <![CDATA[
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
// ]]></script>

To override the default page value, you can pass to the _gaq.push method an additional parameter, in this case, the custom path that you want to track:

_gaq.push(['_trackPageview', customPath]);

In the next image you can see the difference between the custom tracking page views code vs the default way.

google_analytics_custom_pathNote: The _gaq global object can be used directly for asynchronous page tracking via the push(…) method.

I really hope you find this information useful.

How view page-level custom variables in Google Analytics

Analytics_iconKudos to my colleague Carlos Hinojosa who discovered that to view a page-level custom variables in Google Analytics, you need to specify explicitly the metric and dimensions in a custom report. That is the reason why the default dashboard will not show page-level custom variables, yup, we get stuck for a while in this point!!.

Anyway, to create a custom report to see a page-level custom variable all you need to do is, in Google Analytics, under the Customization tab, click +New Custom Report and fill the next fields as follow:

Under Report Content section:

  • Metric Groups: Add PageViews option, is under Users group, to get the # of visits.


  • Dimension Drilldowns: Add the desired custom variable, in our scenario, is the #4, then, since the purpose of the report is to get the values of the variable, you need to select as a nested dimension, the value of the selected custom variable.

custom_variable_valueIs recommended to add the custom report to a specific view, but is optional. Finally, the fields of your new report should looks like:

custom_reportClick on Save, and if all was selected correctly, the report should display the data, once is captured by Google anaylicits, of course, like the following screenshot:


Tip: You can use: Google Analytics Debugger to check in real time if your custom variable is working and to not wait until the values ​​are reflected in the report.

This extension loads the debug version of the Google Analytics Javascript for all sites you browse using Google Chrome.  It prints useful information to the Javascript console. These messages include error messages and warnings which can tell you when your analytics tracking code is set up incorrectly.  In addition, it provides a detailed breakdown of each tracking beacon sent to Google Analytics.


Google_Analytics_DebuggerNote: In our scenario we wanted to be sure that the custom variable # 4 be sent.

I really hope you find this information useful.