amp subscription google

Solutions on MaxInterview for amp subscription google by the best coders in the world

showing results for - "amp subscription google"
Nicola
19 Feb 2019
1<head>
2  ...
3  <script
4    async
5    custom-element="amp-subscriptions"
6    src="https://cdn.ampproject.org/v0/amp-subscriptions-0.1.js"
7  ></script>
8  <script
9    async
10    custom-element="amp-subscriptions-google"
11    src="https://cdn.ampproject.org/v0/amp-subscriptions-google-0.1.js"
12  ></script>
13  <script type="application/json" id="amp-subscriptions">
14    {
15      "services": [
16        {
17          // Local service configuration
18          "authorizationUrl": "https://...",
19          "pingbackUrl": "https://...",
20          "actions": {
21            "login": "https://...",
22            "subscribe": "https://..."
23          }
24        },
25        {
26          "serviceId": "subscribe.google.com"
27        }
28      ]
29    }
30  </script>
31  <script type="application/ld+json">
32    {
33      "@context": "http://schema.org",
34      "@type": "NewsArticle",
35      {...},
36      "isAccessibleForFree": "False",
37      "publisher": {
38        "@type": "Organization",
39        "name": "The Norcal Tribune",
40        "logo": {...}
41      },
42      "hasPart": {
43        "@type": "WebPageElement",
44        "isAccessibleForFree": "False",
45        "cssSelector" : ".paywall"
46      },
47      "isPartOf": {
48        "@type": ["CreativeWork", "Product"],
49        "name" : "The Norcal Tribune",
50        "productID": "norcal_tribune.com:basic"
51      }
52    }
53  </script>
54</head>
55
similar questions
queries leading to this page
amp subscription google