• Resolved genericname

    (@genericname)


    Hi,

    I have a custom Reader theme (a child of main theme) and I am trying to set up Google Analytics. I tried adding the snippet of json into the configuration field from the options page, but <amp-analytics> does not show up on my posts when I check the page source.

    View post on imgur.com

    If I try it with another Reader Theme like Twenty Nineteen it will work. Am I missing something for it to work on my own theme? Would I have to use the amp_post_template_analytics filter instead?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Google Analytics question (Reader Theme)’ is closed to new replies.