Experiences Double up when Updating GlobalMbox via DTM.

Avatar

Avatar
Validate 1
Level 1
michel_proulx
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
michel_proulx
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
michel_proulx
Level 1

13-06-2017

Hi Guys,

When we have a default experience shown & then attempt to update the experience on the same page with an mbox update through dtm, our activity reloads and show both the original version & the new version.

The page itself doesn't reload which is good but we can't seem to remove the old experience, it only appends the new experience.

Sound familiar?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 1
Level 1
ralphy31443771
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 1
ralphy31443771
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

1 solution
Top badges earned
Affirm 1
View profile
ralphy31443771
Level 1

16-06-2017

Hey guys,

We've found a different solution for this.

The issue stemmed from the fact that our data was stored in an array and we needed to only pass the first value of the array to target. So the initial approach was to transform the data on page load and then update target via mboxupdate. This then lead to the issue of target-global-mbox being reloaded on update and having element generated by the mbox double up on the page (banners, etc).

To get around having to do an update on page load, I created data elements that used a custom script to transform the data. Now that they're part of the dtm layer, they're loaded before the initial target-global-mbox load and we are able to pass already transformed data via Global Mbox Parameters in DTM.

Answers (4)

Answers (4)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

18-06-2017

Thanks Ralph . We are glad to know that the issue is resolved .

Avatar

Avatar
Validate 1
Level 1
michel_proulx
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
michel_proulx
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
michel_proulx
Level 1

15-06-2017

Thanks so much Guys, just looping in my IT counterpart on this. well get back to you soon...

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

202 likes

Total Posts

224 posts

Correct reply

90 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

202 likes

Total Posts

224 posts

Correct reply

90 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

15-06-2017

Hey Michael,

I have some additonal questions that will help us better understand your situation:

  1. On the initial page load is Target's response returning any content changes?
  2. What mbox name is used in your update call to Target? Is it fired only once on the page?
  3. What kind of a content change is being made? Is this using the insert element edit option by chance from the Visual Composer?

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

15-06-2017

Hi Michael,

Are you triggering mboxUpdate()  via Page Load rule or you are triggering the mboxUpdate() for javascript events on the page via Event based rules in DTM.

If you are using the Page Load rule, Please trigger the rule at the top of the page to ensure that the default content is hidden until the mbox response has been received

Regards

Parit Mittal