---
updatedAt: 2025-05-13T20:28:01.000Z
agentTools:
  projectIndex: https://mobile.developer.smartlook.com/v1.0/llms.txt
---

# Amplitude

## Manual integration

Smartlook can be easily integrated into Amplitude using `IntegrationListener`:

```dart Dart
class CustomIntegrationListener implements IntegrationListener {
  void onSessionReady(String dashboardSessionUrl) {
    analytics.logEvent('Smartlook session URL', eventProperties: {
      'session_url': dashboardSessionUrl
    });
  }

  void onVisitorReady(String dashboardVisitorUrl) {
    final Identify identify = Identify()
      ..set('smartlook_visitor_url', dashboardVisitorUrl)

    analytics.identify(identify);
  }
}

Smartlook.registerIntegrationListener(CustomIntegrationListener());
```

> Full Amplitude documentation with examples can be found on the [official website](https://developers.amplitude.com/docs/flutter-setup).