$p("collectInventory")

$p("collectInventory"): undefined -> undefined

$p("collectInventory") is a function that runs at $p("init") by default. If you want to scrape data from your page sometime after our script loaded after running $p("init"), then you can run $p("collectInventory") to make our script to scrape Open Graph tags or HTML elements that you've specified in the configuration.

$p("init","JS_KEY",{ //Some configuration object }); // Your code ... $p("collectInventory");