Jump to content
View in the app

A better way to browse. Learn more.

Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Adsense code for body

Featured Replies

Hi,

Where should the following <head> and <body> codes for adsense be placed in IC5? I read a post that the adsense head code should be placed in the Analytics Integration. Can I put both the head and body codes into the Google Analytics Integration tracking code field? If not where should the body code go?

<head></head>:

<script async custom-element="amp-auto-ads"

src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">

</script>

<body></body>:

<amp-auto-ads type="adsense"

data-ad-client="ca-pub-xxxxxxxxxxxxxxxx">

</amp-auto-ads>

Solved by Day.

I don't know that you want to run Ad Sense auto ads on IPS.

  • Solution
16 hours ago, CrashPush said:

Hi,

Where should the following <head> and <body> codes for adsense be placed in IC5? I read a post that the adsense head code should be placed in the Analytics Integration. Can I put both the head and body codes into the Google Analytics Integration tracking code field? If not where should the body code go?

<head></head>:

<script async custom-element="amp-auto-ads"

src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">

</script>

<body></body>:

<amp-auto-ads type="adsense"

data-ad-client="ca-pub-xxxxxxxxxxxxxxxx">

</amp-auto-ads>

AdminCP > Themes > Theme Designer Templates (Arrow drop down) > Create New Template

Type: Hook

Hook Application: System

System: front/global/globalTemplate

Hook Target: Head

Hook Type: Before the closing tag

Content: Paste your Adsense code

Click Save and you're done.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.