Omni.js: Modernized Adobe Omniture Analytics JavaScript API

Avatar

Avatar

fatih_kadir_aki

Avatar

fatih_kadir_aki

fatih_kadir_aki

15-10-2015

Hi folks!

Nowadays I'm working with Adobe Omniture and saw that current analytics JavaScript API is kind of dirty, or you can make your code dirty. So I've decided to build a simple layer on current 1.2.1 version API and created Omni.js which is functional, very easy and customizable and tiny.

You can install it using bower.

bower install omnijs

After you installed and included it into your HTML; you can simply create an instance:

var s = omni("namespace") .route(/index.html$/, function () { this.set("pageName", "Index Page"); this.evar(1, "Opening Index Page"); }) .run();

This makes your code clear, readable and more managable.

You can check the Github Repo out to get more information!

Hope you like and use it 🙂 If you like here it is. It's also open for contributions 🙂

Thank you so much!

https://github.com/metglobal/omni.js

-- Fatih