所以我在我的Shopify商店上有一个add to cart按钮,我想让一个标签在被点击后5秒内在Google tag Manager中触发。buttons类是:btn product-form__cart-submit 这是按钮: <button type="submit" name="add" aria-label="Add to cartproduct-form__cart-submit" aria-haspopup="di
到目前为止,我的代码如下: if ($('label input').is(':checked')) {$('p').append(donateAmount);我正在检查以确保"donateAmount“变量只获取一个值,所以为了测试,我将它附加到HTML后,是append()的函数,而我的变量只有一