1

知道如何使用 AMP Page 跟踪scroll depthFacebook像素amp-analytics

我已经尝试但仍然无法获取和显示深度参数,下面是我的代码:

 {
    "vars": {
        "pixelId": "123"
    },
    "triggers": {
        
        "scrollPings1": {
            "on": "scroll",
            "request": "event",
            "scrollSpec": {
                "verticalBoundaries": [25]
            },
            "vars": {
                "eventName": "ScrollDepth"

            }
        },

        "scrollPings2": {
            "on": "scroll",
            "request": "event",
            "scrollSpec": {
                "verticalBoundaries": [50]
            },
            "vars": {
                "eventName": "ScrollTracking",
                "content_name": "ScrollDepth"
            }
        }
    }
4

0 回答 0