A WordPress plugin which outputs the code of the Google Analytics.
- Compatible with Content Secutiry Policy.
- No admin, put tracking ID as a code. 😄
Add a tracking ID of the Google Analytics like following.
add_filter( 'miya_analytics_tracking_id', function() {
return 'xxxx'; // Your tracking ID.
} );