Experiences Double up when Updating GlobalMbox via DTM.

Avatar

Avatar

michel_proulx

Avatar

michel_proulx

michel_proulx

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

ralphy31443771

Avatar

ralphy31443771

ralphy31443771

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

ParitMittal

Avatar

ParitMittal

ParitMittal

18-06-2017

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

Avatar

Avatar

michel_proulx

Avatar

michel_proulx

michel_proulx

15-06-2017

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

Avatar

Avatar

ryanr701

Employee

Avatar

ryanr701

Employee

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

ParitMittal

Avatar

ParitMittal

ParitMittal

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