Hello: We are on CE 1.9.3.6 and we are trying to implement Perfect Audience's dynamic retargeting functionality. We already have the Perfect Audience tag on our site but the instructions (https://perfectaudience.ladesk.com/622133-Modifying-Your-Site-Tracking-Tag-for-Dynamic-Ads?r=1) indicate that we need to amend that tag to include the Product ID of the product page the visitor has visited.
Perfect Audience provide a number of ecommerce platform examples, for instance:
Shopify: _pa.productId="{{product.id}}";
3DCart: _pa.productId="[catalogid]";
Volusion: _pa.productId=$(ProductId);
Prestashop: _pa.productId="{$product->id|intval}";
BigCommerce*: _pa.productId="%%GLOBAL_ProductId%%";
But they do not include a Magento example and even looking at the page source of our product pages, I'm having trouble knowing what the product id convention is for Magento that I can use in this instance. Any help would be appreciated!