Part 1: Add Your Social Analytics Tag

1. Add a new tag, then choose "Custom HTML Tag" for the Tag Type.

2. Paste your Social Analytics code in the HTML text box.



3. Set the rule for this tag to "All Pages".



4. Save your tag.

Part 2: Add Your ROI Tracking Tag

1. Create a new tag for AddShoppers ROI Tracking:



2. Replace <order id> with #{{transactionId}} (transactionid would be the name of the variable you have setup for this in GTM ex: #{{YOURVARIABLE}} ) and <order value> with #{{transactionTotal}} (transactionTotal would be the name of the variable you have setup for this in GTM ex: #{{YOURVARIABLE}} ). Tag code should look similar to the following:

<script type="text/javascript">
AddShoppersConversion = {
order_id: #{{transactionId}},
value: #{{transactionTotal}}
};
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#111111111111111111111';
document.getElementsByTagName("head")[0].appendChild(js);
</script>

3. Add a rule that will cause this tag to fire on the checkout page only.

4. Save your tag and publish.

Make sure you save your tags, create a new version that includes these tags, and publish it to go live!

Did this answer your question?