Functions for lintrackvars or linktrackevents in SDK4.x | Community
Skip to main content
New Participant
Jan 24, 2018 11:17 PM UTC
Solved

Functions for lintrackvars or linktrackevents in SDK4.x

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 ? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jennifer_Andrews
Jennifer_AndrewsAccepted solution
Employee
Feb 12, 2018 7:58 PM UTC

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

2 replies

New Participant
Mar 12, 2018 11:11 PM UTC

Thanks Jen

Translate
Jennifer_Andrews
Jennifer_AndrewsAccepted solution
Employee
Feb 12, 2018 7:58 PM UTC

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

Translate