Displays GL Transmission Format (gITF) 3D models.
<script async custom-element="amp-call-tracking" src="https://cdn.ampproject.org/v0/amp-call-tracking-0.1.js"></script>
Dynamically replaces a phone number in a hyperlink to enable call tracking. Executes a CORS request to substitute the number.
<amp-call-tracking> tag must wrap a normal anchor tag that hyperlinks a
phone number. This phone number will be replaced with the values provided
by a CORS endpoint.
<amp-call-tracking config="https://example.com/calltracking.json"> <a href="tel:123456789">+1 (23) 456-789</a> </amp-call-tracking>
|config (required)|| |
Defines a CORS URL. The URL's protocol must be HTTPS. The response must consist of a valid JSON object with the following fields:
Your XHR endpoint must implement the requirements specified in the CORS Requests in AMP spec.
See amp-call-tracking rules in the AMP validator specification.
You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.Go to Stack Overflow Found a bug or missing a feature?
The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.Go to GitHub