<commit_before>ReferrerTracker
===============

This plugin tracks the source of the traffic for you and also tracks the conversations happening in your rails project.

Example
=======

In referrer_tracker.yml file in cofig directory -

track1:
  actions: "home#index home#dashboard"  #These actions will be tracked - with first as landingpage and second as dashboard page.
  conversion: true #if set to true, this will track the conversions.
  conversion_rate: true #if set to true, this will also save landingpage hits, based on which conversion_rate can be calculated.
  referreral_parameter: sr # on successfull converstion it will credit ?sr= parameter as source. If left null, credit will be given to url, the user came from.

Installation
=============

First run the migrations using - 

    rake db:migrate:rt_setup

This way, it will create a table in your database named - referrer_track.

Then add a referrer_tracker.yml file inside the config directory and add the configuration as shown in above example.

<commit_msg>Formatting regarding .yml file corrected.<commit_after>ReferrerTracker
===============

This plugin tracks the source of the traffic for you and also tracks the conversations happening in your rails project.

Example
=======

In referrer_tracker.yml file in cofig directory -

   track1:
     actions: "home#index home#dashboard"  #These actions will be tracked - with first as landingpage and second as dashboard page.
     conversion: true #if set to true, this will track the conversions.
     conversion_rate: true #if set to true, this will also save landingpage hits, based on which conversion_rate can be calculated.
     referreral_parameter: sr # on successfull converstion it will credit ?sr= parameter as source. If left null, credit will be given to url, the user came from.

Installation
=============

First run the migrations using - 

    rake db:migrate:rt_setup

This way, it will create a table in your database named - referrer_track.

Then add a referrer_tracker.yml file inside the config directory and add the configuration as shown in above example.


{'fraction_non_alphanumeric': 0.07214048410061699, 'fraction_numerical': 0.0009492168960607499, 'mean_word_length': 4.377551020408164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5035588', 'n_tokens_mistral': 551, 'n_tokens_neox': 527, 'n_words': 282}