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.

Using Non-Whitelisted Domains

Any iFrame that is loaded on any external domain that is NOT whitelisted will have the following header. This will prevent the page to be loaded, resulting on from loading and result in 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 to it 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

    • Why? Reporting related will be limited when using WMC end to end. SpecificallyMost notably, you’ll be unable to differentiate between primary , cross-sell and upsell orders  in reporting (for .

      • We can differentiate between primary and cross-sell orders using back up logic (i.e. any item that is not the assumed primary item (using back up logic) is labeled a cross-sell)

      • For more information:WMC End to End Limitations)

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 your external website

    • Will use a transaction domain

...