It seems time is flying! It is already the end of another Sprint. This one is focused on features for better usage of the Planet 4 Website. Here’s an overview of what happened during this sprint 206, covering new DataLayer Variable, Gravity Forms, and Client-Side dynamic solutions. No bugs this time, hehe. Enjoy it!

Features  🛠

PLANET-7075 – Add a new DataLayer Variable (DLV) that tracks which blocks are being used on a page

  • A data layer is a JavaScript object that collects data on the website in a standardized way. Every tool you interconnect to the website — analytics, heat mapping, live chat, etc. — accesses this one layer of data, ensuring each tool gets the data it needs.

    In the Planet 4 Website, it has been added a new DLV to the header array. This will enable the website to fetch a value from the Data Layer and turn it into a variable, which can be used in Tags, Triggers, and even other variables. Cool, right?

PLANET-7028 – Gravity Forms: Automatically add and populate Analytics Feed and DataLayer Variable (DLV) values

  • You might know the Google Analytics event tracking needed to be manually enabled at every form settings level by adding a new Feed by going to Form Settings > Google Analytics. It means there was a lot of room for error, resulting in the wrong data in Google Analytics. Now it has changed! When a user creates a form, they must choose a Form Type from a dropdown. It automatically sends values to the DataLayer, without you needing to do it manually!

PLANET-7003 – Implement client-side dynamic population on form fields

  • We know that GravityForms provides a method for auto-populating form fields based on url query strings. When enabling the appropriate checkbox on specific fields, the form can save these values as part of the individual entries. This action is done server-side, so part of the standard query strings doesn’t bypass the cache.

    The cool thing is that GP Switzerland solved this issue (Wohooo) by implementing a client-side solution. And now, it has been adopted in our theme as a global solution! Thank you, GP CH 💚.

Bug Fixes 🐞

404, no bugs found!

🤔 Key info: Don’t let bugs run free! Make sure to report them here.