PageSourceSearch

https://www.marqueze.net/wp-content/themes/bimber-child-theme/js/enhanced-datalayer.js?ver=1.0.1

js marqueze.net collected 2026-09-24 10:08:54 UTC 1,260 bytes, 41 lines download raw bytes

1;(function($) {
2  console.log('url', window.location.href)
3  console.log('dataLayer', dataLayer)
4
5  const url = window.location.href
6
7  if (dataLayer) {
8    if (/^https:\/\/www\.marqueze\.net(\/)?$/.test(url)) {
9      console.log('home')
10      dataLayer.push({ pageType: 'home' })
11    } else if (/^https:\/\/www.marqueze.net\/relatos-[^\/]*\/$/.test(url)) {
12      console.log('category')
13      dataLayer.push({ pageType: 'category' })
14    } else if (
15      /^https:\/\/www\.marqueze\.net\/relatos-[^\/]*\/([^\/]*[\/]?)*/.test(url)
16    ) {
17      console.log('subcategory')
18      dataLayer.push({ pageType: 'subcategory' })
19    } else if (
20      /^https:\/\/www\.marqueze\.net\/author\/[^\/]*\/([^\/]*[\/]?)*/.test(url)
21    ) {
22      console.log('author')
23      dataLayer.push({ pageType: 'author' })
24    } else {
25      console.log('other')
26      dataLayer.push({ pageType: 'other' })
27    }
28
29    const searchBody = document.querySelector('body.search.search-no-results')
30    if (searchBody) {
31      console.log('noResults')
32      dataLayer.push({ pageStatus: 'noResults' })
33    }
34
35    const error404 = document.querySelector('body.error404')
36    if (error404) {
37      console.log('error404')
38      dataLayer.push({ pageStatus: 'error404' })
39    }
40  }
41})(jQuery)

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.