We have a 3rd party booking site embedded on our page via iframe. We know we can’t track engagement in that iframe with Google Analytics, because it’s in an iframe.
As a workaround, we’re attempting to use PostMessage, to post an event or message from the iframe to the parent Wix site when booking confirmation page loads within the iframe. When the parent page page receives that message, we’ll trigger Google Analytics tracking code.
We had this working using Tag Manager on the previous site. However, since the client moved to Wix it’s stopped working. The parent page doesn’t want to accept a PostMessage from a 3rd party URL in the iframe.
We’ve had it working on Wordpress etc. Has anyone found a work around for this on Wix?
That’s a good question - let me check this with our technical representatives before I’m getting back with an answer.
In the meantime, I’m curios to know what was the reason for not using Wix Bookings instead of using a 3rd party booking site?
Our Bookings solution supports a large variety of use cases and is already used by many users and most importantly - it’s part of Wix solution suite (no need to embed via iFrame).
Hi Jay,
I’ll be happy to get more details on this, so we could have a better understanding of the gaps you experience and to see how we can help you overcome them.
Would you be able to elaborate on this by email or on a call?
My email is erezsi@wix.com.
Thanks!
Hey Erez,
It might be something of interest later but right now we’re not looking to explore other Booking systems. Thanks though! Our priority is to get the issue at hand solved then we can look at optimising using other systems.