Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Adding Google Adverts code in header of a specific page

Started by Goran 8 years ago · 0 replies · 665 views
8 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 Andy Miller, 6 days ago
0 105 6 days ago
General · by lynbor, 4 weeks ago
3 436 2 weeks ago
General · by lynbor, 3 weeks ago
7 555 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago