Google Analytics & header.php

Posted in: Newspaper
Post count: 7

A developer installed Google Analytics on my site, but used his own tracking code. Then he disappeared. I have two related issues.

First, I can’t find where he installed Analytics. Where should I look?

Second, one online source sent me to header.php. But when I view that code, its last line is:
do_action('td_wp_booster_after_header'); //used by unique articles

There’s no closing body tag. Is some of my PHP missing? My site doesn’t appear to be broken.

Thanks!

Post count: 35449

Hi Ckyd,
Using the Newspaper theme the Google Analytics need to be inserted here -> https://i.imgur.com/LfZlRu4.png

About that code, I think that it is a part from a function, and usually those need to be set in functions.php, for this we recommend to use the child theme .
In case that the code need to be set in the header.php then the file path is wp-content/plugins/td-composer/legacy/Newspaper/header.php

I hope this will help you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.