Trigger Popup CTA from JS

We need to trigger different popup based on page data layer.

It’s seem is not possibile.

There is some workaround for this?

Hey, @LucianoTolomei :waving_hand: Thanks for your question! While I don’t have a workaround to offer, I do have some questions that may give our community members more context. More information is never a bad thing when discussing product challenges :blush:

  • Can you provide more details about the popups you’re using? Are these HubSpot-built popups or custom-made popups?
  • Could you elaborate on the structure of the data layer you’re referencing?
  • What are the specific conditions or criteria in the data layer that should trigger each different popup?

Thank you for the additional information! — Jaycee

We use HubSpot CTA tool.

We have more than 30 news portal with hundreds of thousands of articles and we have more than 400 CTAs.
Each article is tagged based on the topic and stage of the buyer journey. The data is stored in the pages data layer.
So we need to use custom variables and the ability to make a custom trigger to show the right popup to the right people.