duracelltomi / gtm4wp

Google Tag Manager plugin for WordPress
https://gtm4wp.com/
GNU General Public License v3.0
147 stars 95 forks source link

view_item only active if variations selected #327

Open GiovanniGoccia opened 8 months ago

GiovanniGoccia commented 8 months ago

it is possible to ask view_item activated even if a variation is not selected and load parent sku into the datalayer in this case?

remarketing would be equally effective as it would link with the item_group_id in the google merchant center feed.

I consider it a mistake to trigger view_item only when a specific variation is displayed. Many equally valid view_item are lost.

duracelltomi commented 8 months ago

I can include an option to allow this kind of behavior, yes.

iverbunt commented 8 months ago

Hi there, will this be fixed in the next update? Because it's quite an important part missing.

regards Imre

duracelltomi commented 8 months ago

Hi,

It will be added into 1.21, first I need to release a bugfix release (v1.20.1)

iverbunt commented 7 months ago

Hi there, do you have an idea when 1.21 will be released with the fix?

duracelltomi commented 7 months ago

I have no release date yet, but your programmer can use this changelog to add this new feature into your site if this is urgent for you: https://github.com/duracelltomi/gtm4wp/commit/cdac0a7b1bd8559c3eed89a95bc7af1a2d8eebc3