google analytics

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-15 22:56:48 +02:00
parent e3b6bc02eb
commit 9b7d1f6199
16 changed files with 4209 additions and 1 deletions
@@ -220,6 +220,15 @@ function admin_user_default_permissions() {
'module' => 'menu_admin_per_menu',
);
// Exported permission: 'administer google analytics'.
$permissions['administer google analytics'] = array(
'name' => 'administer google analytics',
'roles' => array(
'root' => 'root',
),
'module' => 'googleanalytics',
);
// Exported permission: 'administer imce'.
$permissions['administer imce'] = array(
'name' => 'administer imce',
@@ -626,6 +635,15 @@ function admin_user_default_permissions() {
'module' => 'pathauto',
);
// Exported permission: 'opt-in or out of tracking'.
$permissions['opt-in or out of tracking'] = array(
'name' => 'opt-in or out of tracking',
'roles' => array(
'root' => 'root',
),
'module' => 'googleanalytics',
);
// Exported permission: 'override content type title display'.
$permissions['override content type title display'] = array(
'name' => 'override content type title display',
@@ -732,6 +750,15 @@ function admin_user_default_permissions() {
'module' => 'translation',
);
// Exported permission: 'use PHP for tracking visibility'.
$permissions['use PHP for tracking visibility'] = array(
'name' => 'use PHP for tracking visibility',
'roles' => array(
'root' => 'root',
),
'module' => 'googleanalytics',
);
// Exported permission: 'use ctools import'.
$permissions['use ctools import'] = array(
'name' => 'use ctools import',
+34 -1
View File
@@ -1,6 +1,7 @@
name = Admin
core = 7.x
package = Gui
dependencies[] = admin_menu
dependencies[] = admin_menu_source
dependencies[] = admin_theme
dependencies[] = adminimal_admin_menu
@@ -22,6 +23,7 @@ dependencies[] = filter_perms
dependencies[] = footer_message
dependencies[] = fpa
dependencies[] = genpass
dependencies[] = googleanalytics
dependencies[] = imce
dependencies[] = linkit
dependencies[] = login_destination
@@ -85,6 +87,7 @@ features[user_permission][] = administer contexts
features[user_permission][] = administer devel menu items
features[user_permission][] = administer features
features[user_permission][] = administer features menu items
features[user_permission][] = administer google analytics
features[user_permission][] = administer imce
features[user_permission][] = administer linkit
features[user_permission][] = administer main-menu menu items
@@ -130,6 +133,7 @@ features[user_permission][] = menu edit management
features[user_permission][] = menu edit navigation
features[user_permission][] = menu edit user-menu
features[user_permission][] = notify of path changes
features[user_permission][] = opt-in or out of tracking
features[user_permission][] = override content type title display
features[user_permission][] = participate in workflow
features[user_permission][] = perform backup
@@ -142,6 +146,7 @@ features[user_permission][] = show workflow state form
features[user_permission][] = switch shortcut sets
features[user_permission][] = switch users
features[user_permission][] = translate content
features[user_permission][] = use PHP for tracking visibility
features[user_permission][] = use ctools import
features[user_permission][] = use text format filtred_html
features[user_permission][] = view own unpublished content
@@ -167,6 +172,35 @@ features[variable][] = admin_theme_path
features[variable][] = admin_theme_path_disallow
features[variable][] = admin_toolbar
features[variable][] = adminimal_admin_menu_toolbar-disabled
features[variable][] = googleanalytics_account
features[variable][] = googleanalytics_cache
features[variable][] = googleanalytics_codesnippet_after
features[variable][] = googleanalytics_codesnippet_before
features[variable][] = googleanalytics_codesnippet_create
features[variable][] = googleanalytics_cross_domains
features[variable][] = googleanalytics_custom
features[variable][] = googleanalytics_custom_dimension
features[variable][] = googleanalytics_custom_metric
features[variable][] = googleanalytics_debug
features[variable][] = googleanalytics_domain_mode
features[variable][] = googleanalytics_pages
features[variable][] = googleanalytics_privacy_donottrack
features[variable][] = googleanalytics_roles
features[variable][] = googleanalytics_site_search
features[variable][] = googleanalytics_trackadsense
features[variable][] = googleanalytics_trackdoubleclick
features[variable][] = googleanalytics_tracker_anonymizeip
features[variable][] = googleanalytics_trackfiles
features[variable][] = googleanalytics_trackfiles_extensions
features[variable][] = googleanalytics_tracklinkid
features[variable][] = googleanalytics_trackmailto
features[variable][] = googleanalytics_trackmessages
features[variable][] = googleanalytics_trackoutbound
features[variable][] = googleanalytics_trackurlfragments
features[variable][] = googleanalytics_trackuserid
features[variable][] = googleanalytics_translation_set
features[variable][] = googleanalytics_visibility_pages
features[variable][] = googleanalytics_visibility_roles
features[variable][] = node_admin_theme
features[variable][] = theme_adaptivetheme_admin_settings
features[variable][] = theme_adaptivetheme_gui_admin_settings
@@ -182,7 +216,6 @@ features[workflow_access][] = Affichage
features[wysiwyg][] = filtred_html
features_exclude[dependencies][menu_editor] = menu_editor
features_exclude[dependencies][rules] = rules
features_exclude[dependencies][admin_menu] = admin_menu
features_exclude[dependencies][block] = block
features_exclude[dependencies][menu] = menu
features_exclude[dependencies][path] = path
@@ -149,6 +149,223 @@ user/*';
);
$export['admin_toolbar'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_account';
$strongarm->value = 'UA-61942434-1';
$export['googleanalytics_account'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_cache';
$strongarm->value = 0;
$export['googleanalytics_cache'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_codesnippet_after';
$strongarm->value = '';
$export['googleanalytics_codesnippet_after'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_codesnippet_before';
$strongarm->value = '';
$export['googleanalytics_codesnippet_before'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_codesnippet_create';
$strongarm->value = array();
$export['googleanalytics_codesnippet_create'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_cross_domains';
$strongarm->value = '';
$export['googleanalytics_cross_domains'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_custom';
$strongarm->value = '0';
$export['googleanalytics_custom'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_custom_dimension';
$strongarm->value = array();
$export['googleanalytics_custom_dimension'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_custom_metric';
$strongarm->value = array();
$export['googleanalytics_custom_metric'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_debug';
$strongarm->value = 0;
$export['googleanalytics_debug'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_domain_mode';
$strongarm->value = '1';
$export['googleanalytics_domain_mode'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_pages';
$strongarm->value = 'admin
admin/*
batch
node/add*
node/*/*
user/*/*';
$export['googleanalytics_pages'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_privacy_donottrack';
$strongarm->value = 1;
$export['googleanalytics_privacy_donottrack'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_roles';
$strongarm->value = array(
1 => 0,
2 => 0,
3 => 0,
4 => 0,
);
$export['googleanalytics_roles'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_site_search';
$strongarm->value = FALSE;
$export['googleanalytics_site_search'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackadsense';
$strongarm->value = 0;
$export['googleanalytics_trackadsense'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackdoubleclick';
$strongarm->value = 0;
$export['googleanalytics_trackdoubleclick'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_tracker_anonymizeip';
$strongarm->value = 1;
$export['googleanalytics_tracker_anonymizeip'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackfiles';
$strongarm->value = 1;
$export['googleanalytics_trackfiles'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackfiles_extensions';
$strongarm->value = '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip';
$export['googleanalytics_trackfiles_extensions'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_tracklinkid';
$strongarm->value = 0;
$export['googleanalytics_tracklinkid'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackmailto';
$strongarm->value = 1;
$export['googleanalytics_trackmailto'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackmessages';
$strongarm->value = array(
'status' => 0,
'warning' => 0,
'error' => 0,
);
$export['googleanalytics_trackmessages'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackoutbound';
$strongarm->value = 1;
$export['googleanalytics_trackoutbound'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackurlfragments';
$strongarm->value = 0;
$export['googleanalytics_trackurlfragments'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_trackuserid';
$strongarm->value = 0;
$export['googleanalytics_trackuserid'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_translation_set';
$strongarm->value = 0;
$export['googleanalytics_translation_set'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_visibility_pages';
$strongarm->value = '0';
$export['googleanalytics_visibility_pages'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'googleanalytics_visibility_roles';
$strongarm->value = '0';
$export['googleanalytics_visibility_roles'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;