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

Avatar

Avatar

ramakrishna_bhu

Avatar

ramakrishna_bhu

ramakrishna_bhu

15-10-2015

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)

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

AlexisCazes

MVP

Avatar

AlexisCazes

MVP

AlexisCazes
MVP

15-10-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

Answers (2)

Answers (2)

Avatar

Avatar

ramakrishna_bhu

Avatar

ramakrishna_bhu

ramakrishna_bhu

15-10-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

Avatar

Avatar

AlexisCazes

MVP

Avatar

AlexisCazes

MVP

AlexisCazes
MVP

15-10-2015

Hi,

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

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