On Shopify
Connect Google Analytics in the Face Age app.
With the SDK
Set the
gtag option.Modal
Quiz
The
email, clientEmail and phone events only say that the field was submitted — the address or number itself is never sent. choice events do include the selected answer.Skin analysis
Results and report
Products
Routines
Send them to GA4 with Google Tag Manager
1
Create Data Layer Variables
In GTM, go to Variables → New → Data Layer Variable and create three variables:
action, category and label.2
Create a trigger
Go to Triggers → New → Custom Event. Set the event name to
^(view|click|submit)$, check Use regex matching, and add the condition category matches RegEx ^(skin_analysis|quiz_name|question_title|choice_text|problem_name|product_name)$ so other click events on your site don’t fire it.3
Create a GA4 event tag
Go to Tags → New → Google Analytics: GA4 Event. Use your measurement ID, set the event name to
faceage_{{action}}, and add category and label as event parameters. Attach the trigger from step 2.4
Publish and test
Open Preview, run a scan on your site, and check that each step shows up in GTM and in GA4 DebugView.