google-tag-manager - GTM trigger not firing on custom pop-up screen
问题描述
On our site, https://www.nzmotorhomerentals.co.nz/ we have created an tag in our GTM container to track Adwords conversion, however are having issues getting the tag to fire when a user clicks the Confirm button at the end of the booking process. We believe this is due to the pop-up screen once a user clicks on a search result.
At the moment the booking process is as follows: 1. User lands on homepage or other landing page. 2. User enters search criteria, and clicks 'Search' 3. User lands on /results page and then clicks 'Select' on chosen vehicle 4. Pop-up window appears and user clicks 'Go to final step' 5. User lands on final booking page and clicks 'Confirm'. When a user clicks 'Confirm' this is when we want the tag to fire.
We have tried a wide range of trigger variables with no luck. We managed to get a tag to fire on step 1 when a user clicks 'Search' as a way of troubleshooting, however have not been able to get any tags to fire once a user lands on the /results page and further into the booking flow.
All content from /results onward is a custom piece of html that is pulling from a broker site (this website is an affiliate model). We are wondering if Google Manager is able to read this custom code at all.
Any assistance on how variables to set to fire this trigger is much appreciated.
解决方案
您的预订表单在 iframe 中实施,并且无法用于跟踪代码管理器。
推荐阅读
- swift - 如何修复按钮尝试从列表中删除项目的错误?
- javascript - Laravel + Vue spa 两步路由器不工作
- java - 使用 Storm 2.2.0 启动我的拓扑:无法从种子主机 [localhost] 找到领导者 nimbus
- python - 收集 pyarrow.io 错误:找不到满足 pyarrow.io 要求的版本(来自版本:无)
- azure-cognitive-search - 在 Azure 搜索中,有没有办法将构面计数限定为顶级参数?
- html - 使用 jQuery load() 方法时出错
- random - 如何在 Rust 中使用 HC-128 生成随机数?
- axios - 使用 axios keep alive 连接多台服务器
- flutter - 在飞镖颤动中自动将json转换为对象
- java - Spring Boot + OAuth2 + REST API - 找不到证书路径