Empty tracking ID numbers (on the form and on the website)

Created on 18 May 2023, over 1 year ago
Updated 2 June 2023, over 1 year ago

I upgraded GA module from 8.x-2.5 to 4.0.2. After adding the tracking codes to the form I was able to save it. But when the page was refreshed I didn't see the codes anymore.
After inspecing the code, I saw that when getting those codes in __construct in /src/Helpers/GoogleAnalyticsAccounts.php, the value was empty in my case.
I'll add the solution that worked for me.

🐛 Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

🇸🇮Slovenia joco_sp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024