|
@ -58,6 +58,7 @@ String.prototype.endsWith = function (search) {
|
58
|
58
|
var settings = {
|
59
|
59
|
attributes: [],
|
60
|
60
|
assignTo: ["a", "input[type='submit']"],
|
|
61
|
captureOnce: false,
|
61
|
62
|
client: null,
|
62
|
63
|
exclude: ".analytics-exclude",
|
63
|
64
|
url: null
|
|
@ -134,7 +135,9 @@ String.prototype.endsWith = function (search) {
|
134
|
135
|
data: data
|
135
|
136
|
})
|
136
|
137
|
.always(function () {
|
137
|
|
$this.addClass("analytics-captured");
|
|
138
|
if (settings.captureOnce) {
|
|
139
|
$this.addClass("analytics-captured");
|
|
140
|
}
|
138
|
141
|
});
|
139
|
142
|
}
|
140
|
143
|
};
|