Skip to content

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 02 Nov 12:56
· 3 commits to main since this release

LW Pixel v1.5.1

Installation

Via Composer:

composer require lwplugins/lw-pixel

Manual Installation:

  1. Download lw-pixel-1.5.1.zip
  2. Upload to /wp-content/plugins/
  3. Activate in WordPress admin

Changelog

Fixed

  • GA4 sends hits again when another script defined gtag() before LW Pixel, most commonly LW Cookie with Google Consent Mode. LW Pixel only queued gtag.js's required js command when it created gtag() itself, so the tag loaded but sent no page views or events and set no _ga cookie. The command is now queued once, whoever defined gtag() (#14). Google Ads tags loaded through the same gtag() get the same fix.

Full Changelog: v1.5.0...v1.5.1