DFE-Digital / get-teacher-training-adviser-service

DFE-Digital Get Teacher Training Adviser Service
MIT License
2 stars 3 forks source link

Add Google Optimize for split testing #1317

Closed ethax-ross closed 1 year ago

ethax-ross commented 1 year ago

⚠️ Not to be merged until we are ready to run the split test

Trello card

Trello-4574

Context

We are split testing the TTA sign up on the GiT website with the Get an adviser service; in order for the test to work correctly the optimize script needs to be on both variants. It's already on the GiT website, but this will pull it into the Get an adviser service home page.

Changes proposed in this pull request

Guidance to review

This is largely a lift and shift of the implementation from the GiT website.

github-actions[bot] commented 1 year ago

Review app deployed to https://review-teacher-training-adviser-1317.london.cloudapps.digital

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

github-actions[bot] commented 1 year ago

Review app deployed to https://review-teacher-training-adviser-1317.london.cloudapps.digital

ethax-ross commented 1 year ago

As most people don't opt-in to cookies on the TTA service it will skew the optimize results, so we're only going to run it on the GiT website for splitting the traffic