Skip to content
Aropath logo
Documentation

Build and Understand Your Business Better On Aropath

Quick starts, API references, and SDKs for every language your team already uses.

Best Practices

Follow these core principles to maximize analytics data quality, maintain sub-30ms site loading speeds, and preserve key security.

1. Non-Blocking Async Loading

Always add the async attribute to the HTML script tag. This ensures the 2.8KB bundle executes asynchronously, keeping initial page render times under 30ms and preserving perfect 100 Lighthouse performance scores.

2. Key Isolation & Rotation

Keep public tracking_key strings on public client script tags while keeping secret API keys secured on backend servers. Rotate API keys periodically under Project Settings → API Keys.

3. Standardized Event Naming

Use lowercase snake_case for custom event names (e.g. checkout_completed, signup_submitted). Attach exact numeric transaction values to purchase events for accurate AI revenue forecasts.

4. Privacy & Compliance

Configure your workspace Country setting for proper regional compliance and time zone formatting. Ensure no unhashed sensitive personal data is sent in custom event metadata payload strings.

Ready to get started?