Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Functions for lintrackvars or linktrackevents in SDK4.x

sriharshay74332
Level 1
Level 1

Hi,

We used to use functions "LinkTrackVars" and "LinkTrackEvents" in SDK 3.x. So, wondering what would be the equivalent functions we need to use for SDK4.x. Is there any alternate way of implementing or using these functions in latest SDK ? 

1 Accepted Solution
Jen_Andrews
Correct answer by
Employee
Employee

Hi sriharshay7433278,

The equivalent functions would be trackState and trackAction methods.

With 4.x you can no longer assign variables such as events, eVars, props, heirs and lists directly.  The SDK uses context data and processing rule to may your app data to Analytics variables for reporting.

Here are couple of documentation links referencing the above and further information.

Migrating to the 4.x iOS Library

Track App States

Track App Actions

Migrating to the Android 4.x Library

Track App States

Track App Actions

View solution in original post

2 Replies
Jen_Andrews
Correct answer by
Employee
Employee

Hi sriharshay7433278,

The equivalent functions would be trackState and trackAction methods.

With 4.x you can no longer assign variables such as events, eVars, props, heirs and lists directly.  The SDK uses context data and processing rule to may your app data to Analytics variables for reporting.

Here are couple of documentation links referencing the above and further information.

Migrating to the 4.x iOS Library

Track App States

Track App Actions

Migrating to the Android 4.x Library

Track App States

Track App Actions

View solution in original post