How to use SiteCatalyst Plugins in Mobile App


These days, I am writing very often but not publishing those articles. Most of the articles are in the draft folder and i am trying to give finishing touch to all. Ideas and thoughts,for me, come instantly. Sometimes, even after spending hours on work, i have to say to myself- “this is not working” and i get up and take a break. Last week i got an email from one of my colleague from previous employer saying that Can we use sitecatalyst plugins in My Mobile App? I read it again and i replied yes, we can use few of them but not all them.

It is evident that Mobile app doesn’t support cookies so there must be some other workaround to do so. These workarounds are very close to the implementation of sitecatalyst plugins. Let’s take a look on few plugins which are very often in use-

1. getNewRepeat– This plugin is used to capture new vs. repeat visitor based on a cookie and you can set the expiry of that cookie in one of the parameter of this function. In your mobile app, launches are similar to sessions which is again closely related to visit. Developer can see “Launches” as a context data in a Network packet sniffer tool.


Assign a variable for New vs. Repeat visitor, and then write a processing rule having following condition-


set eVarX= propX=new;

else  set eVarX= propX=repeat;

You can use this eVar similar to the one in website and can be used for attribution and segmentation as well.

2. DaysSinceLastVisit-  This plugin is used to identify how often visitors visit my site on daily basis and very useful to understand the behaviour of return visitors. In your mobile app, When user launches the app for the 2nd time then there is a context data- “DaysSinceLastUse”. You can map this context data in to an eVar or Prop to capture that data. The data will be in numeric format.


For the first launch, you may need to set some custom value like “First use” so that you can easily differentiate between “Zero” and “First use”.

3. getTimeParting-  This is one of the most popular plugins among clients. They can create segments based on days/type of days/ hours etc. and can analyse the data more deeply. In mobile App, Adobe provides Two out of box context data-


“DayOfWeek” and “HourofDay”. You can capture these values and use classification rule builder to get more valuable report out of it.

Hope this is helpful for new mobile app analyst to get the right data from adobe analytics mobile services SDK. Feel free to reach out to me if you have any queries at

*Adobe Analytics logo is a copyright of Adobe Systems.


Test DTM rules using charles proxy


I am sure that while reading this post you will start doing the handson with charles proxy. Yeah, It is so good to dig in to something new. Many people out there might have done this already. Before the weekend started, I had to implement DTM on one of the client’s site but there was no header and footer code added by their developers. It was hard to get the DTM rules and Data elements running before the monday. In this situation, charles proxy became one of my the best friends in web analytics. We have done so much things with this tool so far. Doing map local, map remote file, rewrite the code and so many other cool stuffs before pushing the code  to the end users.

Rewrite feature of Charles gives you so much flexibility to test your own code on production before pushing it to live. Using this, you can insert any code at different sections of the page. I have used this features frequently to test page tags whenever required.

Now, let’s talk about using DTM rules on your pages without adding any header and footer codes. Sometimes, I would say, It is important to understand weather it will work or won’t work before you get started.

Idea is very simple if you have used rewrite features of charles. you just need to add the header and footer script code on the different sections of the page. Let’s see how this can be done STEP BY STEP.

Step-1) Open charles proxy and Go to Tools->Rewrite. Rewrite setting window appears. Check the enable rewrite checkbox and click on “add” button to create your first rewrite. Refer the screenshot mentioned below. Give a name to this as shown in top highlighted box.


Step-2) Click on “Add” button presents locations section and add your website details as shown in below screenshot-


Step-3) Click on “Add” button presents below rules section of the above screenshot. Now, on the next screen, select the body option from the dropdown and “Response” from the checkbox. Write “<head>” in upper value input box while paste your DTM HEADER script code in the second value input field. Add the script code between <head> and </head>.

See the below screenshot for your details-


Step-4) Again, Click on “Add” button presents below rules section of the above screenshot. Now, on the next screen, select the body option from the dropdown and “Response” from the checkbox. Write “</body>” in upper value input box while paste your DTM FOOTER script code in the second value input field. Add the script code between <script> and </body>.

See the below screenshot for your details-


Step-5)Click on Apply button and then OK button. Open your website and see the tags under correct server response.


In the above screenshot, you can see that, I have fired a page load rule using DTM on my wordpress website. [’s sites don’t support DTM yet]. Now onward, you will never complain whenever your development team some how forgets to add DTM code before you create your rules and test them.

Let me know if you face any difficulties while doing this. Feel free to add your comments.

Life Beyond s_code for Sitecatalyst Consultant


I am sure title for this blog may sound bit odd for you but wait I am not going to tell you about my daily routine after I finish my day. For me, Title sounds apt for what I am going to explain.

To tell you the story behind this title, Last year, one of my colleague was totally pissed off with s_code and its complexity so he whispered that “There is no life beyond s_code”. Though, I got the actually meaning of what he meant but nevertheless I am putting this other way around for a consultant(hopefully, J ) and I would say, ’ Sitecatalyst consultant have many alternate choices but you just need to pick the best possible solutions  to be the best consultant’.

Now, let me come to the point, Life is becoming tough for sitecatalyst consultants with complex and tricky business requirements from clients. In my day-to-day consulting experience, I have faced several issues with s_code such as –

  1. s_code doesn’t load on time before sitecatalyst image request send to adobe server.
  2. Developer has missed to remove correct report suites name before s_code goes on to production.
  3. Marketing team can’t wait to track new campaign for Black Friday but IT release doesn’t allow them to do so.
  4. Managing several s_code for many sub domains is a big headache and a single code error results in huge data loss.

It is really frustrating in daily analytics activities when sitecatalyst consultant struggles with s_code.js file when some tags do not get set the way they want. To deal with such issues adobe analytics really have something beyond s_code file. App measurement.js (Light js) and Dynamic Tag Management are in demand solutions from adobe which may resolve several complexity and dependencies for clients.

App measurement.js is not a new offering from adobe but it has quite a while in use. This js file is very light and loads much faster than s_code.js file and will reduce your sleepless nights. It offers same flexibility as s_code and works well with almost all sitecatalyst plugins (different version). So, I think you should try using appmeasurement.js file next time rather than going for s_code file. App Measurement has ability to support Visitor ID services and Heartbeat video integration

Tag management solution is also not new in the market. There are so many tag management solution such as Ensighten, Teliuem, Google Tag manager etc. which helps client to remove dependencies from IT release and unavailability of core development team.

Dynamic Tag Management aka DTM is a recent delight in adobe’s Digital Marketing suite from Search Discovery. DTM is a very powerful tool to keep your implementation intact without touching your application code enough.

You can implement more than one web analytics solution using it. Several benefits of having DTM on the table are-

  1. Change your codes whenever you want.
  2. Launch and track any marketing campaign during any time of the year.
  3. No scope of JavaScript error (Compiles JS script on the fly).

DTM comes free with standard sitecatalyst contract can be used with google analytics as well.

I hope you have now better idea to make a good choice before you start adobe analytics implementation.

Write to if you have any queries on this.

Magic of Cart Abandonment in Digital Marketing


Photo credit- formisimo

For most of the people, online shopping is fun. But for marketers, it is really a serious business. Digital Marketers hate that people don’t place order after entering his/her details. But I got lucky today after doing form abandonment. 🙂  Yeah, it is true. I am not kidding. I knew what will be coming for me.

All sites track form abandonment these days but buyers don’t get to know about this until they start receiving emails, call from them. Today, I had to buy a watch so I went to an online site and selected my favorite watch. I entered all my details but just before payment page, I thought let’s check out some other watches. After 5 minutes, I got a call from customer care from that company that I forgot something in my cart.

But how should I justify my abandonment? I said that I was looking for discount and then customer care replied very generously that he will give 25% discount. After that I bought that product.If you are true buyer try to abandon your cart and see if anything good may come for you.

My point is- It is essential for online shopping website to track form abandonment. Customers can buy your products even if they will get 1% of discount.

It is very easy to track cart abandonment using  Web analytics tool like Google analytics, Adobe analytics and coremetrics.

For Google analytics, Define a funnel with all your pageName and capture important details in custom variables.

For Adobe Analytics, Define event variables on all the cart steps and capture user details in eVars. So, once user abandon his/her cart then set an event and eVars (user details/phone no.) to capture these details. You can get the details in report and push the report to support team to do follow up. If you are runing an automated process then i suggest to capture these details using Adobe analytics APIs to your databses.

Happy shopping guys and keep abandoning your cart to get more offers. But i tell you that you are not the smartest one sitting over there, a marketer can understand that – are you really a true buyer or are you doing this for some fun?

If you need any assistance on cart abandonment tracking, send your queries to

Digital Marketing Guide for a Small Business

Digital Marketing

I have been working on Digital Marketing space since more than 3 years. I started as an e-Commerce developer and then moved in to this agglomerated space of internet. This looks really cool if you have money and you are spending the dollars wisely. Use of internet has brought so many reforms in Digital Marketing during last 5 years. Marketer couldn’t even think of this drastic shift of Marketing Channels.

As a Digital marketer, I would like to sum up few important key points to Small Business who are still looking to build up a reputation among their clients.

“It Takes 20 Years to build a reputation
and five minutes to ruin it. If you think
about that, you’ll do things differently.”- Warren Buffet

Yeah,!! It is very important to do something different of what your competitors are doing. As a new Small Business company you should think on few things before you jump in –

1. Who is your Potential Customer ?

2. Are you Confident about selling your product & services ?

3. Selecting Right Digital marketer but not that cheap on cost

4. Define your clear small term strategies

5.  Publish faithful clients testimonials

6.  Don’t do just business, Do your part to drive the field in which you want to get established

Now, Lets come back to Digital marketing. Digital marketing of your business can make you rich with in a week but also make you even poor within a day. The growing number of forums and social networking has given consumers freedom to express their views on the services offered to them. Therefore, I suggest you to keep your eyes on what customers are talking about your product and services.

To start a Digital Marketing Strategy,  First thing you should have that is your web presence in the form of a website with good consumer experience.  Second, Go on to implement  a web analytic solution on your website. Understanding, the web data behavior is first step toward thinking of any Digital Marketing Strategy.

There are several web analytic solutions like- Google analytic, Site catalyst, IBM Digital Analytic , webtrends, pWik etc. Based on your budget and requirement, deploy any of these web analytic solution on your website.

Now, Third step- Use SEO, SEM, Social Media (Facebook, twitter, Linkedin etc), Forums , Banner ads etc.  to advertise your product or services online. You need to be very cautious on selling your product and services on social media platform. Understand the potential clients and reach them based on web data analysis using several channels like Email , customer care and also by sending sales team to them.

For initial Pick up, Starting an affiliate program is not a bad idea but be aware about how you want to run this program. Spending money wisely at this step of strategy is very crucial.

Keep revising your plan once in a quarter based on Web data analysis with your Digital Marketing Officer. Taking these steps will help your business going forward. In this way, you can rip off the potential of Digital Marketing.

Now, I am wrapping this article. So if you have any questions and thought on this article, you are welcomed to comment. Have a happy Marketing..!! 🙂

If you are interested to hire a Digital marketer, you can reach me @