Advertorials

Tracking

For the advertorial to track events, the customer should add the following script to the site: <script async src="https://pixel.wetracked.io/{{shop.permanent_domain}}/events.js"></script> Let’s say the customer’s Shopify domain is: example.myshopify.com, the previous script would be: <script async src="https://pixel.wetracked.io/example.myshopify.com/events.js"></script>

Track Add To Cart

Let’s say we would have 3 options on our advertorial that would route the user straight to the checkout page. Use the cart permalink script for this: <script async src="https://pixel.wetracked.io/cart-permalinks.js"></script> Note that this script checks for links on the page that go to a url with cart in it. This is available because the customer should use Shopify’s Cart Permalinks. Make sure that is the case for the customer, otherwise this script will not work. You can check by hovering over the button, the link should look like this: https://my-shop-name.myshopify.com/cart/36485954240671:1 More info on Shopify’s Cart Permalinks: https://help.shopify.com/en/manual/products/details/cart-permalink

Track Initiate Checkout

In some cases, customers don’t receive Initiate Checkout events. This can happen because an advertorial does not send along the required parameters to the Checkout Page for us to make that conversion. Let’s take the same example as above. The customer will be routed to the checkout on click on one of the buttons, but the data will be lost, because the customer uses hard links. In this case our Passthrough script can help, appending all links on the website with the attributes we require.

<script async src="https://pixel.wetracked.io/ppt.js"></script>;