Hi there @jmbarroso84,
It’s not something we’ve seen done and unfortunately being custom code related isn’t something we can assist with. Hopefully, someone else who uses MailPoet may have achieved it and is willing to share. 🙂
@jmbarroso84 Go into Google Tag Manager and setup a new trigger with the following details:
- Trigger type: Element visibility
- Selection method: CSS Selector
- Element selector: .mailpoet_validate_success (note the period in front of the class name)
- When to fire this trigger: Every time an element appears on screen
- Minimum Percent Visible: 100
- This trigger fires on: All visibility events
Use the trigger to fire a Google Analytics tag to send through an event.
-
This reply was modified 7 years, 1 month ago by
George Nagy.