Tracking
Tracking
Analytics :
Buying journey:
{type: 'pageview', url: '/page-profile.html'} => I saw the profiles page
{type : 'pageview', url: '/page-formulas.html'} => I have seen the formulas page
{type : 'pageview', url: '/page-my-account.html'} => I saw step 1 (account creation)
{type : 'pageview', url: '/page-choice-profile.html'} => I have seen step 2 (profile choice)
{type : 'pageview', url: '/page-delivery.html'} => I have seen step 3 (delivery choice)
{type : 'pageview', url: '/page-transport.html'} => I have seen step 4 (choose transport)
{type : 'pageview', url: '/page-payment-means.html'} => From the order summary, I saw the block to add a credit card
{type: 'pageview', url: '/page-add-cart.html'} => I clicked on the validation of the carrier, my cart is composed, and I go to the summary (confirm the addition to the cart)
{type : 'pageview', url: '/page-gift-cards.html'} => I have seen the different gift cards to offer
{type: 'pageview', url: '/page-user-login.html'} => a user who already had an account has logged in
{type : 'pageview', url: '/user-register.html'} => a new user has created an account
{type: 'pageview', url: '/order-confirmation.html'} => the order is validated
{type: 'action', name: 'click-selection' + item.name} => clicked on item.name to select it (formula, gift card)
{type: 'action', name: 'inscription-newsletter.html'} => registered to the newsletter via the form in the footer
{type: 'action', name: 'add-payment-means-valid.html'} => added a (valid) payment method
Conversion :
Conversions are brought up through E-commerce Analytics, along with cart contents, transaction amount.
gtag('event', 'purchase', {****});
Unsubscribe :
{type: 'action', name: 'page-desabo-choice-pause'} => choose a break type: 'action', name: 'page-desabo-refuse-pause'} => refuse the break {type: 'action', name: 'page-desabo-cancellation-confirmed'} => validated the cancellation of his subscription
{type: 'action', name: 'page-desabo-valid-reasons-choice-pause-or-cancel'} => the user has completed the reasons for unsubscribing. He has seen the page where he is offered a pause, or a cancellation of the subscription.
{type: 'action', name: 'page-desabo-pause-x-months-validated'} => the user has chosen the number of months, and validated his pause
{type: 'action', name: 'page-desabo-accept-reduction'} => accept the discount coupon {type: 'action', name: 'page-desabo-refuse-reduction'} => refuse the discount coupon
Adwords :
Once the tag is activated, your conversions will automatically go up via :
window.google_trackConversion({***})
Affilae :
Once the tag is activated, your conversions will automatically go back to :
<!-- Affilae Tag -->
<script type="text/javascript">
var _ae = {
/* PROGRAM_ID must be changed */
'pid': 'PROGRAM_ID'
};
(function () {
var element = document.createElement('script'); element.type = 'text/javascript'; element.async = true;
element.src = '//static.affilae.com/ae-v3.5.js';
var scr = document.getElementsByTagName('script')[0]; scr.parentNode.insertBefore(element, scr);
})();
</script>
Facebook :
fbq('track', 'CompleteRegistration') => when a user creates an account
fbq('track', 'AddToCart', { content\_name: item.name }) => when an action of type "add to cart" is launched
Conversion :
Conversions are automatically reported to facebook ads via :
fbq('track', 'Purchase', {***})
Taboola:
{ notify: 'event', name: 'add\_to\_cart'} => when a "click-selection" action is launched
Conversion :
Conversions are automatically reported to Taboola via :
{ notify: 'event', name: 'make\_purchase', id: \\*}
Outbrain :
{ 'track', 'Cart'} => when a "click-select" action is launched
Conversion:
Conversions are automatically reported to Outbrain via:
obApi('track', 'Sale')
Updated on: 24/01/2023
Thank you!