× Exclamation Point Icon Important: As we continue to evolve and improve our offerings, we have decided to retire the SharpSpring Ads (formerly Perfect Audience) platform on August 15, 2024. Click here to learn more.

Wix Setup

If you use Wix to host your online store, you'll need to correctly install the SharpSpring Ads site tracking tag before you can use SharpSpring Ads.

From your Dashboard, click Manage-> User Tracking. 

This will pull up a page with a javascript tag that looks like this:

Login to your Wix store. Click Settings, then Advanced.

  1. Go to Settings in your site's dashboard.

  2. Click the Custom Code tab under Advanced Settings.

  3. Click + Add Custom Code at the top right.

  4. Paste the code snippet in the text box. 

  5. Enter a name for your code.

  6. Tip: Give it a name that is easy to recognize so you can quickly identify it later. 

  7. Select an option under Add Code to Pages:

  8. All pages: This adds the code to all of your site's pages, including any new pages that you'll create in the future. Choose whether to load the code only once per visit or on each page your visitor opens.

  9. Choose specific pages: Use the drop-down menu to select the relevant pages.

  10. Place your code anywhere before the closing </head> tag.

  11. Click Apply.




After you paste the code, click “+ Add Custom Code” at the top right. 


Setup Your Conversion Goal

Now you will need to go to ‘Edit Site’ and turn on ‘Dev Mode’

Go to your pages and choose page code > my orders 

Paste the following code in the Order Confirmation Page box:

<script type="text/javascript">

window._pq = window._pq || [];

_pq.push(['track', 'PurchasedItem', {orderId: "{orderId}", revenue: ({orderSubtotal}])</script>

Optional - You can replace the orderSubtotal variable with one if the following alternate methods of calculating the order total:

{orderSubtotal}: The subtotal of the confirmed order

{orderSubtotalCents}: The subtotal of the confirmed order, in cents

{orderGrandTotal}: The grand total of the confirmed order

{orderGrandTotalCents}: The grand total of the confirmed order, in cents

Scroll to the top of the page and Save. Back in SharpSpring Ads, click Manage-> Create Conversion. Use the following settings:

Then save the conversion goal. 

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@sharpspring.com.