Forum

Thread tagged as: Question, Problem

Addition of Google Analytics code in perch

Hi,

How will we add google analytics code in perch?

Damian McCracken

Damian McCracken 0 points

  • 5 years ago
Simon Clay

Simon Clay 127 points

Hi, you can create a region in the head or foot for your website e.g. <?php perch_content('Google Analytics'); ?> and then assign the google_analytics.html template to it.

You can then set this to 'Share region across all pages' in Region options.

okay many thanx Simon :)