Overview
Follow these steps to download your site-specific tagging document and install Freestar's React component on your project.
Download the Freestar ad code
- Login to the Freestar Publisher Dashboard.
- Select Site Configuration in the left-hand menu.
- Select the Ad Tags tab.
- Locate your site.
- Select React Tags to download the .txt file.
Your unique ad tags will be in a .txt file; you can open this file in any text editor. This file is unique per domain. If applicable, the Freestar tags will replace your current provider's tags on the page.
If you receive an error message when downloading your tag file, please disable your Ad Blocker. If the issue persists, please speak with your Freestar Point of Contact.
Installation
Run the following command to add the Freestar React component to your project.
npm
npm install @freestar/pubfig-adslot-react-component --save
yarn
yarn add @freestar/pubfig-adslot-react-component
Peer Dependencies
Please note that react and prop-types are peer dependencies.
"peerDependencies": {
"react": ">=15.7.0",
"prop-types": "^15.7.2 "
}
What's Next