Google分析跟踪代码插入到pdf文件中 [英] Google analytics tracking code insert in pdf file

查看:230
本文介绍了Google分析跟踪代码插入到pdf文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在PDF文件中插入Google分析的追踪程式码吗?我想知道用户来自哪里以及用户在我的PDF文件中的行为。



我知道PDF接受一些流程或方法,请引导我javascript,但我不知道它是否有能力进行谷歌分析。



谢谢!

解决方案

根据我的了解,您无法将实际的Google Analytics JavaScript片段插入到PDF中。

编辑 :我以前的回答不正确;我说你可以在PDF中嵌入GA引发的 __ utm.gif ,但@Mark在说这是不可能的时候是正确的。

正确的答案是:无法在PDF中嵌入外部资源,至少不能使用基本安全设置的现代PDF阅读器。

Is it possible that I can insert a tracking code of Google analytics in PDF file? I want to know where are users coming from and how users behave in my PDF file.

Please do guide me if you know some process or approach...

I know that PDF accepts some javascript, but I don't know if its capable of google analytics.

Thanks!

解决方案

You can't, to my knowledge, insert the actual Google Analytics JavaScript snippet into a PDF.

EDIT: My previous answer was incorrect; I said you could embed the __utm.gif that GA fires in the PDF, but @Mark is correct in saying this is not possible.

The correct answer is: It's not possible to embed an external resource in a PDF, at least not with modern PDF readers with basic security settings.

这篇关于Google分析跟踪代码插入到pdf文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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