[英]node specific google analytics tags in Drupal
I need to put this kind of tags (floodlight/doubleclick - Google Analytics) in some nodes in my Drupal site -each code snippet/GA tag is specific and different-. 我需要在Drupal网站的某些节点中放置这种标签(泛光灯/双击 - Google Analytics) - 每个代码段/ GA标签都是特定且不同的。 How can I put this specific tags in specific nodes?
如何将此特定标记放在特定节点中? -near the tag if possible?- blocks?
- 尽可能在标签附近? - 块? or there's a module that could help in this case?
还是有一个模块可以帮助这种情况?
Thanks for any help, this is an emergency! 感谢您的帮助,这是紧急情况!
<!--
Inicio de la etiqueta Floodlight de DoubleClick: No elimine el
nombre de actividad de esta etiqueta: Tag 001
URL de la página Web en la que se espera que se inserte la etiqueta:
Esta etiqueta se debe insertar entre las etiquetas <body> y </body>, tan cerca como sea posible
de la etiqueta de apertura.
Fecha de creación: 09/06/2011
-->
<script type="text/javascript">
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('<iframe src="http://fls.doubleclick.net/activityi;src=33000080;
type=tagss090; cat=tag00425;ord=' + a + '?" width="1" height="1" frameborder="0"
style="display:none"></iframe>');
</script>
<noscript>
<iframe src="http://fls.doubleclick.net/activityi;src=33000080;type=tagss090;cat=tag00425;
ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
</noscript>
<!-- Fin de la etiqueta Floodlight de DoubleClick: No eliminar -->
我通常像过去那样跟踪代码的方式是将代码添加到Drupal中的块,并使用块可见性设置来指定要加载块的节点。
This doesn't help with the OP's SEO "emergency", but this module was reviewed and published as full project to Drupal.org a few months ago and might help someone else who ends up on this post after searching Google for drupal + doubleclick + floodlight. 这对OP的搜索引擎优化“紧急”没有帮助,但几个月前这个模块被审查并作为完整项目发布到Drupal.org并可能帮助其他人在搜索谷歌搜索drupal + doubleclick +之后结束这篇文章泛光灯。
https://www.drupal.org/project/doubleclick_floodlight https://www.drupal.org/project/doubleclick_floodlight
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.