[angular-16-irish-monitor | WIP] piwik Service: make public trackEvent method
This commit is contained in:
parent
c168416e3e
commit
c1e58e76a0
|
@ -71,7 +71,7 @@ export class PiwikService {
|
|||
|
||||
}
|
||||
|
||||
private doTrackEvent(properties: EnvProperties, title, siteId, pageURL, eventCategory, eventAction, eventName, eventValue = 0): Observable<any> {
|
||||
public doTrackEvent(properties: EnvProperties, title, siteId, pageURL, eventCategory, eventAction, eventName, eventValue = 0): Observable<any> {
|
||||
let ua = this.getUserAgent();
|
||||
let referrer = this.getReferrer();
|
||||
let piwikId = ((siteId != null) ? siteId : properties.piwikSiteId);
|
||||
|
|
Loading…
Reference in New Issue