Zaraz Goggle Ads Config

For Workes & Pages, what is the name of the domain?

What is the error number?

none

What is the error message?

Ads not working in Google Ads

What is the issue or error you’re encountering

Want to track on click events. If click URL Contains: mailto see original gtag in screenshot

What steps have you taken to resolve the issue?

1.) configured Google Ads (zaraz third party tools)
2.) Created a Trigger Gads Click - Just Links": Match rule, URL, Contains, mailto
3.) Created ab Action “GAds - Mail Clicks”, Firing Trigger “Gads Click - Just Links”, insert: Conversion Label: alAKCxxxxxxxxxxxxx

What are the steps to reproduce the issue?

You will find original gtag manager scheme attached

Screenshot of the error

To track a local event on the client that doesn’t post back to your server (and thus isn’t sent to cloudflare along the way), like clicking a mailto: link, you’ll need to add a javascript listener for the local event.

You can do that with custom code, or with one of the listeners built-in. For example, for most clicks you can use their default click listener: Triggers and rules · Cloudflare Zaraz docs (they also have scroll-depth and a few others, similar ot the defaults in GTM).

Since you probably don’t have every mailto link coded with a CSS tag, you can use an Xpath expression to detect mailto: links specifically. I believe this will work (not tested):
//a[starts-with(., 'mailto:')]/@href
You can then use a Match Rule to filter which pages that fires upon if you wish, but that just filters the events similar to adding additional rules to your example from GTM.