Skip to main content

How to add Adinton pixel in Docusaurus

  1. Go to Static folder in your docusaurus.
  2. Create a field called: adinton.js
  3. Copy the common tracker.
  4. Paste the common tracker in adinton-tracking.js
  5. Go to docusaurus.config.js
  6. Go to Script section in configTheme, if it doesn't exist, you have to create it:
  // ... other configurations

scripts: [
'/adinton-tracking.js' // use the correct path

// ... more configurations