Skip to content

gatsby-plugin-google-analytics sets tracking code in the body #2894

@sungwoncho

Description

@sungwoncho

The google analytics plugin sets the tracking code in the <body /> here.

Any reasons for this? I'd like to move it to <head /> because Google Webmasters tools requires that "tracking code should be in the <head /> section of your page," when verifying the property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions