Support for Mobile implementation

Avatar

Avatar
Validate 1
Level 1
aleber
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
aleber
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aleber
Level 1

12-10-2020

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

537 likes

Total Posts

968 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

537 likes

Total Posts

968 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

13-10-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.

Answers (1)

Answers (1)

Avatar

Avatar
Boost 1
Level 1
kenmckell
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
kenmckell
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
kenmckell
Level 1

13-10-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.