![]() |
Let Us Know: We do our best to keep our 3rd party installation instructions up to date and accurate, but sometimes platforms change their site layouts/functionality and our instructions become outdated. If you feel the instructions we provide for your platform are inaccurate, please let us know and we'll make sure to review! |
If you use Volusion to host your online store, you'll need to correctly install the Lead Gen & CRM Ads site tracking tag before you can use Lead Gen & CRM Ads.
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 Lead Gen & CRM Ads (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 > 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 click Save.
Setup Your Conversion Goal
In Lead Gen & CRM Ads, 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 ads@constantcontact.com.