EZContacts.com Installation Guide
(First 30 days)

1. Install Social Analytics code

Copy and paste into the global footer template:

<script type="text/javascript">
var js = document.createElement('script'); js.type = 'text/javascript'; js.async = true; js.id = 'AddShoppers';
js.src = ('https:' == document.location.protocol ? 'https://shop.pe/widget/' : 'http://cdn.shop.pe/widget/') + 'widget_async.js#54f72443a3876479543d0422';
document.getElementsByTagName("head")[0].appendChild(js);
</script>
                

2. Install ROI Tracking code

Copy and paste the following code into your checkout success page. Make sure to replace <order id> and <order value> with the actual variables provided by your eCommerce platform.

<script type="text/javascript">
AddShoppersConversion = {
        order_id: <order id>,
        value: <order value>
};
var js = document.createElement('script'); js.type = 'text/javascript'; js.async = true; js.id = 'AddShoppers';
js.src = ('https:' == document.location.protocol ? 'https://shop.pe/widget/' : 'http://cdn.shop.pe/widget/') + 'widget_async.js#54f72443a3876479543d0422';
document.getElementsByTagName("head")[0].appendChild(js);
</script>
                

3. Add sharing buttons

Floating buttons: After Social Analytics is installed, your floating buttons will be deployed directly through your AddShoppers dashboard. Please use this link for an example: http://screencast.com/t/R26k5PPjeq 

Inline buttons: Copy and paste this code where you want the sharing buttons to show up in your product page template:

<div class="share-buttons share-buttons-panel" data-style="medium" data-counter="false" data-oauth="true" data-hover="false" data-promo-callout="left" data-buttons="twitter,facebook,google,email,pinterest"></div>

4. Purchase Sharing

Copy and paste this code on your checkout success page - usually below the ROI Tracking code.

<script type="text/javascript">
AddShoppersTracking = {
    auto: true,
    header: "Thanks for your order! Now, tell your friends!",
    image: "http://www.ezcontactsusa.com/images/header_images/logo.png",
    url: "http://www.ezcontactsusa.com/",
    name: "Thousands of Top Brand Eyewear products at Best Prices!",
    description: "At EZContacts.com you will find the best Contact Lenses, Designer Eyeglasses Frames & Prescription Sunglasses from all major brand name in eye wear at the best prices combined with the easiest shopping experience."
};
</script>

5. Add Product Schema tags

Tag your product pages with Product Schema code.