Analytics
Sooooo there is something odd going on. I am not seeing any of the spaces or the portal in any of my analytics accounts. Nothing in Google, AnalyticsWP, of Fathom. Anyone else seeing this? Shahjahan JewelΒ
Your default analytics code will not work. I will write a doc about how you can setup your analytics.
Shahjahan JewelΒ Thank you!
Here is the PHP Snippet you can use:
<?php
add_action('fluent_community/portal_footer', function() {
?>
<!-- add your tag manager code or js code -->
<?php
}, 1000);
If you use Google Analytics please make sure you have browser push state enabled (by default it's enabled in GA4)
Shahjahan JewelΒ Seems to work now!
Shahjahan JewelΒ how about Independent Analytics?
Aaron Liang βΒ if it gives you a snippet to add to your site, you can add it in his code. Thats what i did for the screenshot above.
Donald McGuinnΒ thanks for the info. I shouldβve looked into it before asking. Donβt have access to computer at the moment
Donald McGuinnΒ Do I have to add in the plugin's PHP?
Gabriell SalesΒ no it goes in the functions.php file of your child theme
how much of this line am i replacing with the GA4 code?