How to add variables to config

jordan-playfab

27-12-2019

I'm trying to do something really simple: add a custom variable to every page hit which I can filter in Adobe Analytics. I know how to use JavaScript, but I couldn't find any documentation for how to add something like "developerId" to the set of data sent to Adobe.

 

Here's what my code looks like:

insertJS("https://az725175.vo.msecnd.net/scripts/jsll-4.js", () => {
    const config = {
        coreData: {
            appId: "PlayFab_gamemanager_prod",
            market: "en-us",
        },
    };
    awa.init(config);
});

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Asheesh_P

MVP

02-01-2020

Few questions to better understand your question -

Are you using DTM/Launch to add custom variable? or Do you want to add custom variable on app? and use processing rule to define custom variables.