PageSourceSearch

https://www.hotelmanagement-network.com/wp-content/themes/goodlife…/assets/js/modules/gdm-social-tracking.js

js hotelmanagement-network.com collected 2026-10-02 04:28:46 UTC 566 bytes, 18 lines download raw bytes

1export default function GDMSocialTracking() {
2  const socialButtons = document.querySelectorAll(".gdm-article-share__button");
3
4  const qnOrAnd = () => (window.location.href.includes("?") ? "&" : "?");
5
6  [...socialButtons].forEach((button, i) => {
7    button.addEventListener("click", (e) => {
8      e.target.tagName === "A" &&
9        history.pushState(
10          "",
11          "",
12          `${window.location.href}${qnOrAnd()}${
13            i === 0 ? "Top" : "Bottom"
14          }-Article-Share-Button-clicked: ${e.target.textContent}`
15        );
16    });
17  });
18}

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.