Support for Mobile implementation | Community
Skip to main content
aleber
Level 2
October 12, 2020
Solved

Support for Mobile implementation

  • October 12, 2020
  • 2 replies
  • 2767 views

Hi,

I'm going to approach a project where I have to implement Analytics both for Web and App channel.

For Web channel I will define a data layer and by Launch I will define a new property where I will create data elements and rules to manage data. In detail by Data Element Type "JavaScript Variable" I will collect information and data from Web.

 

I trying to understand if a similar mechanism can be define for App channel where I don't see a Data Element Type "JavaScript Variable" or QueryStringParameter. Do you know if exists any similar mechanism? Any reference or link where I can understand the difference between Web and App implementation?

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 Andrey_Osadchuk

If you are looking for a solution when the Analytics implementation in mobile app is managed in Launch similar to how it's working for web, then, unfortunately, the answer is No. You will need to define and pass all the data you want to capture in Analytics in the mobile app itself by using Mobile SDK.

2 replies

Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
October 13, 2020

If you are looking for a solution when the Analytics implementation in mobile app is managed in Launch similar to how it's working for web, then, unfortunately, the answer is No. You will need to define and pass all the data you want to capture in Analytics in the mobile app itself by using Mobile SDK.

aleber
aleberAuthor
Level 2
October 21, 2020
Thank you for your answer. Except for Mobile SDK, is it means that it is not suggested to use Launch?
kenmckell
Adobe Employee
Adobe Employee
October 13, 2020

Building on Andrey's answer - the data you pass in via the Mobile App SDK can still mimic your Javascript schema, although it is in a completely different format (i.e. non-JSON)

 

Here's an example of the trackState function being used in an iOS app implementation, with a JSON-like schema:

 

ACPCore.trackState("PAGENAME HERE" data: ["page.pageName": "PAGENAME HERE",

       "page.category.channel": "PAGE CATEGORY LEVEL1 HERE",

       "page.category.l2": "PAGE CATEGORY LEVEL2 HERE",

       "page.category.l3": "PAGE CATEGORY LEVEL 3 HERE",

       "page.pageInfo.pageType": "PAGE TYPE HERE",

       "&&products": ";PRODUCTID",

       "productView": "1"]

);

 

Instead of using Launch to populate the Analytics variables, you would need to use Analytics' processing rules - available in the Analytics Admin Console's Report Suite Manager - to map the "contextData" objects (contained in the schema above, for example) to the various Analytics variables/events/etc.

aleber
aleberAuthor
Level 2
October 21, 2020
Thank you for your answer. Is it means that it is not suggested to use Launch?