websavers / WHMCS-Google-Tag-Manager

Google Tag Manager support for WHMCS
GNU General Public License v3.0
25 stars 13 forks source link

Add support for productImpression event #2

Closed jas8522 closed 1 year ago

jas8522 commented 3 years ago

As shown in the documentation here: https://developers.google.com/tag-manager/enhanced-ecommerce

Would need to be added to the switch ($vars['templatefile']) statement with a new case for the view products template file. We have no use for this as our product impressions occur outside of WHMCS.

jas8522 commented 1 year ago

Don't think this relevant anymore since the switch to GA4 events which have the view_item event which has already been implemented in a similar fashion as described above.