Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Ajout de Matomo à Pix Pro (PIX-2800). #282

Conversation

alexandrecoin
Copy link
Contributor

@alexandrecoin alexandrecoin commented Jul 8, 2021

🦄 Problème

Dans l'optique d'ajouter Matomo à Pix Pro, nous devons associer la variable siteId au site correspondant (pix-site et pix-pro) et ainsi faire en sorte que la variable siteId nécessaire au plugin nuxt-matomo ne soit plus codée en dur comme cela était le cas jusqu'à présent.

🤖 Solution

Ajout d'une variable d'environnement MATOMO_SITE_ID et de la vérification de sa présence.

🌈 Remarques

Nous n'avons pas trouvé d'info quant à la gestion d'erreur dans le fichier de config.
Peut-être remplacer le console.warn par un throw d'erreur ferait l'affaire ? Une meilleure option ?

💯 Pour tester

N/A

@alexandrecoin alexandrecoin added 👀 Tech Review Needed cross-team Toutes les équipes de dev labels Jul 8, 2021
@alexandrecoin alexandrecoin self-assigned this Jul 8, 2021
@pix-service
Copy link

I'm deploying this PR to these urls:

Please check it out!

@alexandrecoin alexandrecoin changed the title [FEAT] Ajout de Matomo à Pix Pro. [FEAT] Ajout de Matomo à Pix Pro. (PIX-2800) Jul 8, 2021
@alexandrecoin alexandrecoin changed the title [FEAT] Ajout de Matomo à Pix Pro. (PIX-2800) [FEAT] Ajout de Matomo à Pix Pro (PIX-2800). Jul 8, 2021
@VincentHardouin
Copy link
Member

La #277 ne faisait pas déjà cela ?

@alexandrecoin
Copy link
Contributor Author

La #277 ne faisait pas déjà cela ?

Effectivement, on dirait bien que ça fait doublon... 🤦‍♂️
On close cette PR pour reprendre la #277 ?

Copy link
Contributor

@francois2metz francois2metz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌹 🌺 💮 🥀 🌷 🌻 🌸 LGTM 🌸 🌻 🌷 🥀 💮 🌺 🌹

@pix-service-auto-merge pix-service-auto-merge force-pushed the tech-add-matomo-site-id-env-for-splitted-sites-analytics branch from 1f88b7b to 49d92b9 Compare July 19, 2021 09:29
@pix-service-auto-merge pix-service-auto-merge deleted the tech-add-matomo-site-id-env-for-splitted-sites-analytics branch July 19, 2021 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants