简体   繁体   English

如何在AMP项目上集成intentMedia第三方服务?

[英]How to integrate intentMedia thrid party service on AMP project?

Recently I am developing an AMP project where I need to add intentMedia ( https://intentmedia.com ) third party service to track user record. 最近,我正在开发一个AMP项目,我需要添加intentMedia( https://intentmedia.com )第三方服务来跟踪用户记录。 This third party is totally based on javascript platform. 该第三方完全基于javascript平台。 Were I need to set or modify IntentMediaProperties, a global javascript variable based on user activities. 我是否需要设置或修改IntentMediaProperties,这是一个基于用户活动的全局javascript变量。

I have tried it through amp-iframe component but could not achieved the goal. 我已经通过amp-iframe组件进行了尝试,但未能达到目标。

So how I can integrate intentMedia service on AMP project? 那么如何在AMP项目上集成intentMedia服务呢?

I have dealt with a few companies like that, some are pretty good and will work with you on becoming AMP compliant. 我已经与一些这样的公司打交道,其中一些公司相当不错,并将与您合作以符合AMP的要求。 Some aren't interested. 有些人不感兴趣。 Your best bet would be to contact them and see if they offer some form of AMP compliant tracking. 最好的选择是与他们联系,看看他们是否提供某种形式的AMP兼容跟踪。

Not sure what their tracking script looks like, but for most of the ones I have dealt with they're typically just building a query string from some variables. 不确定他们的跟踪脚本是什么样子,但是对于我所处理的大多数脚本,它们通常只是从一些变量构建查询字符串。 AMP has a set of variables that can be used with the amp-analytics and amp-pixel tags. AMP具有一组可以与amp分析amp-pixel标签一起使用的变量。 Check out this variable list for the available variables. 此变量列表中查看可用变量。

Assuming you have a representative you deal with at IntentMedia, contact them with the links provided in this post and see if their developers can help you convert their tracking script to be AMP compliant. 假设您在IntentMedia处有与您打交道的代表,请通过本文中提供的链接与他们联系,并查看他们的开发人员是否可以帮助您将其跟踪脚本转换为AMP兼容的。 Sounds like you're an existing customer, so they may be willing to work with you to make it happen. 听起来您是现有客户,所以他们可能愿意与您合作实现这一目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM