Usage
This is a variable or event handle.
Demo
Available Key Names
version number date site name charset is_child directory root template path uri stylesheet path uri modules uploads home_url sw_url domain hostname protocol language ajax url nonce ecommerce options sw gaid nebula_cse_id nebula_google_browser_api_key facebook_url facebook_app_id twitter_username twitter_url linkedin_url youtube_url instagram_url pinterest_url adblock_detect manage_options debug sidebar_expanders advanced_form_identification resources styles wp_pagenavi nebula_font_awesome nebula_mmenu nebula_main nebula_bootstrap nebula_datatables nebula_chosen nebula_jquery_ui nebula_pre nebula_companion_flags nebula_docs nebula_child scripts nebula_youtube_block nebula_vimeo_block nebula_bootstrap nebula_jquery_ui nebula_mmenu nebula_vimeo nebula_datatables nebula_chosen nebula_nebula nebula_companion nebula_docs nebula_main lazy styles nebula-font_awesome wp-pagenavi nebula-flags scripts timings post id permalink title excerpt author year categories tags page isFrontPage screen pagenow dom session ip id flags adblock geolocation referrer user id name first last full email ip dnt cid client bot remote_addr user_agent device full formfactor brand model type os full name version browser full name version engine type address facebook flags fbconnect staff known analytics isReady trackingID dimensions gaCID hitID hitTime hitType hitInteractivity hitMethod saveData reducedMotion colorScheme offline deviceMemory network referrer navigationtype redirectcount author businessHours categories tags contactMethod formTiming formFlow windowType geolocation geoAccuracy geoName wpmlLang relativeTime sessionID securityNote poi role timestamp userID fbID videoWatcher eventIntent wordCount weather temperature publishDate blocker queryString textFragment mqBreakpoint mqResolution mqOrientation visibilityState metrics serverResponseTime domReadyTime windowLoadedTime formImpressions formStarts formSubmissions notableDownloads engagedReaders videoStarts videoPlaytime videoCompletions autocompleteSearches autocompleteSearchClicks wordCount maxScroll
Additional Notes
Hierarchy of the Nebula array/object:
- “site”: Data about the website in general
- Includes “name”, “directory”, “home_url”, “domain”, “protocol”, “language”, “ajax”, “upload_dir”, “ecommerce”, “options”, “resources”
- “post”: Helps search results use the correct ID
- “dom”: DOM objects for caching selectors (only available in JavaScript)
- “window”, “document”, “html”, “body”
- “session”: Session information of the user
- “ip”, “id”, “flags”
- “user”: User information for future visits
- “ip”, “nid”, “cid”, “client” (which inclides device, OS, and browser info)
Note: “user” object is slated for deprecation in favor of the Nebula Visitor DB so that sensitive data is not stored in a readable cookie.
This is localized as nebula
in JavaScript.
Source File
Located in /libs/Scripts.php.