algolia / search-insights-gtm

Google Tag Manager template for detecting front-end Algolia search metrics
Apache License 2.0
6 stars 5 forks source link

feat: add value+currency support for conversion events #20

Closed jonathaningram closed 1 year ago

jonathaningram commented 1 year ago

EEX-780

jonathaningram commented 1 year ago

New fields:

image image image

Nothing for view events though:

image

Event works in real test:

image
jonathaningram commented 1 year ago

Just want to confirm that these are all optional, right? They can be left empty? I just want to ensure our customers aren't going to have any rejected events or similar?

This is a great call out.

Will check the fields in this PR. But, a quick check of my previous PR and I see that we now force a subtype but we need a "none" option for the previous cases. Will fix that.

image
jonathaningram commented 1 year ago

Lone conversion event with no currency/value set:

image

Observe that currency/value not provided in payload and event succeeds:

image