Skip to content

Commit 6fa03be

Browse files
committed
fix: px url
1 parent b45c0e4 commit 6fa03be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tracker/src/plugins/pixel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function initPixelTracking(tracker: BaseTracker) {
4343
}
4444

4545
const baseUrl = tracker.options.apiUrl || "https://basket.databuddy.cc";
46-
const url = new URL(endpoint === "/" ? "/pixel.gif" : endpoint, baseUrl);
46+
const url = new URL(endpoint === "/" ? "/px.jpg" : endpoint, baseUrl);
4747

4848
params.forEach((value, key) => {
4949
url.searchParams.append(key, value);

0 commit comments

Comments
 (0)