cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
4386members
1425posts
This is a verified product documentation article. For case-based resolutions articles, please reference the Knowledge Base section of Invoca Community.
stevestormoen
Employee
Employee

Overview
To get started with Invoca on your landing page, see How to configure and deploy your Invoca Tag with the Invoca Tag Wizard.

Invoca supports single page apps built with technologies like AngularJS or React, where content is dynamically loaded as the user interacts with the content. This means Invoca can detect when a number to replace is loaded/brought into view, and then dynamically switch it out for one of our own numbers.

In order to take advantage of this feature you will need to set autoRun to false in the Custom Code block:

options.autoRun = false


And then trigger the Invoca.PNAPI.run() function.  This is typically done via some load event listener or library render callback in your Javascript. For example, you might have a 'Contact Us' widget that contains the number, but the content is loaded dynamically, so once that widget is shown you would trigger Invoca.PNAPI.run().

Need more help?

Don't see what you are looking for? You can ask the Community or contact support.