[英]How do I link and extract events to a session ID in google analytics?
[英]How do I access the shared google analytics id in Drupal 7
我希望在Drupal的另一部分中使用Drupal Google分析跟蹤ID進行一些自定義跟蹤。
我想使用用戶輸入的共享ga uA代碼,而不要創建新的代碼。 如何獲得用戶已經輸入到GA模塊中的GA ID的編程參考。
嘗試這個:
$ga_id = variable_get('googleanalytics_account');
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.