Skip to content

Commit 5fb11ef

Browse files
authored
Add matomoPhp and matomoJs properties
1 parent 60445a5 commit 5fb11ef

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/main/java/io/jenkins/plugins/matomoanalytics/MatomoPageDecorator.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ public class MatomoPageDecorator extends PageDecorator {
1313
private String matomoSiteID;
1414
private String matomoServer;
1515
private String matomoPath;
16+
private String matomoPhp;
17+
private String matomoJs;
1618
private boolean matomoUseHttps = true;
1719
private boolean matomoSendUserID = false;
1820

@@ -25,12 +27,16 @@ public MatomoPageDecorator() {
2527
public MatomoPageDecorator(String matomoSiteID,
2628
String matomoServer,
2729
String matomoPath,
30+
String matomoPhp,
31+
String matomoJs,
2832
boolean matomoUseHttps,
2933
boolean matomoSendUserID) {
3034
this();
3135
setMatomoSiteID(matomoSiteID);
3236
setMatomoServer(matomoServer);
3337
setMatomoPath(matomoPath);
38+
setMatomoPhp(matomoPhp);
39+
setMatomoJs(matomoJs);
3440
setMatomoUseHttps(matomoUseHttps);
3541
setMatomoSendUserID(matomoSendUserID);
3642
}
@@ -67,6 +73,22 @@ public void setMatomoPath(String matomoPath) {
6773
this.matomoPath = matomoPath;
6874
}
6975

76+
public String getMatomoPhp() {
77+
return matomoPhp;
78+
}
79+
80+
public void setMatomoPhp(String matomoPhp) {
81+
this.matomoPhp = matomoPhp;
82+
}
83+
84+
public String getMatomoJs() {
85+
return matomoJs;
86+
}
87+
88+
public void setMatomoJs(String matomoJs) {
89+
this.matomoJs = matomoJs;
90+
}
91+
7092
public boolean isMatomoUseHttps() {
7193
return matomoUseHttps;
7294
}

0 commit comments

Comments
 (0)