Limitations of Google Tag Manager - GTM

Modified on: Tue, 18 May, 2021 at 6:33 PM

Scope

PayNow page is not opening in iframe with GTM tracking



Below are the limitations of GTM

  • Built-in GTM support is only available for checkout and portal pages and not for any other forms of modal-type action pages in Chargebee such as Pay Now or Extend Subscription.
  • If checkout or portal is launched by customers via Chargebee emails sent to them such as an accept quote email or a cart abandonment notification, built-in tracking will not work because Chargebee.js is not loaded in such cases.
  • If in-app checkout or portal is opened in a new tab/window, the GTM integration will not work because Chargebee.js is not loaded.


If you want to collect payment in iFrame, PayNow link cannot be opened in an iframe and we cannot use Pay Now link for GTM tracking purposes

Instead of embedding Pay Now in an iframe, you could either use some of JS default functions like the window.open() and within that function, you can call Collect Now API or you could retrieve the URL from the API and then ensure that the Collect Now link is added to the button.

M
Monica is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.