发生虚拟页面浏览时触发标签 [英] Firing Tags when a Virtual Page View occured

查看:108
本文介绍了发生虚拟页面浏览时触发标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们创建了一个多步骤表单,并为步骤和确认页面添加了虚拟页面视图.有没有一种方法可以在标记管理器中使用这些虚拟页面视图来触发某些标记?

We've created a multistep form and added virtual page views for the steps and confirmation page. Is there a way to use these virtual page views in Tag Manager to fire some tags?

在Google Tag Assistant中,我确实看到了在Analytics(分析)中跟踪的综合浏览量,但是当我使用这些综合浏览量作为触发条件时,不会触发标签.

In Google Tag Assistant I do see the pageviews being tracked in Analytics, but the tags aren't fired when I used these pageviews to be the trigger.

虚拟页面视图是硬编码的,而不是通过标签管理器完成的.

The virtual page views are hardcoded, not done through Tag Manager.

推荐答案

虚拟页面视图是一个虚拟概念:)取决于实现方式:

Virtual page views is a virtual concept :) Depending on how it is implemented:

  • If URL doesn't change: you need to push events to the dataLayer. Here is an example.
  • If URL changes: you can use the built-in History Change trigger. Here is an example.

这篇关于发生虚拟页面浏览时触发标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆