Volusion

If you use Volusion to host your online store, you'll need to correctly install the Perfect Audience site tracking tag before you can use Perfect Audience.

From your Dashboard, click Manage-> User Tracking. 

This will pull up a page with a javascript tag. Look in the upper right corner of the screen for your Advertiser ID. Your Advertiser ID will be different than the one pictured here. Note this ID.

The following code can be pasted into your Volusion store's theme and will automatically setup product tracking for dynamic ads and conversion goal revenue and order ID tracking. You will also need to setup a conversion goal within Perfect Audience (see below).

Replace the three instances of AdvertiserID in the code with your ID from your account.

<script type="text/javascript"> 
if (location.pathname == "/ProductDetails.asp" || 
location.pathname.indexOf("-p/") != -1 || 
location.pathname.indexOf("_p/") != -1) {
  (function() {
    window._pa = window._pa || {};
    _pa.productId = global_Current_ProductCode; // OPTIONAL: Include product ID for use with dynamic ads
    var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
    pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.marinsm.com/serve/AdvertiserId.js";
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
  })(); }

else if (location.pathname == "/OrderFinished.asp") {
  (function() {
    window._pa = window._pa || {};
_pa.orderId=Order[0];
_pa.revenue=Order[2] - Order[4] - Order[5];
    var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
    pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.marinsm.com/serve/AdvertiserId.js";
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
  })(); }

else {
  (function() {
    window._pa = window._pa || {};
    var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
    pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.marinsm.com/serve/AdvertiserId.js";
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
  })(); }
</script> 

Switch to your Volusion dashboard. Click Design, then File Editor.



Select your html template from the Shortcuts menu on the right side of the page or the dropdown menu on the left.  (Your file names may be different.)



Scroll to the bottom of the code. Paste the code just above the </body> tag.

Scroll to the top of the page and press Save. 

Setup Your Conversion Goal

In Perfect Audience, go to Manage-> Create Conversion. Create a conversion goal with these settings:

Click Create Conversion Goal. You're done!

Once the tag is installed, it will take our system 6-8 hours to update and start displaying your audience data, so don't worry if you don't see any activity right away!

If you have any problems, email support@perfectaudience.com.