https://github.com/brandonhimpfen/social-media-campaign-roi-calculator
Calculate the return on investment (ROI) of social media campaigns based on key performance indicators (KPIs) and campaign costs.
https://github.com/brandonhimpfen/social-media-campaign-roi-calculator
calculator campaign campaign-roi digital-marketing marketing roi social-media social-media-campaign
Last synced: about 1 month ago
JSON representation
Calculate the return on investment (ROI) of social media campaigns based on key performance indicators (KPIs) and campaign costs.
- Host: GitHub
- URL: https://github.com/brandonhimpfen/social-media-campaign-roi-calculator
- Owner: brandonhimpfen
- License: mit
- Created: 2023-06-18T16:34:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T16:43:15.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T01:08:55.531Z (12 months ago)
- Topics: calculator, campaign, campaign-roi, digital-marketing, marketing, roi, social-media, social-media-campaign
- Language: JavaScript
- Homepage: https://www.himpfen.com/social-media-campaign-roi-calculator/
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# social-media-campaign-roi-calculator
Calculate the return on investment (ROI) of social media campaigns based on key performance indicators (KPIs) and campaign costs.
## Installation
You can install the package via npm:
```
npm install social-media-campaign-roi-calculator
```## Usage
```
const calculateROI = require('social-media-campaign-roi-calculator');const kpis = {
revenue: 5000,
expenses: 3000,
};
const campaignCost = 2000;const roi = calculateROI(kpis, campaignCost);
console.log('ROI:', roi);
```