๐๏ธ Consent modes
Under the GDPR and the ePrivacy Directive, collecting and processing visitor data often requires explicit consent.
๐๏ธ Consent callback
Activating the Script on Visitor Consent
๐๏ธ Anti-flicker script
If you are experiencing "flicker" with your experiments you can implement our anti-flicker script. This will render the page white until the variation changes has been made. This has a fallback to remove the white page after five seconds if the Lyftio for any reason has not loaded by that.
๐๏ธ Adding revenue
To track revenue data in your experiments, you need to implement a revenue callback on your success page. For e-commerce sites, this is typically the โthank-youโ or order confirmation page โ the page that verifies the purchase and includes details such as the order ID, total order value, and item quantity.
๐๏ธ Forward events to GA4
By default, Lyftio pushes events containing experiment information to the dataLayer. This occurs the first time a visitor is exposed to an experiment during a session. Google Tag Manager can be configured to capture this information and forward it to GA4.
๐๏ธ Client storage location
Client storage location!
๐๏ธ Exclude IP from results
You can exclude visitors by entering IP addresses in the input field. Each valid entry is converted into a chip after you press Enter, type a comma, or leave the field.
๐๏ธ Tracking in Shopify
Shopify restricts third-party scripts from running directly in checkout.