これらの掲示板を使用するには、JavaScriptがインストールされ、有効になっている必要があります。
お使いのブラウザでJavaScriptが無効になっているか、JavaScriptがサポートされていません。 JavaScriptを有効にする方法については、ブラウザのヘルプファイルを参照してください。
6 27, 2022 11:03 AM - 編集済み 6 27, 2022 1:41 PM
6月6日から6月17日の間、HubSpotコミュニティーでGoogleアナリティクス4に関する皆さんの質問・お悩み相談を募集しました。お寄せいただいたすべての質問にウェブ分析の第一人者である小川卓さんから回答いただきました。その回答動画を作成しましたので、早速ご覧ください♪
たくさんのご質問ありがとうございました!(質問募集期間は終了しました。本投稿にご質問をいただいても回答できかねますので、何卒ご理解いただけますと幸いです。)
-----------------------------------------
一部の質問を除いて小川さんの回答を抜粋して以下に文字起こししていますが、詳しくはぜひビデオをご覧になってください^^
▼目次▼
①01:11今までのGoogleアナリティクスとの違いをお教えいただけないでしょうか?また、Googleアナリティクス4への移行は必須なのでしょうか?
A.一つの大きな特徴は、よりユーザーにフォーカスした分析ができるようになったことです。GAは2023年の6月末で計測を停止するため、アクセス解析をしたい場合はGA4あるいは別のアクセス解析ツールへの移行が必要となります。無料の機能が豊富なので、移行するのであればGA4はおすすめです。
②05:25GA4移行に際して気をつけるべきことを3つあげるとしたら何になりますでしょうか?
A. 現在取得しているデータの棚卸し、新規要件の整理、運用整理が大切だと考えます。
③07:052022年06月30日までにGA4に移行しない場合、前年とのデータ比較ができなくなるという情報があります。これは”事実”なのでしょうか?事実であった場合、間に合わなかった場合の対策はあるのでしょうか?CSVのアップロードを行えばシステムで確認ができるなど。
A.事実であり事実ではない、というところです。今年の7月までにGA4を導入しておけば、来年データを比較する際の精度が上がると言えます。
④10:25このタイミングでサイトリニューアルとなりました。UAも実装しておいた方がよいのでしょうか?新規のサイトの場合、UAとGA4の併用について、どのように運用を進めていけばよいでしょうか?数字が二つあるだけで混乱してしまいます。
A.サイトリニューアルの場合は、UAも入れておいたほうがよいと考えます。新規サイトの場合は基本的にGA4だけでよいと思います。
⑤11:50ページ別のセッション数(そのページを含むセッション数)を確認したいと思っております。しかし、GA4では「ページ別訪問数」を確認することができません。探索で確認できるページ毎のセッション数は、ページ毎の「セッションを開始した数」となるのでしょうか。また、探索で確認できるページ毎の利用者数は、ページ毎の「利用を開始した数」となるのでしょうか。
A.セッション数は”訪問の一番最初にそのページを見た回数”ですので、おっしゃる通り”ページ毎のセッションを開始した数”です。ユーザーの合計数(利用者数)は、そのページを閲覧したユーザー数を示します。
⑥14:32知見がないので、GA4の設定を外注しようと思っております。アウトソースする範疇について、アドバイスいただけましたら、幸いです。
A.移行プロセスを次の4ステップに分け、自社でどこまでできるか、どこから外注するか考えていただくと良いと思います。①要件定義、②計測の設定および実装、③計測確認、④運用レポートの見直し
⑦17:23質問①:特にクライアントに向けて構築・移行をご説明する場合、最低限サイトのパフォーマンスを把握するにはどのようなレポートを用意するのが妥当でしょうか。UAと異なりGA4はレポートを手動で作る認識のため、作りこみすることになると工数が天井上がりになるため…。
A.GA4でも一般的なレポートはある程度用意されています。まずはそちらを中心に利用し、クライアントのニーズ(どのようなデータを今まで計測していたのかなど)に合わせて新たに作成すべきレポートの数を算出、見積もりを出すという流れがよいのではと考えます。
質問②:GoogleStudioでレポートを集約する、ということも検討しております。GA4のみでレポートを作るのがよいのか、DataStudioを使ってレポートを作ってくのがよいのかどちらがよいでしょうか。
A.明確にそれぞれのレポートのメリット・デメリットがあるので、それらを鑑みて使い分けていただくのがよいと思います。
⑧21:38イベントに関して
設定→イベントにある、イベントの「変更」と「作成」の違いについて
GTMとGA4上でのイベント設定で差異の有無
イベントの「変更」及び「作成」とその反映までの目安のリードタイム
A.GA4の画面を見せながら小川さんが解説してくれていますので、ぜひビデオをご覧ください。
⑨24:45コンバージョンの「新しいコンバージョン」を作成した時に、名前だけで設定が完了してしまう件について:こちらは何が取得できる状態なのでしょうか。
A.イベント名称を入力して保存しただけでは、何も取得できません。GTMでイベントを作成しておき、同一のイベント名称を入力すると、コンバージョンとして登録され計測できるようになります。
⑩26:04オーガニック検索の検索キーワードを見る方法について:GSCとの連携で検索ワード別分析等は可能でしょうか。
A.今までのGAと同じで、GSCのデータがGA4の画面上で見えるだけで何か連携ができるということではありません。
⑪26:39CVを「問い合わせフォーム送信」としたときに、そのユーザの回遊してきたページの貢献度を知る方法について:広告だとアトリビューションモデル等が利用可能ですが、広告でない場合も可能でしょうか?
⑫28:58コンテンツのグループ化の方法について:オウンドメディアで、投稿した記事を内容別にグルーピングして、解析したい
A.URLでグルーピングできるのであればGTMでその設定をする、または、サイトにDataLayerを実装する方法があります。(小川さんのGA4情報サイトをリンクします)
⑬31:20任意に設定したCVに対してCVR(この場合ではCV数をセッション数で除したもの)を算出する方法、並びに算出したCVRを「探索」で指標として使う方法
A.手動で計算する方法を除いて、方法はありません。
⑭32:44あるサイトにGA4を設定した後に、その下のディレクトリにまたGA4を設定すると二重計測になってしまいますでしょうか?
A.測定IDが同一であれば二重計測になります。
⑮34:48現在、広告の効果計測をする際にUAではメディア別もしくはキャンペーン別の「ラストクリックまたは直接のコンバージョン」数を取得しております。①10:00 Organicより流入 →②10:05 CPCで再流入 →③CV(※CVイベントをGA4で設定済みとする)▼セッションスコープの「トラフィック獲得」レポートをチェックした場合、
-Organicセッション1件、OrganicCV1件
-CPCセッション1件、CPCCV1件 となる?
A.Organicセッション1件、CPCセッション1件、CVはCPCに紐づきます。
⑯36:44
広告経由のCV数のGA4での取得方法
どうUA時代のCV数と比較すべきか
比較できない場合、GA4の広告経由CV数をどのようにとらえるべきか
GA4を導入される皆さん、ぜひこちらの回答動画が参考になれば幸いです。今後もこのようなAMA(質問募集企画)を開催していきたいと思いますので、ぜひコミュニティーで取り上げて欲しいAMAのトピックがあれば教えてください^^
この投稿にはまだ回答が寄せられていません。しばらく経ってからもう一度ご確認ください。また、役に立つ情報をご存じの場合はぜひ回答を投稿してください。
回答の仕方についてご不明な場合は、コミュニティーのガイドラインをご覧ください。
最新の製品アップデート情報を紹介しています
\\n\\t\\t\\t\\t\\t\\t要求された操作を完了できません。\\n\\t\\t\\t\\t\\t<\\/p>\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\t\\t\\t<\\/div>\\n\\n\\t\\t\\t\\n\\t\\t<\\/div>\";LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c0172f88c', 'disableAutoComplete', '#ajaxfeedback_1d4c8c012c5987_0', 'LITHIUM:ajaxError', {}, 'HGB-sJwzQ9bU0lycdgNsJfeAp-y8dUduVGdhevzxqyg.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1d4c8c012c5987_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c020bd0e7', 'disableAutoComplete', '#ajaxfeedback_1d4c8c012c5987_0', 'LITHIUM:ajaxError', {}, 'g-c-YNm0USXp23dyuwkQOwXAjwZ2qsU6t2JlmBHukEA.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1d4c8c012c5987_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"ユーザーを検索しています...","emptyText":"一致がありません","successText":"見つかったユーザー:","defaultText":"ユーザ名または評価を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c0244d615', 'disableAutoComplete', '#ajaxfeedback_1d4c8c012c5987_0', 'LITHIUM:ajaxError', {}, 'fV-LOme3FTwG8Cr47cedcHNk6rU6GA9tmuvMo1XH2Tk.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1d4c8c012c5987","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_1d4c8c012c5987","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1d4c8c012c5987_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"EoZZzBu5WHKMy_x_D6ii2_1dGk51fRDkj4pD9G32szU."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c0285de80', 'disableAutoComplete', '#ajaxfeedback_1d4c8c012c5987_0', 'LITHIUM:ajaxError', {}, 'd-bXxHjqGbsy2QqZKqTLrOXTDy3VHpxsnaagc1xJazI.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1d4c8c012c5987_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c02c0d602', 'disableAutoComplete', '#ajaxfeedback_1d4c8c012c5987_0', 'LITHIUM:ajaxError', {}, 'Qu44JSgxduoEpPHAr6e1zGnjZ6aa-TQX0_S6PQiso9o.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1d4c8c012c5987","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1d4c8c012c5987', 'enableAutoComplete', '#ajaxfeedback_1d4c8c012c5987_0', 'LITHIUM:ajaxError', {}, '-SwmXDssBtlvJFjZebCmTLBNR-5_HuG1horrhOWKopA.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1d4c8c012c5987","tooltipContentSelector":"#link_1d4c8c012c5987_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1d4c8c012c5987_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_1d4c8c012c5987","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_1d4c8c012c5987","asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1d4c8c012c5987_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.Form.resetFieldForFocusFound(); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { $(".custom-user-menu-v2 .nav-link").click(function(e) { e.preventDefault(); $(".nav-popover.profile").toggleClass('show'); }); $(".search-toggle-action-icon-plus").on("click",function(e){ e.preventDefault(); $(this).parent().find(".plus-bar-main-content").toggle(); }); //User Avatar $('.header-tab-nav li span').click(function() { $('.header-tab-nav li span').removeClass("active"); if(this.id == 'profile'){ $('span#profile').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').show(); $('.header-tab-nav-content > div#admin-list-wrapper').hide(); $('.header-tab-nav-content > div#profile-list-wrapper').removeClass('profile-menu-dropdown'); } if(this.id == 'admin'){ $('span#admin').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').hide(); $('.header-tab-nav-content > div#admin-list-wrapper').show(); $('.header-tab-nav-content > div#profile-list-wrapper').addClass('profile-menu-dropdown'); } var indexer = $(this).index(); //gets the current index of (this) which is #header-tab-nav li $('.header-tab-nav-content > div:eq(' + indexer + ')').fadeIn(); //uses whatever index the link has to open the corresponding box }); $(this).mouseup(function (e){ var customButton = $('.nav-popover.profile'); if(!$('.custom-menu-caret').is(e.target) && $('.custom-menu-caret').has(e.target).length === 0){ if(!customButton.is(e.target) && customButton.has(e.target).length === 0){ if (!$('.custom-user-menu-v2 > .nav-link').is(e.target) && $('.custom-user-menu-v2 > .nav-link').has(e.target).length === 0) { customButton.removeClass('show'); } } } var menuWrapper = $('.menu-wrapper'); if(!menuWrapper.is(e.target) && menuWrapper.has(e.target).length === 0){ if (!$('.menu').is(e.target) && $('.menu').has(e.target).length === 0) { menuWrapper.removeClass('offcanvas'); } } var container = $(".plus-bar-main-content"); var customButton = $(".search-toggle-action-icon-plus"); if (!customButton.is(e.target) && customButton.has(e.target).length === 0) { container.hide(); } if(!$('.lang-picker-wrapper').is(e.target) && $('.lang-picker-wrapper').has(e.target).length === 0){ if (!$('.lang-picker').is(e.target) && $('.lang-picker').has(e.target).length === 0) { $('.lang-picker').removeClass('show'); } } }); //SCROLL JS $(window).scroll(function(e) { e.preventDefault(); if($('.nav-popover.profile').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.profile').removeClass("show"); } else { $('.nav-popover.profile').addClass("show"); } } if($('.nav-popover.get-hubspot').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.get-hubspot').removeClass("show"); } else { $('.nav-popover.get-hubspot').addClass("show"); } } if ($(this).scrollTop() > 0) { $('.search-input.lia-search-input-message').blur(); $('.plus-bar-main-content').hide(); } }); }); jQuery('.lang-picker-wrapper').click(function(){ jQuery(".lang-picker").toggleClass('show'); }); jQuery('.lia-cat-sub-editor-modal .lia-ui-modal-footer .lia-button-Submit-action').live('click',function(){ setTimeout( function() { location.reload(true); },1000); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['en']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c03610a40","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c03610a40_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c03610a40_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c03610a40_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c03ac7e52', 'disableAutoComplete', '#ajaxfeedback_1d4c8c03610a40_0', 'LITHIUM:ajaxError', {}, 'GTTNWGl4cXFGHrBIB3OU31-_RwE0va6bVD99FE7J81Q.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1d4c8c03610a40_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c03df8101', 'disableAutoComplete', '#ajaxfeedback_1d4c8c03610a40_0', 'LITHIUM:ajaxError', {}, '3aqaiw26GHVRREVsqWcxr5FlxlPswRNiiIVkIV08eIE.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1d4c8c03610a40_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"ユーザーを検索しています...","emptyText":"一致がありません","successText":"見つかったユーザー:","defaultText":"ユーザ名または評価を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c041383bf', 'disableAutoComplete', '#ajaxfeedback_1d4c8c03610a40_0', 'LITHIUM:ajaxError', {}, 'XB_JW3MvYCUX3KFGAvpKvY_HaFvnTj-hEsl91uoCUZc.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1d4c8c03610a40","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_1d4c8c03610a40","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1d4c8c03610a40_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"1LG5DWoOKaoQonV3fuzWW9s_hi_rDig9PWrQXZRPRBE."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c04480d05', 'disableAutoComplete', '#ajaxfeedback_1d4c8c03610a40_0', 'LITHIUM:ajaxError', {}, '45MaEu8Gi1CHqknbhRXF__KZ8hQJbKeMka4NbyQ6VrY.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1d4c8c03610a40_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c047c19ff', 'disableAutoComplete', '#ajaxfeedback_1d4c8c03610a40_0', 'LITHIUM:ajaxError', {}, 'LqkRfOfGfqdcbMP0bU_9izvBiaBQS845jEaS4DBYcLw.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1d4c8c03610a40","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1d4c8c03610a40', 'enableAutoComplete', '#ajaxfeedback_1d4c8c03610a40_0', 'LITHIUM:ajaxError', {}, 'M6qvDFqXlSTwKlX8H-q995hVVP3v_KTbw5dP0iRpk5c.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1d4c8c03610a40","tooltipContentSelector":"#link_1d4c8c03610a40_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1d4c8c03610a40_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_1d4c8c03610a40","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_1d4c8c03610a40","nodesModel":{"guidelines_announcement_jp|forum-board":{"title":"掲示板を検索: コミュニティーからのお知らせ","inputSelector":".lia-search-input-message"},"user|user":{"title":"ユーザー","inputSelector":".lia-search-input-user"},"community_news_announcement_jp|category":{"title":"カテゴリを検索: コミュニティーからのお知らせ","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"コミュニティを検索: コミュニティーからのお知らせ","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1d4c8c03610a40_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); (function($) { if ( $('.lia-notification-feed-page-link').length ) { $('.lia-notification-feed-page-link').addClass('nav-notifs'); } if ( $('.private-notes-link').length ) { $('.private-notes-link').addClass('nav-mail'); } })(LITHIUM.jQuery); ;(function($){ $('.custom-search-focus').on('click', function() { $('.lia-search-input-message').focus(); }); })(LITHIUM.jQuery); // Pull in global jQuery reference if (document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0]) { document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0].href = "/t5/bizapps/page/tab/community%3Amoderation?filter=includeForums&sort_by=-topicPostDate&include_forums=true&collapse_discussion=true" } ;(function($) { $("#get-hubspot-free").click(function(){ $("#get-hubspot").toggleClass("show"); }); // Closes dropdown boxes when clicking outside of the box // click listener applied inline, function in script tag window.onclick = function(e) { if (e.target?.matches && !e.target?.matches('#get-hubspot-free')) { if (document.getElementById("get-hubspot")) { if (document.getElementById("get-hubspot").classList.contains('show')) { document.getElementById("get-hubspot").classList.remove('show'); } } } if (e.target?.matches && !e.target?.matches('#current-language')) { if (document.getElementById("lang-picker-global")) { if (document.getElementById("lang-picker-global").classList.contains('show')) { document.getElementById("lang-picker-global").classList.remove('show'); } } } }; $(window).scroll(function(){ if ($(this).scrollTop() > 65) { $('.forum-nav-bar').addClass('ch-sticky'); $('.community-header-nav').addClass('ch-space'); } else { $('.forum-nav-bar').removeClass('ch-sticky'); $('.community-header-nav').removeClass('ch-space');; } }); $('span.custom-menu-caret').on('click',function(){ $(this).siblings('.nav-popover.profile').toggleClass('show'); }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ try{ var PostURl = '' if('board'==='board'){ var PostURl = '/t5/forums/postpage/board-id/guidelines_announcement_jp' }else if('board'==='category') { var PostURl = '/t5/forums/postpage/category-id/guidelines_announcement_jp'} var searchSelector = $('.custom-search-wrapper .lia-autocomplete-container .lia-autocomplete-footer'); var data = "お探しのものが見つかりませんか? 質問する "; $(data).insertAfter(searchSelector[0]); }catch(err){ console.log(err); } }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ $('.lia-quilt-idea-exchange-page-filtered-v2 .custom-v2-banner .search-input, .lia-quilt-idea-page-filtered .custom-v2-banner .search-input').attr('placeholder', 'アイデアの検索'); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['en']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c06e5345a","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c06e5345a_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c06e5345a_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1d4c8c06e5345a_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c071e337a', 'disableAutoComplete', '#ajaxfeedback_1d4c8c06e5345a_0', 'LITHIUM:ajaxError', {}, '9LDGrPCZxsv4dmc_ZCZ8LXbjnTJlzGLU4yMigw5psag.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1d4c8c06e5345a_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c0758af3c', 'disableAutoComplete', '#ajaxfeedback_1d4c8c06e5345a_0', 'LITHIUM:ajaxError', {}, '7Jkr09vodEAl8tbrORMnWSV_6wIHwm6I0PjjXmVJorE.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1d4c8c06e5345a_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"ユーザーを検索しています...","emptyText":"一致がありません","successText":"見つかったユーザー:","defaultText":"ユーザ名または評価を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c078d329c', 'disableAutoComplete', '#ajaxfeedback_1d4c8c06e5345a_0', 'LITHIUM:ajaxError', {}, 'I3BxL8s8KwJs1ryUaOdtlir0mLpVC_CGSAn6j68LCpA.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1d4c8c06e5345a","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_1d4c8c06e5345a","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1d4c8c06e5345a_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"ZDbYM90IKaM74fD6DQ7KC3DnM-SVBH6EM7R148nbb8c."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c07c8a4da', 'disableAutoComplete', '#ajaxfeedback_1d4c8c06e5345a_0', 'LITHIUM:ajaxError', {}, '5SwlQX2Xsu3Q16c_qcKAuIdUL-YJ4505xXo1v1uXIVc.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1d4c8c06e5345a_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"検索しています...","emptyText":"一致がありません","successText":"結果:","defaultText":"検索語を入力","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1d4c8c07ff9e82', 'disableAutoComplete', '#ajaxfeedback_1d4c8c06e5345a_0', 'LITHIUM:ajaxError', {}, '23kdudrTrawQ6EI3XykDnklw-jlqqtOdDPA1X7Urq5M.', 'ajax');","content":"提案をオフにする<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1d4c8c06e5345a","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1d4c8c06e5345a', 'enableAutoComplete', '#ajaxfeedback_1d4c8c06e5345a_0', 'LITHIUM:ajaxError', {}, 'Tv5Rv-kdqYIiQC8zOq8OMAads1mSsNEPU1TndiQ5wIo.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1d4c8c06e5345a","tooltipContentSelector":"#link_1d4c8c06e5345a_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1d4c8c06e5345a_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_1d4c8c06e5345a","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_1d4c8c06e5345a","nodesModel":{"guidelines_announcement_jp|forum-board":{"title":"掲示板を検索: コミュニティーからのお知らせ","inputSelector":".lia-search-input-message"},"user|user":{"title":"ユーザー","inputSelector":".lia-search-input-user"},"community_news_announcement_jp|category":{"title":"カテゴリを検索: コミュニティーからのお知らせ","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"コミュニティを検索: コミュニティーからのお知らせ","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1d4c8c06e5345a_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"ユーザーの投稿を表示、選択されたオプションは オプション です。ドロップダウンメニューからもう一つのオプションを選択することができる場合があります。","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown","menuItemsSelector":".lia-menu-dropdown-items"}}); jQuery(document).ready(function() { function moveFollowButton() { let followText = "フォローする"; let unfollowText = "フォロー中"; let followToolTip = "このスレッドのアップデートをメールで受け取る"; let unfollowToolTip = "アップデートの受け取りをやめる"; let signInToolTip = "ログインしてこのトピックをフォローする"; let messages = jQuery('.ForumTopicPage .MessageView'); let ideaOptionsMenu = jQuery('.IdeaPage ul#dropdownmenuitems'); let blogOptionsMenu = jQuery('.BlogPage .lia-page-options ul.lia-menu-dropdown-items'); function ReturnFollowButton(elem, contentType, buttonClass) { let followSelector; let unfollowSelector; switch (contentType) { case 'forum': followSelector = 'addMessageUserEmailSubscription'; unfollowSelector = 'removeMessageUserEmailSubscription'; break; case 'idea': followSelector = 'addThreadUserEmailSubscription'; unfollowSelector = 'removeThreadUserEmailSubscription'; break; case 'blog': followSelector = 'addBoardUserEmailSubscription'; unfollowSelector = 'removeBoardUserEmailSubscription'; break; default: break; } let subscribeLink = elem.find('a.' + followSelector); let followWrapper; if (!subscribeLink.length) { subscribeLink = elem.find('a.'+ unfollowSelector); followWrapper = jQuery('').addClass(buttonClass).addClass('unfollow'); subscribeLink.text(unfollowText); subscribeLink.attr('title', unfollowToolTip); if (!subscribeLink.length) { subscribeLink = elem.find('span.' + followSelector); if (subscribeLink.length) { followWrapper = jQuery('').addClass(buttonClass).addClass('follow').addClass('disabled'); subscribeLink.text(followText); subscribeLink.attr('title', signInToolTip); } } } else { followWrapper = jQuery('').addClass(buttonClass).addClass('follow'); subscribeLink.text(followText); subscribeLink.attr('title', followToolTip); } return [followWrapper, subscribeLink]; } if (messages.length) { messages.each(function(i) { let followItems = ReturnFollowButton(jQuery(this), 'forum', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery(this).find('div.lia-message-author-username.lia-component-user-name'); followContainer.append(followWrapper); } }) } else if (ideaOptionsMenu.length) { let followItems = ReturnFollowButton(ideaOptionsMenu, 'idea', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.lia-component-idea-topic .DateTime'); followContainer.append(followWrapper); } } else if (blogOptionsMenu.length) { let followItems = ReturnFollowButton(blogOptionsMenu, 'blog', 'follow-wrapper btn btn-sm button-primary'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; console.log(followItems); if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.blog-listing-page-options .follow-container'); followContainer.append(followWrapper); } } } moveFollowButton(); jQuery('.lia-js-menu-opener').removeAttr("href"); }) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_0","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"ユーザーの投稿を表示、選択されたオプションは Show 【回答動画公開!】【Googleアナリティクス4導入準備、できていますか?】小川卓さんが皆さんの疑問に答えます! post option menu です。ドロップダウンメニューからもう一つのオプションを選択することができる場合があります。","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_0","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper","messageId":655767,"messageActionsId":"messageActions"},"isRootMessage":true,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"他に開いているメッセージエディタがあり、その中のデータが失われた可能性があります。 続行しますか?","messageActionsSelector":"#messageActions","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"QfabcybDtFz0F3ZQYOC0h9AL4QoGg0S0h-N7jSjwj1E."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"KuSLBqPA7fdUMJqdNI07Ls89TPLlTru5FgvTToEMYh0."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity', 'kudoEntity', '#ajaxfeedback', 'LITHIUM:ajaxError', {}, 'U2h4_hZTUfoeNrmgbinW9Zrohg5dg-Jfv-lMHjpjbG8.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "655767", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "655767", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1101110111111111111110111110100101111101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); ;(function($){ var topicMessageWrapper = $('.topic-message-wrapper'); if (window.location.href.indexOf('/page/') > -1) { $('.lia-forum-topic-page-topic-header.lia-component-thread-subject-header').attr('id','forumTopicHeader'); $('.lia-forum-topic-page-topic-header.lia-component-thread-subject-header').attr('style','display:block!important; visibility: visible!important;'); var messageWrapStyle = topicMessageWrapper.find('.lia-accepted-solution').length > 0 ? 'display:block!important; visibility: visible!important' : 'display:block!important; visibility: visible!important; margin-bottom: 90px'; topicMessageWrapper.attr('id','topicMessageWrapper'); topicMessageWrapper.attr('style', messageWrapStyle); } })(LITHIUM.jQuery); jQuery(document).ready(function() { // glowingblue: Replaced below with this modified snippet in the same terrible code style... jQuery("#msg-no-replies").on('click', function() { // simply proxy-click the first reply button to trigger default behavior... jQuery('.lia-action-reply:first').trigger('click'); }); // glowingblue: This throws an error because it can't read the offset of a non-existing form... /*jQuery("#msg-no-replies").on('click', function() { jQuery(".lia-placeholder-wrapper .lia-inline-message-reply-prompt-wrapper input").click(); let replyForm = jQuery('#form_0'); window.scrollTo(0, replyForm.offset().top + 200); })*/ jQuery(".InlineMessageEditorForm .lia-button-Submit-action").on('click', function() { var replyText = '1件の返信'; console.log(replyText); jQuery('section.message-without-replies .no-replies-card').hide(); var replies = jQuery('section.message-without-replies > h2'); replies.text(replyText); jQuery('').appendTo('body'); }); }) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1","feedbackSelector":".InfoMessage"}); LITHIUM.ThreadedDetailMessageList({"renderLoadMoreEvent":"LITHIUM:renderLoadMoreMessages","loadingText":"ロードしています...","placeholderClass":"lia-messages-threadedDetailList-placeholder","loadFetchSelector":"#threadeddetailmessagelist .lia-load-fetch","rootMessageId":655767,"loadPageNumber":1}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderLoadMoreMessages","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#threadeddetailmessagelist .lia-load-fetch","action":"renderLoadMoreMessages","feedbackSelector":"#ajaxFeedback","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist:renderloadmoremessages?t:ac=board-id/guidelines_announcement_jp/thread-id/103","ajaxErrorEventName":"LITHIUM:ajaxError","token":"MKgGT4Gpt66Gf9GSmcdVILrCVL9JrTvKXfuEWErcOpo."}); LITHIUM.InlineMessageReplyEditor({"openEditsSelector":".lia-inline-message-edit","ajaxFeebackSelector":"#inlinemessagereplyeditor_0 .lia-inline-ajax-feedback","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"他に開いているメッセージエディタがあり、その中のデータが失われた可能性があります。 続行しますか?","topicMessageSelector":".lia-forum-topic-message-gte-5","focusEditor":false,"hidePlaceholderShowFormEvent":"LITHIUM:hidePlaceholderShowForm","formWrapperSelector":"#inlinemessagereplyeditor_0 .lia-form-wrapper","reRenderInlineEditorEvent":"LITHIUM:reRenderInlineEditor","ajaxBeforeSendEvent":"LITHIUM:ajaxBeforeSend:InlineMessageReply","element":"input","clientIdSelector":"#inlinemessagereplyeditor_0","loadAutosaveAction":false,"newPostPlaceholderSelector":".lia-new-post-placeholder","placeholderWrapperSelector":"#inlinemessagereplyeditor_0 .lia-placeholder-wrapper","messageId":655767,"formSelector":"#inlinemessagereplyeditor_0","expandedClass":"lia-inline-message-reply-form-expanded","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","newPostPlaceholderClass":"lia-new-post-placeholder","isLazyLoadEnabled":false,"editorLoadedEvent":"LITHIUM:editorLoaded","replyEditorPlaceholderWrapperCssClass":"lia-placeholder-wrapper","messageActionsClass":"lia-message-actions","cancelButtonSelector":"#inlinemessagereplyeditor_0 .lia-button-Cancel-action","isGteForumV5":true,"messageViewWrapperSelector":".lia-threaded-detail-display-message-view","disabledReplyClass":"lia-inline-message-reply-disabled-reply"}); LITHIUM.Text.set({"ajax.reRenderInlineEditor.loader.feedback.title":"ロード中..."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"useLoader":true,"blockUI":"","event":"LITHIUM:reRenderInlineEditor","parameters":{"clientId":"inlinemessagereplyeditor_0"}},"tokenId":"ajax","elementSelector":"#inlinemessagereplyeditor_0","action":"reRenderInlineEditor","feedbackSelector":"#inlinemessagereplyeditor_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.inlinemessagereplyeditor_0:rerenderinlineeditor?t:ac=board-id/guidelines_announcement_jp/thread-id/103","ajaxErrorEventName":"LITHIUM:ajaxError","token":"R5jobkPKcbIaMc4KjBA-ThOOLIKQyOsB-U4YNbjld7g."}); LITHIUM.InlineMessageEditor({"ajaxFeebackSelector":"#inlinemessagereplyeditor_0 .lia-inline-ajax-feedback","submitButtonSelector":"#inlinemessagereplyeditor_0 .lia-button-Submit-action"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadComponent","parameters":{"componentId":"messages.widget.emoticons-lazy-load-runner"}},"tokenId":"ajax","elementSelector":"#inlinemessagereplyeditor_0","action":"lazyLoadComponent","feedbackSelector":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.inlinemessagereplyeditor_0:lazyloadcomponent?t:ac=board-id/guidelines_announcement_jp/thread-id/103","ajaxErrorEventName":"LITHIUM:ajaxError","token":"GpSs7-nfvGkpXshMaaF0X3mu1eBtc_M7DKQkjcJcP3w."}); LITHIUM.lazyLoadComponent({"selectors":{"elementSelector":"#inlinemessagereplyeditor_0"},"events":{"lazyLoadComponentEvent":"LITHIUM:lazyLoadComponent"},"misc":{"isLazyLoadEnabled":false}}); (function($) { $(document).ready(function() { var pageName = 'ForumTopicPage'; var reply = window.location.hash.substr(1); if(reply =='reply') { if( pageName == 'BlogArticlePage') { $('.MessageEditor .lia-quilt-row.lia-quilt-row-standard').attr('id', 'reply'); $( window ).on( "load", function() { $('iframe').trigger("click"); }); } else { $('.lia-form-type-text.lia-inline-topic-div').attr('id', 'reply').trigger("click"); $('.lia-quilt-row.lia-quilt-row-standard.lia-input-edit-form-row').focus(); } } $('.lia-form-modbarwhats-hot-input').change(function(){ let valueHotsSel = $(this).find('option:selected').attr('description'); let currentFormId = $(this).closest('form').attr('id'); let currentForm = '#'+currentFormId+' input[name=form_instance_key]'; let CurrentIdMsg = $(currentForm).val(); console.log(CurrentIdMsg); $.get('/plugins/custom/hubspot/hubspot/custom-tags-rearrange?Msgid='+CurrentIdMsg+'&statusVal='+valueHotsSel) .done(function(data) { console.log(data); }).fail(function(err) { console.log(err); }) }); }); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { if ($("body.ForumTopicPage .lia-list-row-thread-readonly").length) { $("body.ForumTopicPage .no-replies-card").hide(); $('body.ForumTopicPage .lia-button-wrapper-secondary').addClass('lia-link-disabled').find('.reply-action-link').addClass('reply-action-link'); } else { $("body.ForumTopicPage .no-replies-card").show(); } }); })(LITHIUM.jQuery); LITHIUM.Components.renderInPlace('recommendations.widget.recommended-content-taplet', {"componentParams":"{\n \"mode\" : \"slim\",\n \"componentId\" : \"recommendations.widget.recommended-content-taplet\"\n}","componentId":"recommendations.widget.recommended-content-taplet"}, {"errorMessage":"予期しないエラーが発生しました。","type":"POST","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.recommendedcontenttaplet:lazyrender?t:ac=board-id/guidelines_announcement_jp/thread-id/103&t:cp=recommendations/contributions/page"}, 'lazyload'); ;(function ($) { if ($(window).width() <= 991) { $(".community-footer .col:nth-child(3)").on('click',function(){ if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } else { $(".community-footer .col:nth-child(4) ul").addClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(1)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(2)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) } })(LITHIUM.jQuery); if (window.location.href.indexOf('/page/') != -1) { var siblings = document.getElementById('actionMenuDropDown').parentNode.childNodes; siblings[3].className = "hidden" siblings[5].className = "hidden" } (function($) { $(window).on('load', function() { $('.lia-quilt-forum-message > .lia-quilt-row-main,.lia-quilt-idea-message-item > .lia-quilt-row-main').each(function(){ $(this).find('.UserAvatar img').css("width","40px"); $(this).find('.UserAvatar img').css("border-radius","15px 0 15px 15px"); var href = $(this).find('.UserName > .lia-link-navigation').attr('href'); var img = $(this).find('.UserAvatar').html(); $(this).find('.UserAvatar').html(''+img+''); }); }); })(LITHIUM.jQuery); LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=board-id/guidelines_announcement_jp/thread-id/103","ajaxErrorEventName":"LITHIUM:ajaxError","token":"-pSexnnEwIxkLG9gB6hsctOIEBBP4JKa07PpVU1Rim0."}); LITHIUM.Auth.API_URL = "/t5/util/authcheckpage"; LITHIUM.Auth.LOGIN_URL_TMPL = "https://app.hubspot.com/khoros/integration/jwt/authenticate?referer=https%3A%2F%2FREPLACE_TEXT"; LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive"; LITHIUM.Auth.KEEP_ALIVE_TIME = 300000; LITHIUM.Auth.CHECK_SESSION_TOKEN = 'nA3udlESq9BnHl0T3eajmuncQUeGlZM-Ng6k8TsYuO8.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // -->