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.
Solved! Go to Solution.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Hey Michael,
I have some additonal questions that will help us better understand your situation:
Views
Replies
Total Likes
Thanks so much Guys, just looping in my IT counterpart on this. well get back to you soon...
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Thanks Ralph . We are glad to know that the issue is resolved .
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies