Problem/Motivation

An older version of the SmartCode has been detected on your website.
Version: 2.0 Type: Async Platform: Drupal Checked on: January 13, 2025 10:56 AM

While your current version will continue to function smoothly, we recommend you to install the newer SmartCode version (2.1) by following the steps shown below. Check the changelog for updates on new features.

Version 2.1, released 01-03-2024

  • Eliminate white flash caused by SmartCode integration via external files (e.g., Tag Managers, Cookie consent managers), though adding SmartCode via external files is not advisable as it might cause a flash of original content.
  • Mitigate VWO's impact on core web vitals (FCP & LCP), especially for SSG-built websites (e.g., Gatsby, Next.js, Nuxt.js).
  • Address loading delay of VWO resources in Firefox browser to ensure smoother performance.

Steps to reproduce

Install latest module, and then go to https://app.vwo.com/#/websites-and-apps/connected/website/1/code to review the installation

Proposed resolution

Update to version 2.1 in module

Remaining tasks

Implement and Test

User interface changes

None

API changes

None

Data model changes

None(?)

CommentFileSizeAuthor
#6 vwo_test.png35.69 KBsagesolutions
#6 vwo_2.1.png39.46 KBsagesolutions
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sagesolutions created an issue. See original summary.

elc made their first commit to this issue’s fork.

elc’s picture

Version: 8.x-1.4 » 8.x-1.x-dev
Assigned: Unassigned » elc
Issue summary: View changes
Status: Active » Needs work

Minor updates to OP.

elc’s picture

Assigned: elc » Unassigned
Status: Needs work » Needs review

VWO now shows the correct version when connecting a website.

Confirmation that the A/B testing is working as expected with this change would be appreciated before a release should be made.

sagesolutions’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new39.46 KB
new35.69 KB

Added patch to site and created a test in VWO. Site is working as expected, see added screenshots
version 2.1
vwo test

  • elc committed 472a8c84 on 8.x-1.x
    [#3499432] Update SmartCode to v2.1
    
elc’s picture

Status: Reviewed & tested by the community » Fixed

Thank you! Soon to be released as 8.x-1.5.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.