Installing Tracking Tag in BigCommerce

If you use BigCommerce to host your online store, you'll need to correctly install the Perfect Audience site tracking tag and conversion code into your BigCommerce Settings.

1. Installing the Tag

In your "Manage" menu 
click User Tracking.

This will pull up a page with a javascript tag that looks like this. Copy this code.



Switch to your BigComerce dashboard.
Click Design.

Click Edit HTML/CSS.

In the window labeled "Files used by this template:" scroll down and select Footer.html.

Scroll to the bottom of the code.
Paste the site tracking tag at the bottom of this page.

In the upper left corner, press Save.  

Additional Tracking (Optional)


Dynamic Retargeting:

If you plan to use dynamic ads with your BigCommerce store, you'll need to modify the line of code beginning with "_pa.productId" in the site tracking tag. Remove the // in this line and modify it to look like this:


_pa.productId = "%%GLOBAL_ProductId%%";

Note: If you are using Dynamic Retargeting with BigCommerce, our tracking tag needs to be installed within the Snippet file "ProductAddtoCart.html" - or it needs to appear after that snippet has been called.

Revenue Tracking:
If you wish to track both sales amounts and order IDs with your conversion goal, modify the tracking these two lines in the tag as such:

_pa.revenue = %%ORDER_SUBTOTAL%%;
_pa.orderId = "%%ORDER_ID%%";

Wait for the e-mail!
 Now that your tag is on your BigCommerce store, you will receive an e-mail when our system starts seeing data. You can also check back to the Site Tracking Tag page to see if data is being recived. This usually takes an hour or two. If you don't get an e-mail or see data on your tag page or Audiences page, double check that you've placed the tag in your web site code and pushed that code live. It can be easy to forget a simple step in there along the way.

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

Feedback and Knowledge Base