• Step1 Tracking Code

    Reference:

    http://piwik.org/docs/custom-variables/#track-a-custom-variable-in-javascript

    http://developer.piwik.org/api-reference/tracking-javascript#custom-variables

    Example:

    // you can set up to 5 custom variables for each visitor
    _paq.push([
        "setCustomVariable", 
        1, 
        "RTX", 
        document.cookie.match(new RegExp("(^| )_login_name=([^;]*)(;|$)"))[2], 
        "visit"
    ]);
    
  • Step2 Plugin Settings

    1. Name of the custom variable :

      "RTX" (Previous set of custom variable names, no default)

    2. Visitor avatar url rules :

      "//rtx.oa.com/avatars/%s/profile.jpg" (The default is "plugins/VisitorAvatar/images/default_avatar.gif")

    3. Visitor description text rules :

      "my rtx is %s" (The default is "%s")

  • Step3 Visitor Profile

    View Visitors custom avatar and description

  • Step1 Tracking Code

  • Step2 Plugin Settings

  • Step3 Visitor Profile

Free Download for Matomo On-Premise This plugin is not available for Matomo for WordPress

Please share