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!
Solved! Go to Solution.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Views
Replies
Total Likes
Gotcha! To add a custom variable (let's say user id) in every page hit, you will need to first set userid in either cookie or data layer. once done you will need to use tag manager to read that user id and set a custom prop or evar with user id value on each page.
Views
Replies
Total Likes
Views
Replies
Total Likes