pass-culture / pass-culture-institutional

pass Culture institutional web site
Mozilla Public License 2.0
3 stars 3 forks source link

fix: added missing onClick for PushCTA #334

Closed vikingprank closed 4 months ago

vikingprank commented 4 months ago

In the home, when clicking Télécharger l'application , the event downloadApp wasn't being sent even if it was correctly filled in Strapi. The issue was that the component being used in strapi was called CTASection, and the data from this component was being used in the Next component PushCTA using CtaLink. I added an onClick calling analytics and it worked.

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
55.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud