PageSourceSearch

https://vs-marvel-t3.onrender.com/track.js

js vs-marvel-t3.onrender.com collected 2026-10-03 11:43:44 UTC 1,022 bytes, 31 lines download raw bytes

1var registerTrackEvent = (eventId, objectId) => {
2    const searchParams = new URLSearchParams(window.location.search);
3    const id = searchParams.get("id");
4    if (!id) {
5        console.log("Anonymous user");
6        //return;
7    }
8    const isDev = window.location.hostname.includes("localhost");
9
10    $.ajax({
11        contentType: "application/json",
12        type: "POST",
13        url: `${
14            isDev
15                ? "https://marvel-cms-api.onrender.com/api"
16                : "https://marvel-cms-api.onrender.com/api"
17        }/TrackItem`,
18        data: JSON.stringify({ "eventType": eventId, "object": objectId, "applicationUserId": id }),
19        success: () => {
20            console.log(
21                `Tracked event ${eventId} in object ${objectId} by id ${id}`
22            );
23        },
24        error: (response) => {
25            console.log(
26                `Error tracking event ${eventId} in object ${objectId} by id ${id}`
27            );
28            console.log(response);
29        },
30    });
31};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.