Skip to content

Commit

Permalink
Merge pull request #1092 from vektor-inc/fix/GTM
Browse files Browse the repository at this point in the history
【2人目確認待ち】[Google タグマネージャー]iframe要素にtitle属性を追加
  • Loading branch information
mtdkei authored Jun 14, 2024
2 parents 13d8a71 + abfc44e commit 7959d0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ function vk_gtm_body() {
// GTM body コード
$gtm_body =
'<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-' . esc_html( $gtm_id ) . '"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-' . esc_html( $gtm_id ) . '" title="Google Tag Manager (noscript)" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->';

echo $gtm_body;
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ e.g.

== Changelog ==


[Fix] Add a title attribute on Google Tag Manager (noscript)

= 9.98.1 =
[ Bug fix ] Fix translation

Expand Down

0 comments on commit 7959d0f

Please sign in to comment.