JavaScript must be installed and enabled to use these boards.
Your browser appears to have JavaScript disabled or does not support JavaScript. Please refer to your browser's help file to determine how to enable JavaScript.
Mar 16, 2023 10:57 AM - edited Mar 16, 2023 11:02 AM
2月20日から3月3日の間、HubSpotコミュニティーでGoogleアナリティクス4に関する皆さんの質問・お悩み相談を募集しました。お寄せいただいたすべての質問にウェブ分析の第一人者である小川卓さんから回答いただきましたので、ぜひご視聴ください!
(質問募集期間は終了しました。本投稿にご質問をいただいても回答できかねますので、何卒ご理解いただけますと幸いです。)
-----------------------------------------
▼目次▼
①00:58
UAが停止となる7月以降もUAでの計測データは引き続きGA4内で閲覧可能なのでしょうか?それともGA4を導入して以降のデータのみが閲覧可能で、UA時代のデータは別途ダウンロード等して保存する必要があるのでしょうか?
A.6月末でUAは計測停止となりますが、UAの画面は残ります。そのためデータを閲覧することは可能です(ひとまず2023年末まで)。今焦ってデータをダウンロードする必要はありませんが、年内中にはダウンロードして手元にデータを保管しておくのがよいでしょう。
②02:41
過去の計測データを今後も参照する際のベストプラクティスを教えてください。
・GAの画面から必要なものをダウンロードしておく(csvやexcel形式)
・UAのプラグインを用いてスプレッドシート上にデータを保存
・外部ツールを使う
必要なデータの選別、保存可能なデータ量などを鑑みるとよいでしょう。
③05:35
複数商材を別々のドメインで管理・運営している場合、同一のGA4のタグを入れるものでしょうか?またその場合、GA4の管理画面では収集したそれぞれのデータがどのように表示できるでしょうか?
A.エンドユーザーが商材間(ドメイン間)を行き来して比較するような場合、同一のタグを入れるのがよいでしょう。商材間を行き来しない場合は、基本的には商材群ごとにタグを設置するとよいと思います。
*小川さんがGA4の画面を映して解説してくださっています。
④10:38
UAとGA4では、計測方法が違う(と思う)ので、数値にズレが出ると思いますが、ずれる範囲やその理由の目安などはありますでしょうか?また、ズレた際に分析する方法があれば知りたいです。
A.ずれが発生する理由は主に二つあり、計測の仕様(定義)が違うこと、そして実装・設定方法が違うことです。どちらが理由かを特定するために、全体的にずれがあるのか、それとも特定のページ群だけ数字が大きくずれているのかを見てみるとよいでしょう。前者であれば仕様の違い、後者であれば実装・設定方法が影響している可能性があります。
サイトの種類によりますが、ページビューや訪問回数、ユーザー数などの基本指標は±5%程度が目安と考えています。それが±15~20%の場合は、実装・設定方法に違いがある可能性があります(一方ではIPアドレスでのアクセスを制限、もう一方では制限していないなど。)
滞在時間や流入元のチャネルなどはGA4で定義が大きく変更されたため、ずれが大きい傾向にあります。
⑤15:00
■Lookerstudioを用いたデータ反映のタイミングについて
UA時代からDataStudioを使って、レポート化していました。定点観測的に、毎日朝8時に前日のデータをメールの自動送信をしています。UA時代であれば、上手く数値を集計できていたのですが、GA4で同様の集計を行うと視聴回数やユーザー数がUAと比べると、1/3程度と少ない状況でした。
そこでお昼12:00くらいまで待つと、UAとほぼ同じくらいの数値となります。データの更新頻度を”時間ごと”にしてみましたが、変化がありませんでした。
私の設定が悪いのか、GA4だとこんなものなのか、ご存じのことがあれば教えていただけると幸いです。
A.GA4だとこういうもの、だと思います。
前日のデータが集計されるまでにUAよりGA4では時間がかかる印象があります。
⑥17:03
昨今、ウェブだけでなくアプリやLINEでの顧客との接点をもつ企業様が増えています。
そういったマルチチャネルを持つ企業が、統合的に成果の分析をする際の、GA4ならではのおすすめ機能がございましたらご教示ください。
A.GA4はアプリに対応しています。アプリを含め全体でどれくらい集客できているかを見たい場合は、一つのプロパティー内にアプリもウェブも入れるのが良いでしょう。
*詳しくは、小川さんがGA4の画面を映して解説してくださっています。
⑦20:25
探索レポートで
1.ランディングページを行に置き、コンバージョンの値を列に置く
2.コンバージョンがある列を右クリックし、ユーザー(ユーザーエクスプローラー)を表示する
上記を行ったとき、1でカウントされていたコンバージョンの数値が2で0になってしまうことがあります。これはなぜでしょうか。解決方法はありますでしょうか。
A.*小川さんがGA4の画面を映して解説してくださっていますので、動画をご覧ください。
⑧24:52
◇特定のページの特定の内部リンクのクリック率を計測する方法について。
現在、GTMではなくgtag.jsを使用しています。javascriptで内部リンクのクリック計測イベントを発火させたいです。この場合、
1.カスタムイベントで内部リンククリックのイベント名を登録する
2.カスタムディメンションでボタンの位置を指定するディメンションを登録する
3.共通のjavascriptに内部クリックイベントを発火させるタグを設置する
上記の手順で合っているのでしょうか。
A.既存のイベントから新しいイベントを作りたい場合は別ですが、そうでなければ1のイベント名の登録は特に不要です。2についてはおっしゃる通りです。
*3について詳細は動画をご覧ください。
⑨30:00
イベントの作成画面でor条件を入力できないか:
コンバージョン計測のためのイベントを新規作成する際に、精度を高めるため、
page_referrerのURLを1つではなく2つ含めたいのですが、そんなことは可能でしょうか?
現状は条件を追加するとand条件になってしまう認識です。
A.GA4の画面ではand条件をつけることができないので、Googleタグマネージャーを使うのをおすすめします。タグマネージャーを使わない場合はイベントを二つ作るやり方もあります。
⑩*こちらの質問は書面にて小川さんに回答いただきました↓
1)ディメンションの「ページパスとスクリーンクラス」はUAにおける
行動→サイトのコンテンツ→すべてのページ
の「ページ」と同じ概念なのでしょうか。(そもそも同じと捉えることが間違っていますか。)
2)ランディングページではなく、コンバージョンに至るまでに1回でも通ったページについて
行:ページ
列:コンバージョン数
のような形で探索レポートで見ることはできるでしょうか。
A.
1)はい、その考え方で問題ありません。ページ単位の数値を見るためのレポートとなります。
2)こちらの方法では出来ません。コンバージョンが発生したページのみが計測されてしまいます。
セグメント機能を利用して、コンバージョンしたユーザーだけ抽出して(該当イベントを設定するか、コンバージョン イベント=trueの条件を選ぶ)
行:ページ 値:ユーザー にすればCVユーザーが閲覧したページを人数単位で出すことが可能です。
以下、GA4で躓きやすいポイント・効果的に運用するためのヒントを伺いました。
⑪33:28
2023年3月以降、UAのみ設定していたアカウントに関して、Googleが自動的にGA4の設定をプッシュするという動きがありました (参考ページ) 。この影響を受けた方が気をつけておくべきポイントはありますか?
⑫42:18
現在2023年7月1日だと仮定します。 あまりにも通常業務等が忙しく、2023年6月末までにGA4への移行が間に合わなかった…という多忙なウェブ担当者がいた場合、小川さんならどういったアドバイスをされますか?
A.アドバイスが難しいものの、(⑪で取り上げた)自動作成されたGA4のプロパティーを使うのが良いと思います。
GA4もしっかり使いこなしたい、UAで複雑なカスタマイズをしていたという方は、外部のコンサルを利用するのも一つの手だと思います。最低でも2023年6月の1ヶ月に関してはUAもGA4も計測できるので、この並行期間を有効活用するのがよいでしょう。並行期間が全くないと数字の比較やズレの検証ができずリスクがあります。外部の力を使ってでも早めに対策しましょう。
⑬44:34
2023年に入ってから小川さんがよく受ける相談・質問ベスト3とその回答を教えてください。
1)数字がずれるのはなぜか→④で回答済み
2)UAで出していた数字をGA4でどう出せるのか→レポートで出せるものもあれば、データ探索が必要なものもあります。
3)移行したいがやり方がわからない→オンラインで閲覧できる資料や情報を参考にやってみましょう(例:GA4ガイド)
⑭46:57
GA4移行がうまくいっている会社とうまくいっていない会社の違いはどんな点ですか?
A.移行が比較的うまくいっている会社は、このタイミングでもう一度要件定義を見直していると思います。
特にUAを長年使っている方は、過去の設定が残っていたり、もう使っていない数字を追っていたりすることがあります。そのため、GA4で今後みたいデータは何か、UAでは追っていた数字だが本当に今後も必要なのか、などGA4を使うまえにそのような追いたいデータの要件定義を見直せていると導入後も運用がスムーズでしょう。
4月からはGA4で数字を見ていこうなど決めている会社は、そのタイミングまでに使い方をリサーチしているのでモチベーションも高く、しっかりGA4を使おうという体制になっていると思います。
⑮49:18
GA4の今後の運用アップデートに関して、小川さんはどのように情報収集していますか? おすすめの方法があれば教えてください。
- Googleアナリティクスヘルプ
- GA4 Guideサイト
- TwitterでGA4に関して呟いている人、情報発信している人をフォローする
- FacebookのGA4コミュニティー(英語ですが、5万人のメンバーがおり色々な質問をしたり情報発信しています。)
細かなアップデートがたくさんあるので大変ですが、大きな変化はこれらのチャネルをフォローしておけば把握できると思います。
皆さんご質問をお寄せいただきありがとうございました。こちらの回答動画がご参考となれば幸いです。
→前回の企画はこちらでご覧になれます
No one has replied to this post quite yet. Check back soon to see if someone has a solution, or submit your own reply if you know how to help! Karma is real.
Need help replying? Check out our Community Guidelines
Receive Community updates and events in your inbox every Monday morning.
\\n\\t\\t\\t\\t\\t\\tSorry, unable to complete the action you requested.\\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_1ebe87c9c7fc9e', 'disableAutoComplete', '#ajaxfeedback_1ebe87c9a19132_0', 'LITHIUM:ajaxError', {}, 'HarICpvptq6iAcz9HWlTZGInpW_jsqzdCq8cC-USIuE.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1ebe87c9a19132_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87ca6dde51', 'disableAutoComplete', '#ajaxfeedback_1ebe87c9a19132_0', 'LITHIUM:ajaxError', {}, 'MDvNju7ZsgTiEc1B5Hat8kQKE3jPNkb6povFQJxj7gg.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1ebe87c9a19132_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","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_1ebe87cab1a918', 'disableAutoComplete', '#ajaxfeedback_1ebe87c9a19132_0', 'LITHIUM:ajaxError', {}, 'J_2XY30rXhXbOCCGWgljT2pedUPI6jpAVD75nFSw2zg.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1ebe87c9a19132","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&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_1ebe87c9a19132","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1ebe87c9a19132_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"PkJr67FfIeX5J-L4UVruWDJWEEalorE2kSAHEr2rPSY."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cafae646', 'disableAutoComplete', '#ajaxfeedback_1ebe87c9a19132_0', 'LITHIUM:ajaxError', {}, 'pK5cMYy2XVD4-AjdWFdYAbCZgF7R3NKepxtyppy5jcE.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1ebe87c9a19132_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cb3d53dc', 'disableAutoComplete', '#ajaxfeedback_1ebe87c9a19132_0', 'LITHIUM:ajaxError', {}, 'Crenuu3N-1kNHnLet-lZCQ1KYFkVh-M6pI2q1Klp6BE.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1ebe87c9a19132","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1ebe87c9a19132', 'enableAutoComplete', '#ajaxfeedback_1ebe87c9a19132_0', 'LITHIUM:ajaxError', {}, 'vYQPCDrVitjGzWFCl2qMhEUdD57mlUY5GabNxOiWzyI.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1ebe87c9a19132","tooltipContentSelector":"#link_1ebe87c9a19132_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1ebe87c9a19132_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_1ebe87c9a19132","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_1ebe87c9a19132","asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1ebe87c9a19132_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_1ebe87cbe24b6b","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1ebe87cbe24b6b_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1ebe87cbe24b6b_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1ebe87cbe24b6b_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cc063a9d', 'disableAutoComplete', '#ajaxfeedback_1ebe87cbe24b6b_0', 'LITHIUM:ajaxError', {}, 'VmK9WzjbTilOAMA_WZ_J-jON__CMPpH-hMZjl9OoRis.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1ebe87cbe24b6b_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cc31a7c9', 'disableAutoComplete', '#ajaxfeedback_1ebe87cbe24b6b_0', 'LITHIUM:ajaxError', {}, 'b5YSwj4ovSjMA7aDrfvN0JnsbKkKUEM2gfbRpy7-a0A.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1ebe87cbe24b6b_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","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_1ebe87cc5a08d1', 'disableAutoComplete', '#ajaxfeedback_1ebe87cbe24b6b_0', 'LITHIUM:ajaxError', {}, '_yP0s0EODrOyeFT0ENRO5tOJ4NMu7XbjJMk2rAIET2g.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1ebe87cbe24b6b","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&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_1ebe87cbe24b6b","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1ebe87cbe24b6b_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"eH0QWfIzh5eQZDa8V2NYJJdYuiUo_8kY6K2c2tsZ3Xo."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cc870e33', 'disableAutoComplete', '#ajaxfeedback_1ebe87cbe24b6b_0', 'LITHIUM:ajaxError', {}, 'tS_S10joCkn42cXyD4TN8Y8DzDMmuNi1H-hDfIW-Z3U.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1ebe87cbe24b6b_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87ccadd2cd', 'disableAutoComplete', '#ajaxfeedback_1ebe87cbe24b6b_0', 'LITHIUM:ajaxError', {}, 'FouOzFBLM9VNWDze7RyrAjqZZu8IuiwGBKC_UTqk1Bc.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1ebe87cbe24b6b","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1ebe87cbe24b6b', 'enableAutoComplete', '#ajaxfeedback_1ebe87cbe24b6b_0', 'LITHIUM:ajaxError', {}, 'mtunLQCTnkkVLZXiZSEm-XeTzl-C9eXk1ojs1DmLcEo.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1ebe87cbe24b6b","tooltipContentSelector":"#link_1ebe87cbe24b6b_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1ebe87cbe24b6b_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_1ebe87cbe24b6b","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_1ebe87cbe24b6b","nodesModel":{"resources_jp|category":{"title":"Search Category: 質問募集企画","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"},"AMA_jp|forum-board":{"title":"Search Board: 質問募集企画","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Search Community: 質問募集企画","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1ebe87cbe24b6b_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/AMA_jp' }else if('board'==='category') { var PostURl = '/t5/forums/postpage/category-id/AMA_jp'} var searchSelector = $('.custom-search-wrapper .lia-autocomplete-container .lia-autocomplete-footer'); var data = "Can't find what you're looking for? Ask A Question "; $(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', 'Search for Ideas'); }); })(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_1ebe87cef4c6f8","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1ebe87cef4c6f8_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1ebe87cef4c6f8_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1ebe87cef4c6f8_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cf1e11ea', 'disableAutoComplete', '#ajaxfeedback_1ebe87cef4c6f8_0', 'LITHIUM:ajaxError', {}, '9Wp928hWqJFtgBZaa_k6IxBiIgXtdZNttOCdiLDCviQ.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1ebe87cef4c6f8_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cf4955cc', 'disableAutoComplete', '#ajaxfeedback_1ebe87cef4c6f8_0', 'LITHIUM:ajaxError', {}, 'anqBCNnbNjJYMZwPDXICr6sR7ipmpupAR1oLD50BExE.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1ebe87cef4c6f8_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","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_1ebe87cf71f8c5', 'disableAutoComplete', '#ajaxfeedback_1ebe87cef4c6f8_0', 'LITHIUM:ajaxError', {}, 'AtuI3Gi4TOkbfpVUH96zDuFYgzY5z4H1p7obh2ROMs8.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1ebe87cef4c6f8","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&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_1ebe87cef4c6f8","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1ebe87cef4c6f8_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"dIQGrnVu8iVkudr-eKIQI-G_MS-ramVWiBKFlU-6wuE."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cf9fc092', 'disableAutoComplete', '#ajaxfeedback_1ebe87cef4c6f8_0', 'LITHIUM:ajaxError', {}, '3OzBLhXLZ20z32fJlblPsNmdJewm-Q0ZK8z5yaNZgYc.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1ebe87cef4c6f8_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","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_1ebe87cfcb7990', 'disableAutoComplete', '#ajaxfeedback_1ebe87cef4c6f8_0', 'LITHIUM:ajaxError', {}, 'Pz1uRDnQ7vaanG0ACzzAw4LIEtIzBUAfNEzO9wh50kw.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1ebe87cef4c6f8","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1ebe87cef4c6f8', 'enableAutoComplete', '#ajaxfeedback_1ebe87cef4c6f8_0', 'LITHIUM:ajaxError', {}, 'pOsKpRmw5P0O9zOpdbr045Hl-if0B3k8JZzypY6zbPE.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1ebe87cef4c6f8","tooltipContentSelector":"#link_1ebe87cef4c6f8_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1ebe87cef4c6f8_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_1ebe87cef4c6f8","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_1ebe87cef4c6f8","nodesModel":{"resources_jp|category":{"title":"Search Category: 質問募集企画","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"},"AMA_jp|forum-board":{"title":"Search Board: 質問募集企画","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Search Community: 質問募集企画","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1ebe87cef4c6f8_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":"Show contributions of the user, selected option is Options. You may choose another option from the dropdown 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","menuItemsSelector":".lia-menu-dropdown-items"}}); jQuery(document).ready(function() { function moveFollowButton() { let followText = "Follow"; let unfollowText = "Following"; let followToolTip = "Recieve email updates on this thread"; let unfollowToolTip = "Stop receiving email updates on this thread"; let signInToolTip = "Sign in to follow this topic"; 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 contributions of the user, selected option is Show 【回答動画公開!】【GA4切り替えに向けての最終準備】小川卓さんが皆さんの疑問に答えます! post option menu. You may choose another option from the dropdown 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":769428,"messageActionsId":"messageActions"},"isRootMessage":true,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","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/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"hhKWI9tiWdthKkiXFzHJvfJLb5p8d7DkbntPm0VGkyM."}); 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/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"t70h0Pl0FeGUEkgABeaPNXpbFRQjRi8QqEwknrWQUgw."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity', 'kudoEntity', '#ajaxfeedback', 'LITHIUM:ajaxError', {}, '9olGJR1iWXFVOsWdcVHN9_8u1jPLJmULEksQvsYvRfU.', '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" : "769428", "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" : "769428", "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 Reply'; 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":"Loading...","placeholderClass":"lia-messages-threadedDetailList-placeholder","loadFetchSelector":"#threadeddetailmessagelist .lia-load-fetch","rootMessageId":769428,"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/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"vehjhnb8xdBnXY8Qkl8Cn3svaMpJVRm-9OYIQv_wzww."}); LITHIUM.InlineMessageReplyEditor({"openEditsSelector":".lia-inline-message-edit","ajaxFeebackSelector":"#inlinemessagereplyeditor_0 .lia-inline-ajax-feedback","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","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":769428,"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":"Loading..."}); 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/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"yW5ZoTDrcMtEzh3DUdFKsi95dKoq_nd-Rru7hqHLbW4."}); 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/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"oRu7fl_Wd4T6ZKoO7Muji2EERhc4iQt-njqhbN4fln0."}); 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":"An Unexpected Error has occurred.","type":"POST","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.recommendedcontenttaplet:lazyrender?t:ac=board-id/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..&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/AMA_jp/thread-id/32/q-p/cHJvZmlsZS5sYW5ndWFnZTplbg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"ZF0k9J_LQ38WvcS3SL-uXcvbU3TRLQx5ZEOxTPNa6EM."}); 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 = 'lWo_WeKsf3a0KRxsHbVqpq3ol68bRoUKOqBUpHKeUJ8.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // -->