Skip to content

Getting GA Id from Settings #9

@fassetar

Description

@fassetar

If the value is set in blogger settings there might be a way to place it in the amp settings for googleanalytics.

<amp-analytics type="googleanalytics">
      <script type="application/json">     
      {
        "vars": {
          "account": "UA-XXXXX-Y"
        },
        "triggers": {
          "trackPageview": {
            "on": "visible",
            "request": "pageview"
          }
        }
      }
      </script>
    </amp-analytics>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions