- πΊπΈUnited States japerry KVUO
With the sunset of legacy google analytics, the 8.x-2.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.
How could I dynamically change the visibility setting for the current page.
I think this calls for a drupal_alter hook in _googleanalytics_visibility_pages() function. It should be as easy as adding drupal_alter('googleanalitycs_visibility_page', $page_match); just before returning the $preg_match result.
One could implement hook_googleanalitycs_visibility_page_alter($display) and change to his needs the option to display or not the code on the current page. I'll prepare a patch for this.
What do you say?
Closed: outdated
2.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
With the sunset of legacy google analytics, the 8.x-2.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.