• Resolved tallmale

    (@tallmale)


    Hi everyone,

    I am trying to configure Sendinblue for Abandoned Checkouts on our website. I have installed and activated both Sendinblue plugins but I have now been told that I have to add some code to the website in order to capture Abandoned Checkout users information including their email addresses for website visitors who have not logged in.

    The Sendinblue support have written this:

    “Removing the “//” in front of the identify request will activate the identify request within the tracker, allowing the email to be associated with a tracking cookie after the email has been entered in the cart/checkout details. If the contact did not enter their email address at all and abandoned their cart, there is no way to track the contact in that case. The email would need to have been passed on your website, either within the cart/checkout or through a form or log in.

    For the email in the code, this would need to be replaced with whichever variable is used to store the email on your website. So, if your customer emails are stored within customer_email on your website, then this would need to be entered where the example shows “[email protected]”.

    This allows the tracker to associate the window.sib.email_id with the variable on your website that stores your customer emails which then allows tracking to occur without a login.”

    Does anyone know what the Variable would be which is used to store the emails on my website? And where I can find this information?

    Any help would be gratefully received.

    Many thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Ibrahim Nasir

    (@ibrahimkh4l33l)

    Hello @tallmale

    What plugin are you using for the Abandoned checkouts?

    Please share the code you received from Sendinblue support as well as a procedure for me to recreate this on my test site.

    Regards

    Thread Starter tallmale

    (@tallmale)

    Hi Ibrahim I am using two Sendinblue plugins that the company recommends but I think that normally the user will have to login to the website to make a purchase and this is where the email addresses are usually captured. With our website you can purchase products without logging into an account. So I believe this is why Sendinblue are suggesting we use this code to track users who have abandoned their checkouts/carts.

    They sent me this email alongside the code with instructions of how to replace specific items in the code before we can add it to our website:

    Here is Sendinblue support and guide:

    Removing the “//” in front of the identify request will activate the identify request within the tracker, allowing the email to be associated with a tracking cookie after the email has been entered in the cart/checkout details. If the contact did not enter their email address at all and abandoned their cart, there is no way to track the contact in that case. The email would need to have been passed on your website, either within the cart/checkout or through a form or log in.

    For the email in the code, this would need to be replaced with whichever variable is used to store the email on your website. So, if your customer emails are stored within customer_email on your website, then this would need to be entered where the example shows “[email protected]”.

    This allows the tracker to associate the window.sib.email_id with the variable on your website that stores your customer emails which then allows tracking to occur without a login.

    I hope this is helpful! If you have any further questions, please let me know.

    This is the trackin code from Sendinblue:

    <script type="text/javascript"> (function() { window.sib = { equeue: [], client_key: "bij8f2a29nwl5cjwr912elyx" }; /* OPTIONAL: email for identify request*/// window.sib.email_id = '[email protected]'; window.sendinblue = {}; for (var j = ['track', 'identify', 'trackLink', 'page'], i = 0; i < j.length; i++) { (function(k) { window.sendinblue[k] = function() { var arg = Array.prototype.slice.call(arguments); (window.sib[k] || function() { var t = {}; t[k] = arg; window.sib.equeue.push(t); })(arg[0], arg[1], arg[2], arg[3]); }; })(j[i]); } var n = document.createElement("script"), i = document.getElementsByTagName("script")[0]; n.type = "text/javascript", n.id = "sendinblue-js", n.async = !0, n.src = "https://sibautomation.com/sa.js?key=" + window.sib.client_key, i.parentNode.insertBefore(n, i), window.sendinblue.page(); })(); </script>
    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Lead developer here. Unfortunately, the on-site tracking you seek can’t be done with our plugin. Sorry!

    Thread Starter tallmale

    (@tallmale)

    Hi Collins I was told that it can be done by Sendinblue support but I have to add some code as I explained above. Here is the code on the Sendinblue website and we have to edit as I have explained below.

    https://automation.sendinblue.com/parameters

    Sendinblue support wrote this:

    Here is Sendinblue support and guide:

    Removing the “//” in front of the identify request will activate the identify request within the tracker, allowing the email to be associated with a tracking cookie after the email has been entered in the cart/checkout details. If the contact did not enter their email address at all and abandoned their cart, there is no way to track the contact in that case. The email would need to have been passed on your website, either within the cart/checkout or through a form or log in.

    For the email in the code, this would need to be replaced with whichever variable is used to store the email on your website. So, if your customer emails are stored within customer_email on your website, then this would need to be entered where the example shows “[email protected]”.

    This allows the tracker to associate the window.sib.email_id with the variable on your website that stores your customer emails which then allows tracking to occur without a login.

    But where can I find the “Variable which is used to store the email on our website? So if the customer emails are stored within customer_email on your website then this would need to be entered where the example shows “[email protected]”.

    Can you help me find this email variable please?

    Plugin Author Collins Agbonghama

    (@collizo4sky)

    You will need to hire a developer to help you with this as this is above what our plugin can provide and support.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help with Sendinblue Code for Abandoned Checkouts’ is closed to new replies.