This plugin has not been updated in 2 years and it looks like threads created within the last year have not received a response by the developer.
Can anyone confirm that there is a developer still supporting this plugin or has it been abandoned?
]]>There’s a bug in the plugin. In adobe-analytics/settings.php, nearly at the bottom the wrong directory name is used twice so the dashboard interface is broken — the tabs don’t work. The two instances of “adobe_analytics” in the paths to the JS and CSS files need to be “adobe-analytics” instead.
wp_enqueue_script( ‘adobe_analytics-settings-script’, plugins_url( ‘adobe_analytics/templates/assets/admin-scripts.js’, dirname( __FILE__ ) ), array( ‘jquery’ ), false, true );
wp_enqueue_style( ‘adobe_analytics-settings-style’, plugins_url( ‘adobe_analytics/templates/assets/admin-styles.css’, dirname( __FILE__ ) ), false, false, false );
Hi,
I am having trouble with inserting custom variables and global variables.
Whenever I try to add a global variable, it does not save and seems like there must be a bug fixed? Please let me know!
Thanks
]]>There is a Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Adobe_Analytics::init() should not be called statically in /Users/jpresley/Sites/wordpressunified/httpdocs/wp-includes/plugin.php on line 429
notice.
This can be fixed by either changing the lines
add_action('init', array('Adobe_Analytics', 'init'));
add_action( 'wp_print_footer_scripts', array('Adobe_Analytics', 'script'), 50 );
to
add_action('init', array(&$adobe_analytics, 'init'));
add_action( 'wp_print_footer_scripts', array( &$adobe_analytics, 'script'), 50 );
adobe_analytics.php.
Alternatively you can change the definitions of ‘script’ and ‘init’ methods to public static function.
There’s an issue with using this plugin with older s_code.js’s that do not use the AppMeasurement object. If you change the line in adobe-analytics.php that reads:
s = new AppMeasurement();
to
if(typeof(s) === 'undefined')
{
if(typeof(AppMeasurement) === 'undefined')
{
s = s_gi(s_account);
}else{
s = new AppMeasurement();
}
}
the plugin will work with older s_codes as well as newer ones that use the AppMeasurement object.
The line s = s_gi(s_account);
is just taken from how our s_code.js file creates the s object. There may be other ways to gracefully fallback to declare an s object if AppMeasurement is undefined.
What is the format for the custom variables and how does one use the tokens for them? I’ve tried various formats including JSON but the documentation and code isn’t clear. From the code, it looks like it uses json_decode() and then looks for a ‘value’ key in the array of variables created.
Thank you.
]]>