Skip to content

Commit

Permalink
1.1.01 Analytics (#26) (#27)
Browse files Browse the repository at this point in the history
* 1.1.01   Analytics (#26)

* fix version (#25)

* fix version

* fix micromatch

* upgrade express

* Try Plausible Analytics

* 1.1.01   analytics (#28)

* fix version (#25)

* fix version

* fix micromatch

* upgrade express

* Try Plausible Analytics

* try for beta

* 1.1.01   analytics (#29)

* fix version (#25)

* fix version

* fix micromatch

* upgrade express

* Try Plausible Analytics

* try for beta

* add betaProd logic

* 1.1.01   analytics (#31)

* fix version (#25)

* fix version

* fix micromatch

* upgrade express

* Try Plausible Analytics

* try for beta

* add betaProd logic

* fix modenv
  • Loading branch information
fouille committed Sep 24, 2024
1 parent c8ff505 commit 1947066
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions head.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Créer une nouvelle balise script
const script = document.createElement('script');

// Définir les attributs de la balise script
script.defer = true; // Ajouter l'attribut defer
script.setAttribute('data-domain', 'wazo-plugin-deploy.netlify.app');
script.setAttribute('data-api', '/lapetiteroute/api/event');
script.src = '/lapetiteroute/js/script.js'; // Définir le chemin du fichier JavaScript

// Ajouter la balise script dans la section head
document.head.appendChild(script);

0 comments on commit 1947066

Please sign in to comment.