• Resolved zo

    (@zotezo)


    Hi,
    I am trying to add GA code In AMP AMP Analytics Options where in Add new entry options
    I have added this code but showing some error can you please check what is wrong?

    {
    “vars”:{
    “account”:”UA-xxxxxx-1″}
    ,”triggers”:{
    “trackPageview”:{
    “on”:”visible”,”request”:”pageview”}
    ,”trackEvent”:{
    “on”:”click”,”selector”:”.order,.purcbtn,.ebtn-link,.ebtn,.ele-s-sm”,”request”:”event”,”vars”:{
    “eventCategory”:”AMPBuyNow”,”eventAction”:”${
    eventAction}
    “,”eventLabel”:”${
    eventLabel}
    “}
    }
    }
    }

    Thanks,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘GA code for Tracking’ is closed to new replies.