<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Omni.js: Modernized Adobe Omniture Analytics JavaScript API in Adobe Analytics Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/omni-js-modernized-adobe-omniture-analytics-javascript-api/m-p/216923#M532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks!&lt;BR /&gt;&lt;BR /&gt;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 &lt;A href="https://github.com/metglobal/omni.js" target="_blank"&gt;Omni.js&lt;/A&gt;&amp;nbsp;which is functional, very easy and customizable and tiny.&lt;BR /&gt;&lt;BR /&gt;You can install it using &lt;STRONG&gt;bower&lt;/STRONG&gt;.&lt;/P&gt;&lt;PRE class="prettyprint linenums" data-language="java"&gt;bower install omnijs&lt;/PRE&gt;&lt;P&gt;After you installed and included&amp;nbsp;it into your HTML; you can simply create an instance:&lt;/P&gt;&lt;PRE class="prettyprint linenums" data-language="js"&gt;var s = omni("namespace") .route(/index.html$/, function () { this.set("pageName", "Index Page"); this.evar(1, "Opening Index Page"); }) .run();&lt;/PRE&gt;&lt;P&gt;This makes your code clear, readable and more managable.&lt;BR /&gt;&lt;BR /&gt;You can check the &lt;A href="https://github.com/metglobal/omni.js" target="_blank"&gt;Github Repo&lt;/A&gt; out to get more information!&lt;/P&gt;&lt;P&gt;Hope you like and use it &lt;img class="lia-deferred-image lia-image-emoji" src="https://experienceleaguecommunities.adobe.com/html/@31B4D6D7B3510763F3CBB2AAB7997408/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;If you like here it is. It's also open for contributions &lt;img class="lia-deferred-image lia-image-emoji" src="https://experienceleaguecommunities.adobe.com/html/@31B4D6D7B3510763F3CBB2AAB7997408/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you so much!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/metglobal/omni.js" target="_blank"&gt;https://github.com/metglobal/omni.js&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-- Fatih&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 02:26:16 GMT</pubDate>
    <dc:creator>fatih_kadir_aki</dc:creator>
    <dc:date>2015-10-16T02:26:16Z</dc:date>
    <item>
      <title>Omni.js: Modernized Adobe Omniture Analytics JavaScript API</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/omni-js-modernized-adobe-omniture-analytics-javascript-api/m-p/216923#M532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks!&lt;BR /&gt;&lt;BR /&gt;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 &lt;A href="https://github.com/metglobal/omni.js" target="_blank"&gt;Omni.js&lt;/A&gt;&amp;nbsp;which is functional, very easy and customizable and tiny.&lt;BR /&gt;&lt;BR /&gt;You can install it using &lt;STRONG&gt;bower&lt;/STRONG&gt;.&lt;/P&gt;&lt;PRE class="prettyprint linenums" data-language="java"&gt;bower install omnijs&lt;/PRE&gt;&lt;P&gt;After you installed and included&amp;nbsp;it into your HTML; you can simply create an instance:&lt;/P&gt;&lt;PRE class="prettyprint linenums" data-language="js"&gt;var s = omni("namespace") .route(/index.html$/, function () { this.set("pageName", "Index Page"); this.evar(1, "Opening Index Page"); }) .run();&lt;/PRE&gt;&lt;P&gt;This makes your code clear, readable and more managable.&lt;BR /&gt;&lt;BR /&gt;You can check the &lt;A href="https://github.com/metglobal/omni.js" target="_blank"&gt;Github Repo&lt;/A&gt; out to get more information!&lt;/P&gt;&lt;P&gt;Hope you like and use it &lt;img class="lia-deferred-image lia-image-emoji" src="https://experienceleaguecommunities.adobe.com/html/@31B4D6D7B3510763F3CBB2AAB7997408/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;If you like here it is. It's also open for contributions &lt;img class="lia-deferred-image lia-image-emoji" src="https://experienceleaguecommunities.adobe.com/html/@31B4D6D7B3510763F3CBB2AAB7997408/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you so much!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/metglobal/omni.js" target="_blank"&gt;https://github.com/metglobal/omni.js&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-- Fatih&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:26:16 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/omni-js-modernized-adobe-omniture-analytics-javascript-api/m-p/216923#M532</guid>
      <dc:creator>fatih_kadir_aki</dc:creator>
      <dc:date>2015-10-16T02:26:16Z</dc:date>
    </item>
  </channel>
</rss>

