Project

General

Profile

« Previous | Next » 

Revision 54609

moved piwik script to index

View differences:

app.component.ts
30 30
  }
31 31

  
32 32
  ngOnInit() {
33
    if ((window.location.origin).includes('beta') ||
33
    /*if ((window.location.origin).includes('beta') ||
34 34
        (window.location.origin).includes('athenarc') ) {
35 35
      this.piwikUrl = 'https://analytics.openaire.eu/piwik.php?idsite=92&rec=1';
36 36
    } else {
37 37
      this.piwikUrl = 'https://analytics.openaire.eu/piwik.php?idsite=111&rec=1';
38
    }
38
    }*/
39 39

  
40 40
    this.router.events.subscribe((evt) => {
41 41
      if (!(evt instanceof NavigationEnd)) {

Also available in: Unified diff