Adventures with Omniture WordPress Plug-in

Update: I have been working on my own version of an Omniture WordPress Plugin!  Find it here: http://www.rudishumpert.com/projects/wp-omniture/

It’s rare to find a plug-in these days that work exactly as advertised. Hell, it is rare to find one that is only somewhat painful to implement. So when I began the day with the task to implement the WordPress plug-in for Omniture I was skeptical. But it was much easier that I thought. Below are the steps I went through to install the plug-in, perhaps this will be helpful to someone!

My company is running a a blog using the 2.7.1 version of WordPress hosted on our own server. I set up a brand new report suite in SiteCatalyst just for the blog, exported the new s_code.js file and moved it to the linux server. Once on the server it was just a matter of moving the plugin files into the wp-content/plugins/ folder.

Then move the new s_code.js file into the wp-content/plugins/OmnitureSiteCatalyst/js/ folder. Once all the files are on the server, login to the admin section of your blog, and under Plug-ins, find and activate the Omniture plugin.

omnisettings

You’re almost there. Next you go to Settings > Omniture Settings.

On this page you provide the plugin with the pathing information to the s_code file. The last item on the page needs the noscript Image url like this : http:/yournamespacehere.112.2o7.net/b/ss/reportsuite-name-here/1/H.20.3–NS/0

onnisettings2

All that is left is to turn on the tracking and you’re done.

Note: We were using the “Bookmarkify” plugin to add those handy links to the share the blog posts with others, but adding the Omniture plug-in caused some formatting issues with text wrapping all over the place. I switched to a different extension called: Add to Any, and it works fine.

Within 20 minutes I was seeing the data flowing into my reports in Site Catalyst. Start to finish this project took about 1 hour, not counting the time waiting for the data to show up in SC.

-Rudi

NOTE:  If you see the error below when trying to activate the plugin, it is most likely due to an issue with PHP versions.  The plugin works on PHP 5.x  but not 4.X version.

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/r/s/h/code/html/codedir/wp-content/plugins/OmnitureSiteCatalyst/inc/omnitureControlClass.php on line 9

Leave a comment

Your email address will not be published. Required fields are marked *

Are you human? Or are you Dancer? *

12 thoughts on “Adventures with Omniture WordPress Plug-in”