How to track iFrames for Optins & Orders

iFrames notoriously cause tracking issues. Here is a list of options for tracking iFrames.

Potential Solutions:

Inject Tracking Code inside of iFrame

Thank-You Page Hack

Zapier Solution

Custom Code

Remove iFrames

Test the solutions before making the full switch to your technology stack!

Use the Tracking Validation Tool to test & ensure tracking passes after implementing your changes.

Inject the Tracking Code inside of iFrame

  • Native Setting
    The best option if your software has the ability to add the Wicked Tracking Code directly within a pre-built setting.
    For Example: How to track Everwebinar/Webinarjam (see Step #4)
  • Google Tag Manager
    An option if your software has a native integration with Google Tag Manager that allows you to inject codes into the form.

Thank-You Page Hack

Native Functionality
An option if your software has the ability to send the email address (and ideally, the UTMs) to a trackable thank-you page. Follow our help doc: Using the Thank-You Page Hack

For Example: Tracking Calendly Appointments

Custom Code
A developer can help you create the code necessary to send the email address to your trackable Thank you Page. The end goal is: Using the Thank-You Page Hack

Zapier Solution (or similar)

Create a zap that will capture the event and send it to Wicked Reports. To work, your software must offer IP Address as one of the dropdown options in Zapier.

For Example: See Kartra for example - Step #2.4

Custom Code

Custom Javascript placed on the parent page, that can be used when the content in an iFrame does not use standard UTM value formatting. Learn more here: Passing UTM Values into an iFrame

Remove iFrames

We recommend avoiding iFrames when possible. They are known to cause tracking issues - not just for Wicked users, but in general. If removing iFrames is a plausible option, it will ensure simpler and smoother tracking.