Skip to content

Adhoc tracking does not work with custom variable of type 'list' #39

@rowlando

Description

@rowlando

The request to omniture doesn't have a value for l1 when an array is specified in the trackAdHoc() call.

analytics.setup({
    site: 'global',
    section: 'skyglobal/analytics/demo',
    account: 'bskybdemodev',
    contentType: 'analytics',
    customVariables: [
        {'listOfValues': { list: 1} }
    ]
});

analytics.trackAdHoc(
    {'listOfValues': ['value1','value2']}
);

It works with a single value:

analytics.trackAdHoc(
    {'listOfValues': 'value1'}
);

In the request made to omniture, the l1 value is 'value1'.

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions