Back to candypixel.js

SalesCandy Git archive

candypixel.js

Contains the browser JavaScript embedded on customer sites to capture leads.

README

This repository contains the JavaScript library embedded on customer websites to capture lead information.

It processes form submissions and tracks various user interactions for marketing and analytics purposes.

Selected files and folders

  • package.json
  • readme.md
  • src
  • webpack.config.js

Reconstructed issues

Summaries inferred from the archive. Original issue records are unavailable here.

Race condition on submission and tracking

Previously, a race condition could occur when a submission was queued for release concurrently with the processing of campaign trackers. This could lead to inconsistent data capture.

c433a4660447

Broken 'click' form submission config

The configuration option for handling 'click' form submissions was found to be broken, preventing accurate recording of these specific user interactions.

a92f4b6fc7d3

Null field sending bug

The system was incorrectly sending fields that had null values. This caused issues because the backend expected undefined values, leading to bugs.

557e28d5f1da

Selected commits

  1. Improved documentation

    Reza Rosli ·

    273df6ee5d475adad1af429f95da826dd8669369

  2. Fix race conditions when sending a pending submission and the campaign trackers haven't been properly processed

    Reza Rosli ·

    c433a466044725449eb67c0f2d26277ceca1b8e3

  3. fix typo in readme

    Reza Rosli ·

    81a1dd497fb37e88e9c652e408b28ab826d44b2d

  4. Test a customer customisation and adjust custom trigger handling

    Reza Rosli ·

    f9f23b7656eeda647a45410b5b9e9aa8969d8387

  5. Fix broken 'click' form submission config option

    Reza Rosli ·

    a92f4b6fc7d3d564780b00d682335568e283e15b

  6. Change error message

    Reza Rosli ·

    4e55216b49bdbc3d6d09eac3fdf2f3b1418c57aa

  7. Change caught error messages to warnings, because they don't stop executions

    Reza Rosli ·

    c6428af68e70136afe1f2bd60d7b298faa4f37c2

  8. WIP documentation

    Reza Rosli ·

    c1a0afb3820a89574b4783811c49f18b06574b53

  9. Add a feature flag for enabling/disabling event propagation when processing form submissions

    Reza Rosli ·

    43d8b8cbb9f2978abc00f8d280b2f0acc59dd69b

  10. Add a test for a customer campaign customisation

    Reza Rosli ·

    9c5f802d190a29848796b30ce9b5ae11c6bb1557

  11. Make false default

    Reza Rosli ·

    045814b1c60f0db37df5deab3d6cd155399f666b

  12. Update to v3.7.1, avoid conflict with older CandyPixel

    Reza Rosli ·

    44fb11167703c58ae353be6705b6cba45487feb9

  13. Add try catch block to handle error thrown if token is empty

    Reza Rosli ·

    dbfa5e215c2b0a4b19aacb345cd4bb72cb38d961

  14. Don't send fields that are null, because backend checks for undefined, and it causes a bug

    Reza Rosli ·

    557e28d5f1da8e49874d73b7b42f3ebc3ca147c4

  15. Archived revision

    Reza Rosli ·

    3dcb9297cd1537510e9a080e263a0cfe75d7d3f7

  16. Bugfix, premature break causing only one checkbox item being recorded

    Reza Rosli ·

    a0ee06fe8b66f4a928ba410144831c46013d24fd

  17. Feature/rewrite candypixel

    Reza Rosli ·

    98f13850d12b04ce4c7c0e90e3ea15e8e3439b57

  18. Build v3.6.11

    Reza Rosli ·

    7560680e3524d1b072cc5a733e65a85c2f28ef36

  19. Merge branch 'feature/rewrite-candypixel' into 'master'

    Reza Rosli ·

    6d09a505cc443008f0b92eb2ae026578461f49f8

  20. Upgrade script to handle candycrumbs trackers

    Ele ·

    665b6d93b29c6108cf5b36ff6333215bcfdcd071

  21. Changes for IE compatible

    Ele ·

    d114addc5593caba63b0679050c511102858b036

  22. Add retry submit

    Faiz Halim ·

    f16dfb7d2e6546b59f02409558533ff54fa33aaf

  23. Remove JQuery Dependencies and use webpack

    Faiz Halim ·

    9f1eac92b90610ea78eaff156950475e8f839903

  24. Ignore file

    Ele Elyiana ·

    a7e51a5d17bb110297eb06fa7022a0d34e855c83

  25. Add 5 try submission when submission failed.

    Ele Elyiana ·

    e56164b262338031f20153cc9b375c272ae250c9

  26. update

    Ele Elyiana ·

    30f1101033af43d3bd13ee8e08720a36ae9f86bf

  27. CandyPixel.js

    Ele Elyiana ·

    9adbd1b6fc41bcb15ad8a5785c37d53daa5ecb80