{"title":"Phone Link Click","description":"Measures when a user clicks a link that uses the `href=\"tel:\"` protocol URL scheme to initiate a phone call from a link click.","_alerts":[{"variant":"note","message":"**Be aware, this event does NOT measure an actual phone call.** Browsers do not have a native API to detect if a call was made from a link click. This event only measures the click itself, not anything afterward."},{"variant":"warning","message":"**Redact the `href` value to only include the last 4 numbers in the event property.** Google and other platforms have strict policies about sending personally identifiable information (PII) in event data. **Even though the on-page click-to-call phone number isn't PII - Google, Meta and other platforms will flag anything that LOOKS like PII and possibly shut down the account as a result.**"}],"type":"object","allOf":[{"properties":{"event":{"title":"Event Name","const":"phone_link_click"}},"required":["event"]},{"title":"Link Properties","description":"These properties apply to many `*_click` events.","type":"object","definitions":{"link_url":{"type":"string","title":"Link URL","description":"The `href` attribute of the link that was clicked. The value should be a fully qualified URL.","example":"https:\/\/www.level.agency\/contact\/#form"},"link_domain":{"type":"string","title":"Link Domain","description":"The hostname of the link that was clicked. This can be useful for grouping links by domain.","example":"www.level.agency"},"link_path":{"type":"string","title":"Link Path","description":"The path of the link that was clicked. This can be useful for grouping links by path.","example":"\/contact\/"},"link_fragment":{"type":"string","title":"Link Fragment","description":"The fragment identifier of the link that was clicked. This can be useful for analyzing clicks on anchor links that point to a specific section of a page.","example":"form"},"link_text":{"type":"string","title":"Link Text","description":"The text (innerText) of the link that was clicked. It's recommended to lowercase this value for easier analysis.","example":"Contact Us"},"outbound":{"type":"boolean","title":"Outbound Link","description":"A boolean value indicating if the link is an outbound link (i.e. it goes to a different domain).","example":false}},"required":["link_url","link_domain","link_path","link_fragment","link_text"]},{"title":"Section\/UI Properites","description":"These properties can be applied to any event to provide more contextual information about \"where\" an interaction occured within a given page.","$schema":"http:\/\/json-schema.org\/draft-07\/schema#","type":"object","definitions":{"section_name":{"type":"string","title":"Section Name","description":"More specific than `ui_location`, this property can be used to describe the name of a section or container that the event occurred within.","example":"recent posts"},"ui_location":{"type":"string","title":"UI Location","description":"The name of the section or container that the event occurred within. This could be a sidebar, header, footer, or any other named\/defined section of a page.","example":"sidebar"}},"required":[]}]}