Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 565 Bytes

2022-03-31-fix-google-analytics-tracking-of-gclid.md

File metadata and controls

11 lines (11 loc) · 565 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Fix Google analytics tracking of gclid
issue: NEXT-20946
author: Max
author_email: max@swk-web.com
author_github: @aragon999
---

Storefront

  • Changed handling of initializing the Google Tag Manager from the callback function to the corresponding JavaScript plugin to take the gclid into account if one navigates to a different page
  • Added blocks component_head_analytics_gtag and component_head_analytics_gtag_config to the @Storefront/storefront/component/analytics.html.twig template
  • Deprecated block component_head_analytics_tag_config