# Fields Overview

# Request

Parameter name Description Set By
app_id Application identifier. Uniquely identifies an eCommerce site. It is assigned by Edrone when new account is created. It must be set on the eCommerce site - typically by the configuration screen. edrone module / developer
c_id Unique customer tracking identifier. Stored by customer browser(localStorage). This field is automatically generated by edrone_2_0.js script. edrone_2_0.js
ccid Unique visitor identifier. This cookie is used in Third Party Context. edrone server
fp_ccid Unique user identifier. This cookie is used in First Party context. edrone_2_0.js
fp_sid This cookie allows to tracked visitor or customer session until the browser is closed by them edrone_2_0.js
version Version of the module installed on the e-commerce site. edrone module / developer
email Customer email address edrone module / developer
user_id Customer id (used to match customers on Google Analytics 4 side). Can be custom made, it needs to be the same for GA4 and in traces sent to Edrone edrone module / developer
first_name Customer first name edrone module / developer
last_name Customer last name edrone module / developer
product_ids Product identifiers for products that were viewed, added to cart or ordered. In case of Magento and Prestashop these are internal database product ids. edrone module / developer
product_titles Name of the product: viewed, added to cart or ordered by the customer. edrone module / developer
product_images Absolute urls to the images of the products viewed, added to cart or ordered by the customer. edrone module / developer
order_id Unique e-commerce site identifier of the order made by the customer. edrone module / developer
action_type
    Type of action performed by customer:
  • homepage_view - main store page
  • product_view - individual product page
  • category_view - individual category page
  • add_to_cart - added an item to the cart
  • order - customer has successfully completed and order
  • subscribe - subscription (typically pop-up)
  • order_cancel - customer order has been cancelled
  • search_query - customer used search bar on the store
  • search_serp - this action_type is generated internally when we are able to gather customer query directly from the URL.
  • other - none of the above
edrone module / developer
country Customer country edrone module / developer
city Customer city edrone module / developer
gender
  • m - male
  • f - female
  • other - other
  • empty value - information not available
  • edrone module / developer
    birth_date yyyy-MM-dd edrone module / developer
    base_currency Currency in which an eCommerce site operates. In case of eCommerce sites with multiple currencies this represents the main (global) currency. edrone module / developer
    order_currency Currency in which the customer order has been made. It may be different from eCommerce site base currency. edrone module / developer
    base_payment_value Total payment value of the order completed by the customer expressed in base_currency.
    Mandatory field for Order events. Used a basis for all revenue calculations
    edrone module / developer
    order_payment_value Total payment value of the order completed by the customer expressed in the order_currency. Used when eCommerce site allows purchasing products in various currencies. edrone module / developer
    phone Customer phone number edrone module / developer
    coupon Coupon used during order edrone module / developer
    platform_version Version of the eCommerce platform (e.g. 1.9.2.1 for Magento) edrone module / developer
    product_skus Product SKUs (stock keeping unit) for products that were viewed, added to cart or ordered. edrone module / developer
    platform Name of the eCommerce platform (custom, magento, etc.) edrone module / developer
    subscriber_status
      Email subscription status:
    • 0 - unsubscribed
    • 1 - subscribed
    • empty - information not available
    edrone module / developer
    product_urls Absolute urls of the products, edrone module / developer
    product_category_ids Category identifiers for each product in the trace. Many categories per product are allowed. Multiple entries are separated by "~" for one product then pipe character | to seperate with another product. edrone module / developer
    product_category_names Category names for each product in the trace. Many categories per product are allowed. Multiple entries are separated by "~" for one product then pipe character | to seperate with another product. edrone module / developer
    product_brand_ids Brand identifiers for each product in the trace. Only one brand per product is allowed. Multiple entries are separated by pipe character | edrone module / developer
    product_brand_names Brand names for each product in the trace. Only one category per product is allowed. Multiple entries are separated by pipe character | edrone module / developer
    customer_tags Tags to be associated with the customer. Multiple entries as separated by pipe character | edrone module / developer
    product_counts Count of product. Multiple entries as separated by pipe character | edrone module / developer
    sender_type
      Indicates who is sending a trace
    • browser (default if absent)
    • server
    edrone_2_0.js
    shop_lang Shop language version edrone module / developer
    shop_id Identifier of the shop (used by Magento) edrone module / developer
    website_id Shop website identifier (used by Magento) edrone module / developer
    product_availability
      Product availability status:
    • 1 - available
    • 0 - found but unavailable
    • -1 - not found
    edrone module / developer
    order_origin
      Indicates order origin
    • shop (default if absent)
    • allegro
    edrone module / developer
    external_cookie_ga First party shop Google Analytics User ID cookie. Used to distinguish users. Default expiration time (2 years) edrone_2_0.js
    external_cookie_gid First party shop Google Analytics User ID cookie. Used to distinguish users. Default expiration time (24 hours) edrone_2_0.js
    document_referrer The Document.referrer property returns the URI of the page that linked to this page. edrone_2_0.js
    location_url Used to get the current page address (URL) edrone_2_0.js

    # Response

    Parameter name Description Set By
    x-edrone-event-id Unique event identifier generated by edrone. Provides an end-to-end view of requests as they travel through edrone app edrone server
    status_code
  • 2xx - The event was successfully added to the queue.
  • 5xx - Internal Server Error
  • edrone server
    ccid Unique visitor identifier. This cookie is used in Third Party Context edrone server
    e_dv_$(app_id) Third-party cookie used to calculate unique daily visitors statistic. Only presence counts (value is discarded). edrone server

    # Internal

    Parameter name Description Set By
    id(x-edrone-event-id) Unique event identifier generated by edrone. Provides an end-to-end view of requests as they travel through edrone app edrone server
    ccid Unique visitor identifier. This cookie is used in Third Party Context edrone server
    is_first_visit_utc_today Specify if a visitor has been already seen on the store that day by using "e_dv_$(app_id)" cookie edrone server
    received_at UTC server time when event was received. edrone server
    remote_addr Returns the IP address of the remote host making the request. browser
    http_x_forwarded_for Identifying the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer. browser
    http_origin Indicates the origin (scheme, hostname, and port) that caused the request. browser
    http_accept_language Indicates the natural language and locale that the client prefers. browser
    http_user_agent Characteristic string that lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent. browser
    http_referer Contains an absolute or partial address of the page that makes the request. browser
    request_uri (Uniform Resource Identifier) is a string that refers to a resource. browser