Thanks @Danijel for providing the link to their github. I’ve played around with the theme and I found that you should make changes here https://github.com/presscustomizr/customizr/blob/dev/templates/head-no-model.php
It seems that the code from here https://github.com/presscustomizr/customizr/blob/dev/header.php#L10 is executed and doesn’t reach to your added code.
I was able to see the GA script after adding the code in the mentioned file.
Related Posts:
- Disable plugin / plugin action via theme
- Add Google Analytics manually, or use a plug-in?
- How do I force wp_enqueue_scripts to load at the END of ?
- How do I make my plugin load before the headers are output so I can redirect wordpress?
- Add code into on a per page/post basis
- Need a WordPress Plugin for Google Analytics, Favicon, Meta Keywords & Description?
- How to remove/hide action links cluttering under specific plugins’ names
- Google Analytics post views in WordPress? [closed]
- Change My Basket text in the header of WooCommerce Artificer theme
- How to send “Location” header on plugin form submit event?
- Meteor Slides as header only for homepage and Use featured image of each page as header for respective pages
- Strip HTML comments from plugins in header/footer
- Suspicious google tag manager
- Tracking Disqus comments on Google Analytics
- send_headers don’t work on wordpress multisite
- Can a plugin deactivate itself?
- adding meta data using plugin to top of head
- Are there any plugins yet that support Facebook Like, Google +1 and allow Social Interaction tracking on Google Analytics
- google conversion code
- WordPress Redirect Not Working – AJAX Callback Response Not Picked Up
- Headers already sent when I try to add headers via a shortcode
- WordPress repository forbids me call wp-load.php in non-WordPress file
- Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
- Show an image in my header.php
- Headers Content-Security-Policy CSP Major Issue
- How to debug error message: Cannot modify header information
- Object method calling for global $wpdb in header.php
- What does making sure “that your theme is WordPress header and footer tag enabled” mean?
- Know which plugin is calling JS in wp_head()?
- My single.php page does not show the related data to the post which is clicked
- Enqueue stylesheet in plugin for wp-login.php
- Invalid plugin installation directory, Google Analytics [closed]
- How to install Google Analytics onto site without internet access
- Get ‘Headers already sent’ error for the plugin I am creating when I try to login
- Custom Login Page — wp_signon Headers Already Sent?
- Moving to a WordPress blog. What do I need to know?
- Adding Plugin Assets to Header
- Content-Security-Policy Headers are there and showing the correct settings, but still getting a refused connection
- Where does MonsterInsights put Google Analytics code?
- echo get_option in header template
- How to track analytics with a WordPress site under the same domain as my main site?
- WordPress gtag.js with User ID tracking
- Cannot access WP admin because plugin returns 204
- force jQuery to load in the head
- Edit page header on a custom plugin
- How do i ‘deactivate’ a plugin only on a certain page template?
- how would I include some html in the header section of a wordpress plugin? I get an error
- How do I fill the Home Description?
- Hook for plugin to insert into entry-meta
- sliding/fading header plugin or approach suggestion
- Google Analytics event tracking code being stripped out of links in Author box – WordPress site
- How to make a slider hearder?
- how does ‘init’ /’parse_request’ hook work for wordpress?
- How to set Google Analytics tracking code on WordPress plugin directory page?
- Prevent WordPress from sending set-cookie http header
- Get the link title attribute and send it google analytics as custom label via google tag manager using beehive pro for WordPress
- Different Google Analytics code based on Users Device
- How to change the width of certain paragraph or header blocks?
- Modifying server’s response to API endpoint
- How to fix shifting header after installing speed / cache plugins?
- Tracking sales/conversions in Woocommerce using Google Analytics
- Cannot modify header information – headers already sent during plugin activation
- Debug in WP backend
- How to overlay a webcomic plugin on top of a header image?
- Set Content-Type header in do_parse_request filter
- Primary Menu doesn’t show because of w3 cache
- Insert Plugin on a custom page
- Google analytic issue in wordpress
- Problems with installing and deleting plugins
- Change text “My Basket” in woocommerce artificer theme
- WordPress repository forbids me call wp-load.php in non-WordPress file
- Google analytics not working on WordPress
- How to laod wp_enqueue_style to another header i created my self
- Cannot modify header information – headers already sent by
- Plugins menu not on dashboard
- Footer option is missing in Customiser
- all plug-ins load scripts on all pages
- wp_enqueue_scripts
- Why Does The `auto_update_plugin` Hook Disable Management?
- Return multiple values in a shortcode attribute
- Allowing .rfa Files In Media Upload [duplicate]
- Sanitizing file & directory form input
- What’s my optimal choice for remote access to my localhost sites?
- Some WordPress Posts are automatically becoming comments on other Posts
- List category posts displaying limited posts
- Get Every Key & Value from Array then Display All in New Line
- What are admin hooks
- disabling ftp on wordpress
- Woocommerce Coupon Menu and Marketing Menu missing After “Coupons can now be managed from Marketing > Coupons.” [closed]
- Is there a way to add custom endpoint to specific page only
- “uagb/section and uagb/columns block”
- IF condition based on wp_remote_get output
- shortcode not return any thing in Gutnburg
- Fatal error on some pages after cancelling WPSTAGING cloning process
- Always get creating a new table with foreign key
- Progmatically adding menu links to the default (Top) or Footer menu
- Add text to variable
- Where is my google maps on my page? [closed]
- standard custom page template hierarchy for plugins
- get specific value of a array | PHP