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

mboxFactoryDefault.getPCId().getId(); equivalent for at.js

Avatar

Avatar
Ignite 1
Level 2
brianh96587047
Level 2

Likes

3 likes

Total Posts

9 posts

Correct Reply

2 solutions
Top badges earned
Ignite 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Ignite 1
Level 2
brianh96587047
Level 2

Likes

3 likes

Total Posts

9 posts

Correct Reply

2 solutions
Top badges earned
Ignite 1
Boost 3
Boost 1
Affirm 1
View profile
brianh96587047
Level 2

31-03-2018

I am looking for a way to get the Mbox PCID via AT.js.  Currently, response tokens for tntID is dropping the edge and application numbers (everything after the "."). 

Replies

Avatar

Avatar
Boost 5
Level 4
russpainter
Level 4

Likes

49 likes

Total Posts

40 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
russpainter
Level 4

Likes

49 likes

Total Posts

40 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
russpainter
Level 4

03-04-2018

I feel inadequate trying to help you Brian, but I'll add my 2 cents. Here's a couple ways we've grabbed this since migrating to at.js

1. Grabbing it through the cookie.

getCookie('mbox') gives you session and PCID. We just parse out the value we need.

1456882_pastedImage_4.png

2.  define a variable in the html offer with '${user.PCID}' and the grab it once the offer loads.

Also, what is the use case that you'd be trying to accomplish with this?