Removing bizible script from signin page
What does this MR do and why?
Describe in detail what your merge request does and why.
When signing into your Gitlab, a Bizible touchpoint gets created, this means that the Bizible script is enabled for both sign-ups and sign-ins. For sign-ins, the bizible script should be disabled as we only want to create touchpoints based on sign-ups.
closes https://gitlab.com/gitlab-com/marketing/digital-experience/buyer-experience/-/issues/1318
Screenshots or screen recordings
How to set up and validate locally
Validate Bizible is not running
-
In rails console, make sure the feature flag is off
Feature.disable(:ecomm_instrumentation)
2. Optionally comment out the bizible
config value to your gitlab.yml
file
## Bizible
# bizible: false
3. Visit any of the listed pages above, such as http://127.0.0.1:3000/users/sign_in
4. Check that Bizible is not installed/invoked. Running Bizible
in the Javascript console to get an undefined error or checking the network requests.
Validate Bizible running properly
-
Add
= render "layouts/bizible"
from/app/devise/sessions/new.html.haml
-
In rails console, make sure the feature flag is enabled
Feature.enable(:ecomm_instrumentation)
-
Add the
bizible
config value to yourgitlab.yml
file## Bizible bizible: true
-
Visit any of the listed pages above, such as
http://127.0.0.1:3000/users/sign_in
-
Check that Bizible is installed and running. Running
Bizible
in the Javascript console to get an object or checking the network requests.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.