datacurrent_web_events

1.0.26 • Public • Published

DataCurrent - Web events

This module has the basic data pipeline to process the web events collected by the Lightning tracker.

Installation

You can easily install this module by running the following command:

npm i --save datacurrent_web_events

Initiating the module

Then you will have to go to your /definitions folder and create the file "datacurrent_module_init.js" if it does not exist yet.

Within this file you will have to "require" the module.

const datacurrent_web_events = require('datacurrent_web_events');
datacurrent_web_events();

Settings

Finally, you will have to create the "web_event_processing.js" file within your includes folder.

Copy-paste the settings below and modify to your needs.

module.exports = {
    "production": {
        "source_data": {
            "source_medium_harmonization": [{
                "original_source": "google",
                "original_medium": "cpc",
                "cleaned_source": "google",
                "cleaned_medium": "search_paid"
            }],
            "channel_mapping": [{
                "medium": "search_paid",
                "channel": "search",
                "channel_type": "paid"
            }]
        }
    },
    "acceptance": {
        "source_data": {
            "source_medium_harmonization": [{
                "original_source": "google",
                "original_medium": "cpc",
                "cleaned_source": "google",
                "cleaned_medium": "search_paid"
            }],
            "channel_mapping": [{
                "medium": "search_paid",
                "channel": "search",
                "channel_type": "paid"
            }],
            "social_sources": [
                "facebook",
                "tiktok"
            ],
            "search_sources": [
                "google",
                "bing"
            ]
        }
    }
}

Data format

Source medium harmonization

Channel mapping

Social sources

Search sources

Readme

Keywords

none

Package Sidebar

Install

npm i datacurrent_web_events

Weekly Downloads

1

Version

1.0.26

License

none

Unpacked Size

98.2 kB

Total Files

48

Last publish

Collaborators

  • graindata