I am working with a developer who is trying to add revenue tracking to our website so we can track the performance of a google shop campaign. Please see conversations below between my developer and Wix rep - we have hit a hurdle and wonder if any one can advise how to progress or provide a work around:
Our project is located on a domain https://www.myrtleandmaude.com/
We'd like to track the revenue via Google Adwords pixel which is placed on Thank you page.
The problem is that final summa is located in iframe and we are unable to reach it via .js because of cross-site security reasons. Please advise, is there any other options?
Please forward this article to your developer, and ensure that he used this method before proceeding. Tracking Sales in Wix Stores with a Google AdWords Conversion Pixel
Yes, my developer saw this page and tried this method and more advanced as well.
But as I wrote before - he is unable to include to Pixel an amount to report about revenue, cause most of the thank you page located in iframe.
In example I have to run function "report_revenut('35.45', 'EUR');" where 35.45 is amount of cart total which I have to take from thank you page itself.
Could you please provide a code sample how to get this "35.45" number?
Unfortunately, we are not able to advise on code-related issues in our help center. This may be possible when using Wix Code. Wix Code assistance is not supported in our general support center. Please visit the Wix Code forum here for a potential resolution to your issue. Otherwise, it is not possible to bypass the security in the iFrame to access this information. Wix Code forum may be able to provide a work around if one exists.
So here we are - can any one please please help?? Many Thanks Matty