Problem with the blocker script?
-
Hello,
I am in the process of analyzing your plugin for its acquisition by a client.In the free version, I find it difficult to understand the difference between “script blocker” and adding a script in “header script” in the category of a cookie.
I also tried to test the “wt_cli_plugin_integrations” filter that absolutely does not work in my theme’s functions.php file.
Despite reading the documentations I don’t know how to adjust your plugin if I add the Analytics tag in my functions.php file like this:
add_action( 'wp_head', 'script_ga' ); function script_ga() {?> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-XXXXXX-1'); </script> <?php }
Any help would be welcome
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Problem with the blocker script?’ is closed to new replies.