Revision 56353
Added by Argiro Kokogiannaki almost 5 years ago
statistics.component.ts | ||
---|---|---|
89 | 89 |
|
90 | 90 |
this.route.queryParams.subscribe( |
91 | 91 |
communityId => { |
92 |
this.communityId = communityId['communityId'];
|
|
93 |
if (!this.communityId) {
|
|
94 |
this.communityId = ConnectHelper.getCommunityFromDomain(this.properties.domain);
|
|
92 |
this.communityId = ConnectHelper.getCommunityFromDomain(this.properties.domain);
|
|
93 |
if(!this.communityId) { |
|
94 |
this.communityId = communityId['communityId'];
|
|
95 | 95 |
} |
96 |
|
|
96 | 97 |
if (this.currentMode == "showInMonitor" && this.properties.enablePiwikTrack && (typeof document !== 'undefined')) { |
97 | 98 |
this.piwiksub = this._piwikService.trackView(this.properties, "Monitor " + this.communityId, PiwikHelper.siteIDs[this.communityId]).subscribe(); |
98 | 99 |
} |
Also available in: Unified diff
[newlinking|branch]
Merge trunk to Branch rev 56350