Skip to content

Removing bizible script from signin page

Miracle Banks requested to merge removing-bizible-script-from-signin into master

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

Bizible Running image
Bizible not running image

How to set up and validate locally

Validate Bizible is not running
  1. 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
  1. Add = render "layouts/bizible" from /app/devise/sessions/new.html.haml

  2. In rails console, make sure the feature flag is enabled

    Feature.enable(:ecomm_instrumentation)
  3. Add the bizible config value to your gitlab.yml file

    ## Bizible
    bizible: true
  4. Visit any of the listed pages above, such as http://127.0.0.1:3000/users/sign_in

  5. 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.

Edited by Miracle Banks

Merge request reports