Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

iFrames allow Affiliates to embed WMC order forms onto external websites. Below we’ll outline instructions and best practices for embedding order forms onto your sites.

Domains

WMC added a security implementation (based on the documentation: https://content-security-policy.com/frame-ancestors/) so that ONLY whitelisted domains can load WMC content pages on an iFrame.

Note

IMPT: Need to check with WMC team to make sure the domains (external) you want to use for the iFrame have been whitelisted. If they have not, the order form will NOT load in the iFrame.

 Other Domains

Any other Domains will have the following tags on the response header. This will prevent the page to be loaded, resulting on a 404 error.

Code Block
frame-ancestors 'self'

Phase 1 Recommendation:

  • Use effort created (beginning to end) in WMC - order form, journey AND effort created in WMC

    • Why? We can only support one domain for the iFrame so we can’t utilize the IRIS connection/promotion domain

    • Reporting implications:

      • Will not see the promotion code/effort in IRIS

      • Will not see stats in IRIS

      • Will only see basic order reporting in BI reports (no IRIS stats)

        • Since we recommend basic order forms only for this functionality (aka no promotional elements – see below) missing stats should be limited

  • Only include e-comm components (order form and confirmation page)

    • Don’t include marketing components (promotional content, videos, etc.)

      • Why? This functionality and reporting related will be limited when using WMC end to end (for more information: WMC End to End Limitations)

  • Simple, one-step, main item orders only – don’t recommend cross-sell and upsell components

Phase 1 Instructions:

  • Once the effort is created in WMC, use the effort link (located at the bottom of the ‘edit’ effort screen) when setting up the iFrame on you external website

    • Will use a transaction domain

...