Skip to content

Updating old Google Analytics tag (analytics.js) to the latest tag (gtag.js) #153

@dusty-turner

Description

@dusty-turner

Great theme. Your work is wonderful.

I was wondering if simply changing the "googleAnalytics" tag from the old version (below)...

googleAnalytics = "UA-XXXXXXXX-X"

...to the new version (below)...

googleAnalytics: "G-XXXXXXXXXX"

...is sufficient to change to the new Google Analytics tracking tag. The example in your theme shows the old version (that is expiring apparently) and I'm hoping its as simple as making the switch.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions