Need help on tagging implementation on Mobile App which developed using HTML3,CSS3 and Snecha touch framework and Phone Gap | Community
Skip to main content
October 16, 2015
Solved

Need help on tagging implementation on Mobile App which developed using HTML3,CSS3 and Snecha touch framework and Phone Gap

  • October 16, 2015
  • 3 replies
  • 1225 views

Need help to implement sitecatalyst tagging on a Mobile app, The Mobile App developed using HTML3,CSS3 and Snecha touch framework and create native application components to  wrap app with cross platform native development framework PhoneGap in order to deploy on multiple platforms (iOS and Android)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Alexis_Cazes_

If you look here : http://microsite.omniture.com/t2/help/en_US/mobile/ios/phonegap_methods.html

You will see the method trackAction, I think you should use this one for any other interaction than page load : 
     
trackAction

Tracks an action in your app. Actions are the things that happen in your app that you want to measure, such as "logons", "banner taps", "feed subscriptions", and other metrics.

Syntax:

  1. ADB.trackAction(string action[,JSON cData]);
 

Example:

  1. ADB.trackAction("login");
 
  1. ADB.trackAction("login", {"user":"john","remember":"true"});
 

 

These details are from the IOS 4.x library but you will find them in each library version doc. All dev docs are here : http://microsite.omniture.com/t2/help/en_US/reference/developer.html

3 replies

Alexis_Cazes_
Level 10
October 16, 2015

Hi,

There is plugin for phonegap here : https://marketing.adobe.com/developer/en_US/gallery/beta-phonegap-ios-and-android-plug-ins-for-sitecatalyst

Here is an example on how to integrate it for IOS SDK 4.x : http://microsite.omniture.com/t2/help/en_US/mobile/ios/phonegap.html

Best regards.

 

Alexis Cazes

October 16, 2015

Thank for your reply Alexis.There is a news section in the mobile app.Every day the new news items got added dynamically.I want to track onclick of the news item links.How can we track the onclick of a new item link.

 

Thanks,

RK

Alexis_Cazes_
Alexis_Cazes_Accepted solution
Level 10
October 16, 2015

If you look here : http://microsite.omniture.com/t2/help/en_US/mobile/ios/phonegap_methods.html

You will see the method trackAction, I think you should use this one for any other interaction than page load : 
     
trackAction

Tracks an action in your app. Actions are the things that happen in your app that you want to measure, such as "logons", "banner taps", "feed subscriptions", and other metrics.

Syntax:

  1. ADB.trackAction(string action[,JSON cData]);
 

Example:

  1. ADB.trackAction("login");
 
  1. ADB.trackAction("login", {"user":"john","remember":"true"});
 

 

These details are from the IOS 4.x library but you will find them in each library version doc. All dev docs are here : http://microsite.omniture.com/t2/help/en_US/reference/developer.html