Hello, how are you?
i am not developer but more like a marketeer with basic knowledge of HTML
back to using wordpress after 3 years
I need to install a basic analytics tag (google analytics) in my <head> in the source
Using transmit FTP I cant seem to find the sht file where the head tag is
I am hosting with siteground and cant see the file there neither?
is it possible that the index file doesnt exist anymore? where marketeers use to add the tracking tags?
or is it that now wordpress makes you pay 40 dollar a month to be able to edit it
so you use more plugins or what?
im not really understanding please hELPPP
Please someone guide me this is igiving me migraines .
Thanks
[ad_2]
>i am not developer
If you want to learn, you’ll be looking to edit the theme files. You could edit the header file directly or hook into wp_head. But for real, you should just use the Site Kit plugin.
https://wordpress.org/plugins/google-site-kit/
WordPress is free, open source software.
If your host is [Wordpress.com](https://Wordpress.com), they (ironically) don’t give you full access to the software that bears their name – it’s crippled, and yes, you need to pay more to unlock various features. So, don’t use [Wordpress.com](https://Wordpress.com).
Are you sure they’re your host though? Can you take a screenshot of your dashboard (share it to [imgur.com](https://imgur.com)) – I’ll tell you if you’re using [Wordpress.com](https://Wordpress.com) or not.
Hosting with siteground, meaning you have access to add plugins. Add Code Snippets, not wp code, code snippets. Ping me if the following doesn’t make sense.
add_action(‘wp_head’,’mldr_add_analytics’);
function mldr_add_analytics(){
?>
<!— add your script here —>
<?php
}
Alternatively add the plugin headers and footers (again don’t use the one from wp code) and add the ga snippet in the <head> section.