extractCanonicalFromAmpLink
This method takes a url and returns a AmpLinkType depending on the detected AMP link.
Return
the AmpLinkType or null
if the url is not an AMP link.
This method takes a url and returns a AmpLinkType depending on the detected AMP link.
the AmpLinkType or null
if the url is not an AMP link.