unexpected token < in JSON at position 0
-
Getting this error – “unexpected token < in JSON at position 0” while adding analytics amp code in the amp settings.
<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script> <amp-analytics type="gtag" data-credentials="include"> <script type="application/json"> { "vars" : { "gtag_id": "UA-137248216-2", "config" : { "UA-137248216-2": { "groups": "default" } } } } </script> </amp-analytics>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘unexpected token < in JSON at position 0’ is closed to new replies.