# didCountImpression

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Notifies that AATKit has counted an impression. To receive this event, make sure that you called [setImpressionListener](../functions/setimpressionlistener) function first.

### Data passed by the event <a href="#markdown-header-data-passed-by-the-event" id="markdown-header-data-passed-by-the-event"></a>

**placementName**

Unique name of the placement. The same name will be used in gravite.net account.

**adNetwork**

**adNetworkName**

**bannerSize**

**networkKey**

**price**

**currencyCode**

**precision**

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```javascript
import RNAatkit from '@addapptr/react-native-aatkit'
import { NativeEventEmitter, NativeModules } from 'react-native';
const aatkitEmitter = new NativeEventEmitter(RNAatkit);

const subscription = aatkitEmitter.addListener(
  'didCountImpression',
    (data) => console.log("[Statistics Impression Listener] didCountImpression data:  " 
        + " placementName: "+ data.placementName 
        + " adNetwork: " + data.adNetwork 
        + " adNetworkName: " + data.adNetworkName 
        + " bannerSize: " + data.bannerSize
        + " networkKey: " + data.networkKey
        + " currencyCode: " + data.currencyCode
        + " precision: " + data.precision 
        + " price: " + data.price)
);
```
