如何在Cordova中实施Google跟踪代码管理器

时间:2022-10-15 15:14:39

I read Google Tag Manager v4 - Getting Started and Integrating Google Tag Manager and Google Analytics in a SPA

我在SPA中阅读了Google跟踪代码管理器v4 - 入门并将Google跟踪代码管理器和Google Analytics集成

I am not sure how it handle at the Javascript side even I could. So I want to handle at the native side. But Google's documentation little bit confusing. I find nothing about Cordova and GTM article. Any thoughts? or a step by step guide?

即使我可以,我也不确定它在Javascript方面的处理方式。所以我想在原生方面处理。但谷歌的文档有点令人困惑。我对Cordova和GTM文章一无所知。有什么想法吗?还是一步一步指导?

1 个解决方案

#1


2  

I don't know if it's still the case or not. But you can use cordova-plugin-tag-manager and if you also have angular in your project, use try it with angulartics

我不知道是否仍然如此。但是你可以使用cordova-plugin-tag-manager,如果你的项目中也有角度,可以试试看角度

good luck

祝你好运

#1


2  

I don't know if it's still the case or not. But you can use cordova-plugin-tag-manager and if you also have angular in your project, use try it with angulartics

我不知道是否仍然如此。但是你可以使用cordova-plugin-tag-manager,如果你的项目中也有角度,可以试试看角度

good luck

祝你好运