• Resolved luisbarroslcp

    (@luisbarroslcp)


    hi, I wanted to know if it is possible to configure the plugin to collect data only from AMP pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alin Marcu

    (@deconf)

    Hi,

    You can use this hook to empty the $data[‘trackingcode’] variable right before the output.

    Hope it helps.

    Thread Starter luisbarroslcp

    (@luisbarroslcp)

    and where would this output be?

    Plugin Author Alin Marcu

    (@deconf)

    It looks like I haven’t posted the hook names, probably a type error. Here they are:

    • aiwp_analytics_commands
    • aiwp_gtag_commands

    You need to use them to empty $data[‘trackingcode’] before output.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘collect data from amp only’ is closed to new replies.