Project

General

Profile

Feature #467

Adding a Piwik Tracking To GitLab

Added by Daniel Curtis about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/28/2014
Due date:
% Done:

100%

Estimated time:
0.20 h
Spent time:

Description

GitLab currently has native support for Piwik Analytics, and adding support is a very simple process.

  • Edit config/gitlab.yml
    cd /home/gitlab/gitlab
    vi config/gitlab.yml
    
    • And change the following:
        extra:
          ## Piwik analytics.
          piwik_url: 'http://piwik.example.com'
          piwik_site_id: '14'
      
  • Restart GitLab
    service gitlab restart
    
  • Restart Nginx
    service nginx restart
    
    • Or Apache
      service apache24 restart
      

Also available in: Atom PDF