### Initialize Google Analytics Tracking Source: https://github.com/awhipp/evetrade/blob/main/station-trading.html This JavaScript snippet initializes the Google Analytics data layer and configures Google Analytics tracking for the page. It sets up the `gtag` function to push arguments to the data layer and configures a specific Google Analytics ID. ```JavaScript window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BFV89PY0ST'); ``` -------------------------------- ### Initialize Google Analytics and fcPresent Signal Source: https://github.com/awhipp/evetrade/blob/main/index.html This JavaScript snippet initializes Google Analytics tracking and signals the presence of 'googlefcPresent' to Google's services. It creates a hidden iframe named 'googlefcPresent' to indicate its presence and sets up the Google Analytics data layer and configuration. ```JavaScript (function() { function signalGooglefcPresent() { if (!window.frames['googlefcPresent']) { if (document.body) { const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe); } else { setTimeout(signalGooglefcPresent, 0); } } } signalGooglefcPresent(); })(); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BFV89PY0ST'); ``` -------------------------------- ### Initialize Google Analytics Tracking Source: https://github.com/awhipp/evetrade/blob/main/orders.html This JavaScript snippet initializes Google Analytics tracking on the webpage. It sets up the 'dataLayer' array and defines the 'gtag' function to send data to Google Analytics, configuring it with a specific tracking ID for analytics collection. ```JavaScript window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BFV89PY0ST'); ``` -------------------------------- ### Google Analytics Initialization Source: https://github.com/awhipp/evetrade/blob/main/station-hauling.html Initializes Google Analytics tracking for the web page, setting up the dataLayer and configuring the GA4 property for analytics collection. ```JavaScript window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BFV89PY0ST'); ``` -------------------------------- ### EVE Online Market Sell Orders API Endpoint Update Source: https://github.com/awhipp/evetrade/blob/main/release.html Updated the API endpoint for retrieving market sell orders. This new route includes dynamic placeholders for market ID and item type, allowing for more specific queries for sell orders. ```APIDOC GET https://crest-tq.eveonline.com/market/{ID}/orders/sell/?type=https://crest-tq.eveonline.com/INVENTORY/types/{TYPE}/ Parameters: ID: The market ID (e.g., region ID) for which to retrieve orders. TYPE: The item type ID for which to retrieve sell orders. Description: This endpoint retrieves active sell orders for a specified item type within a given market. It replaces a previous route, offering more precise filtering capabilities. ``` -------------------------------- ### Initialize Google Analytics Tracking Source: https://github.com/awhipp/evetrade/blob/main/region-hauling.html This JavaScript snippet initializes Google Analytics tracking for the EVETrade website. It sets up the dataLayer and configures Google Analytics with a specific tracking ID. ```JavaScript window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BFV89PY0ST'); ``` -------------------------------- ### Region to Region Trade Route Search Parameters Source: https://github.com/awhipp/evetrade/blob/main/region-hauling.html Describes the configurable parameters for the EVETrade 'Region to Region Trading' search functionality. These parameters allow users to filter and refine trade route results based on various economic and security criteria. ```APIDOC Search Parameters for Region to Region Trading: startingRegion: string (Required) - The region where the trade route begins. endingRegion: string (Required) - The region where the trade route ends. nearbyRegionsOnly: boolean (Optional) - If true, only show routes with nearby regions. minProfit: number (Optional) - Minimum profit amount required for a route. cargoCapacity: number (Optional) - Maximum cargo capacity available for the trade. minROI: number (Optional) - Minimum Return on Investment percentage. budget: number (Optional) - Maximum budget available for the trade. salesTaxLevel: string (Optional) - Player's sales tax accounting skill level. - 'No skill': 7.50% - 'Lvl I': 6.675% - 'Lvl II': 5.85% - 'Lvl III': 5.025% - 'Lvl IV': 4.2% - 'Lvl V': 3.375% securityStatus: string (Optional) - Preferred security status of the route. - 'Any Security' - 'Only Low or High Sec' - 'Only High Sec' structures: string (Optional) - Type of structures to include in the trade. - 'All' - 'NPC Only' - 'Player Only' routePreference: string (Optional) - Preferred routing strategy. - 'Shortest Route' - 'Safest Route' - 'Least Safe Route' tradePreference: string (Optional) - Preferred order type for trading. - 'Sell Orders to Buy Orders' - 'Sell Orders to Sell Orders (*)' - 'Buy Orders to Sell Orders (*)' - 'Buy Orders to Buy Orders (*)' Notes: * High risk trading styles (Sell Orders to Sell Orders, Buy Orders to Sell Orders, Buy Orders to Buy Orders) may lead to large results or timeouts. If timeout occurs, try to reduce broad queries (e.g., Higher Security, Profit Filter, or ROI). ``` -------------------------------- ### EVE Online Star System Security Status Definitions and Colors Source: https://github.com/awhipp/evetrade/blob/main/help.html This table defines the visual hex codes associated with different EVE Online star system security levels, ranging from 1.0 (highest security) to 0.0 (null security). These levels dictate NPC aggression and available activities within the game. ```APIDOC Security Status Definitions: - Security Status: 1.0, Hex Code: #2FEFEF - Security Status: 0.9, Hex Code: #48F0C0 - Security Status: 0.8, Hex Code: #00EF47 - Security Status: 0.7, Hex Code: #00F000 - Security Status: 0.6, Hex Code: #8FEF2F - Security Status: 0.5, Hex Code: #EFEF00 - Security Status: 0.4, Hex Code: #D77700 - Security Status: 0.3, Hex Code: #F06000 - Security Status: 0.2, Hex Code: #F04800 - Security Status: 0.1, Hex Code: #D73000 - Security Status: 0.0, Hex Code: #F00000 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.