<commit_before># GACE
> Google Analytics Content Experiments + Rails = AWESOME

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'gace'
```

Update application.html.erb layout to include necessary javascript:

```html
<<!DOCTYPE html>
<html>
<head>
  <%= gace_javascript_include %>
</head>
<body>
</body>
</html>
```

## Usage

#### Setup experiment in Google Analytics
Configure each variation with a different `gace_var` parameter value.

example:
* control: `http://mysite.com/signup`
* variation one: `http://mysite.com/signup?gace_var=expensive`
* variation two: `http://mysite.com/signup?gace_var=cheap`

Make sure to record the newly created experiment ID.

<commit_msg>update install docs<commit_after># GACE
> Google Analytics Content Experiments + Rails = AWESOME

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'gace'
```

Update application.html.erb layout to include necessary javascript.
Make sure to include the javascript at the very top of your head (per Google Analytics installation instructions).

```html
<<!DOCTYPE html>
<html>
<head>
  <%= gace_javascript_include %>
</head>
<body>
</body>
</html>
```

## Usage

#### Setup experiment in Google Analytics
Configure each variation with a different `gace_var` parameter value.

example:
* control: `http://mysite.com/signup`
* variation one: `http://mysite.com/signup?gace_var=expensive`
* variation two: `http://mysite.com/signup?gace_var=cheap`

Make sure to record the newly created experiment ID.


{'fraction_non_alphanumeric': 0.12508185985592665, 'fraction_numerical': 0.0, 'mean_word_length': 5.136546184738956, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, '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': '2664085', 'n_tokens_mistral': 514, 'n_tokens_neox': 468, 'n_words': 158}