Skip to main content

Objects Overview

Data objects are the fundamental building blocks of the Reshape tracking system. These standardized data structures ensure consistent, accurate tracking across all events and enable comprehensive analytics and personalization capabilities.

Core Object Types

Event Tracking Objects

Product Object
Contains comprehensive product information including identification, pricing, inventory, media, categories, and custom properties. Used in all e-commerce events to track product interactions, purchases, and analytics.

User Object
Captures customer data including contact information (email, phone), demographics, address details, order history, and custom attributes. Enables user identification, segmentation, and personalization across all events.

Transaction Objects

Shipping Object
Tracks shipping methods, costs, tax information, and delivery options. Essential for order fulfillment, logistics analytics, and shipping performance monitoring.

Payment Object
Records payment method details, transaction amounts, and payment types. Critical for financial tracking, payment method performance, and revenue analytics.

Coupon Object
Documents discount codes, promotional values, tax implications, and coupon types. Enables promotion tracking, discount analytics, and marketing campaign effectiveness measurement.

Context Objects

Context Object - Web
Provides web-specific context including page URLs, environment settings, and page types. Essential for Single Page Applications (SPAs) and accurate page tracking.

Context Object - API
Delivers API-specific context data for server-side implementations and backend integrations. Enables comprehensive tracking across different implementation methods.

Object Architecture

Data Structure Principles

Consistent Schema
All objects follow standardized field naming conventions, data types, and validation rules to ensure compatibility across platforms and integrations.

Flexible Properties
Each object supports custom properties fields for business-specific attributes, enabling tailored tracking without breaking core functionality.

Privacy Compliance
Built-in support for data hashing (SHA-256), anonymization, and privacy-focused data collection methods to meet GDPR, CCPA, and other regulatory requirements.

Integration Patterns

Web Implementation
Objects are optimized for browser environments with support for dynamic data collection, real-time updates, and client-side processing.

API Implementation
Server-side ready with comprehensive validation, batch processing capabilities, and enterprise-scale data handling.

Hybrid Approaches
Seamless compatibility between web and API implementations, allowing mixed integration strategies based on business needs.

Implementation Guidelines

Data Quality Standards

Required vs Optional Fields
Clear specification of mandatory data points versus optional enrichment fields, enabling both minimal viable implementations and comprehensive tracking setups.

Data Validation
Built-in validation rules for data types, formats, and business logic to ensure data quality and prevent tracking errors.

Performance Optimization
Efficient data structures designed for minimal overhead, fast processing, and scalable implementations across high-traffic environments.

Best Practices

Consistent Implementation
Use identical object structures across all events and touchpoints to maintain data consistency and enable accurate cross-event analysis.

Progressive Enhancement
Start with core required fields and progressively add optional data as your implementation matures and business needs evolve.

Custom Properties Strategy
Develop standardized naming conventions for custom properties to enable meaningful segmentation, reporting, and audience building.

Use Cases

E-commerce Analytics

Product Performance
Track product views, cart additions, purchases, and customer preferences using Product objects with detailed attribute tracking.

Customer Journey
Map complete customer lifecycles using User objects combined with transaction data for comprehensive behavior analysis.

Revenue Optimization
Monitor shipping preferences, payment methods, and coupon usage to optimize pricing