Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Adding Google Adverts code in header of a specific page

Started by Goran 7 years ago · 0 replies · 518 views
7 years ago

Hi there,
I am using Google Ads and and are looking to add the appropriate code snippets on the Grav website.

The first bit of code is the "Global site tag" which I have added in the head.html.twig under the partials folder for the template used.

The second bit of code called the "event snippet" should be added in the header of a specific (landing) page only.

Anyone know how I can do this?
Is it possible to target such individual page with such code snippet?

Suggested topics

Topic Participants Replies Views Activity
General · by ian russell, 5 days ago
2 129 4 days ago
General · by pamtbaau, 1 month ago
2 380 2 weeks ago
General · by Hanns Mattes, 1 month ago
2 360 2 weeks ago
General · by Andy Miller, 1 month ago
0 263 1 month ago
General · by Jerry Hunt, 1 month ago
2 402 1 month ago