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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Adding Google Adverts code in header of a specific page

Started by Goran 7 years ago · 0 replies · 431 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 Jerry Hunt, 4 days ago
2 91 14 hours ago
General · by pamtbaau, 19 hours ago
1 61 18 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 354 5 days ago
General · by Duc , 6 days ago
3 44 6 days ago