Skip to content

bloqhouse/react-vue-adform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-vue-adform

Small component to implement Adform into your react/vue application

Installation

npm install react-vue-adform --save
yarn add react-vue-adform

Use / Example

import { adform } from 'react-vue-adform';

const params = {
  pm: 666666,
  divider: encodeURIComponent('|'),
  pagename: encodeURIComponent('Example name'),
};

adform.initialize(params);
  • params: it's an object that should contain:
    • pm: as the adform id
    • divider: as the url divider. Example: encodeURIComponent('|')
    • pagename: as the page name. Example: encodeURIComponent('Example name')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published