<commit_before># Analytics

[![CI Status](http://img.shields.io/travis/segment-integrations/analytics-ios-integration-google-analytics.svg?style=flat)](https://travis-ci.org/segment-integrations/analytics-ios-integration-google-analytics)
[![Version](https://img.shields.io/cocoapods/v/Segment-google-analytics.svg?style=flat)](http://cocoapods.org/pods/Segment-google-analytics)
[![License](https://img.shields.io/cocoapods/l/Segment-google-analytics.svg?style=flat)](http://cocoapods.org/pods/Segment-google-analytics)

Google Analytics integration for analytics-ios.

## Installation

To install the Segment-Mixpanel integration, simply add this line to your [CocoaPods](http://cocoapods.org) `Podfile`:

```ruby
pod "Segment-GoogleAnalytics"
```

## Usage

After adding the dependency, you must register the integration with our SDK.  To do this, import the Mixpanel integration in your `AppDelegate`:

```
#import <Segment-GoogleAnalytics/SEGGoogleAnalyticsIntegrationFactory.h>
```

And add the following lines:

```
NSString *const SEGMENT_WRITE_KEY = @" ... ";
SEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:SEGMENT_WRITE_KEY];

[config use:[SEGGoogleAnalyticsIntegrationFactory instance]];

[SEGAnalytics setupWithConfiguration:config];

```


## License

```
WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________<commit_msg>fixes ga name<commit_after># Analytics

[![CI Status](http://img.shields.io/travis/segment-integrations/analytics-ios-integration-google-analytics.svg?style=flat)](https://travis-ci.org/segment-integrations/analytics-ios-integration-google-analytics)
[![Version](https://img.shields.io/cocoapods/v/Segment-google-analytics.svg?style=flat)](http://cocoapods.org/pods/Segment-google-analytics)
[![License](https://img.shields.io/cocoapods/l/Segment-google-analytics.svg?style=flat)](http://cocoapods.org/pods/Segment-google-analytics)

Google Analytics integration for analytics-ios.

## Installation

To install the Segment-Google Analytics integration, simply add this line to your [CocoaPods](http://cocoapods.org) `Podfile`:

```ruby
pod "Segment-GoogleAnalytics"
```

## Usage

After adding the dependency, you must register the integration with our SDK.  To do this, import the Google Analytics integration in your `AppDelegate`:

```
#import <Segment-GoogleAnalytics/SEGGoogleAnalyticsIntegrationFactory.h>
```

And add the following lines:

```
NSString *const SEGMENT_WRITE_KEY = @" ... ";
SEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:SEGMENT_WRITE_KEY];

[config use:[SEGGoogleAnalyticsIntegrationFactory instance]];

[SEGAnalytics setupWithConfiguration:config];

```


## License

```
WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
{'fraction_non_alphanumeric': 0.13822894168466524, 'fraction_numerical': 0.0, 'mean_word_length': 6.071246819338422, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2415210', 'n_tokens_mistral': 936, 'n_tokens_neox': 877, 'n_words': 160}